Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2014 16:03:12 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Martin Hanson <greencoppermine@yandex.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: NICs devices switches "pshycial" place on each boot
Message-ID:  <alpine.BSF.2.11.1412031601220.13301@wonkity.com>
In-Reply-To: <212351417642134@web20h.yandex.ru>
References:  <1511041417624247@web23g.yandex.ru> <alpine.BSF.2.11.1412031024340.32996@wonkity.com> <212351417642134@web20h.yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 Dec 2014, Martin Hanson wrote:

> I have tried setting this up in /usr/local/etc/devd/devd.conf and used "devd -d" to re-read rules.
>
> attach 100 {
>        device-name "ue0";
>        match "vendor" "0x0b95";
>        match "product" "0x1790";
>        match "sernum" "0000249b0de00c";
>        action "ifconfig $device-name inet 192.168.1.1 netmask 255.255.255.0";
> }
>
> I have also tried with a notify and changing the value to 0, but the device doesn't get the IP set when plugged in.

It might need a delay before the device is ready.  Running devd in the 
foreground like that will show all the detected events.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1412031601220.13301>