NICs devices switches "pshycial" place on each boot

Warren Block wblock at wonkity.com
Wed Dec 3 23:03:15 UTC 2014


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.


More information about the freebsd-net mailing list