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.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to