I managed to get this working. It is a dirty hack and I REALLY wish FreeBSD would make documentation as high a priority as the guys at OpenBSD.
It is difficult to locate correct and updated documentation, especially about devd. Yes, the man page has information about devd, and devd.conf even come with examples, but those examples are too sparsome to be of any real use when things get just a little bit complicated. It is extremely frustration to spend hour of hours of wasted time getting something to work, not because it doesn't work, but simply because you're "throwing stones in the dark" in the hopes of hitting the right target - because the correct and comprehensive documentation is lacking. A quality product HAS to have correct, updated and comprehensive documentation. This is one point that really makes the OpenBSD guys stand out deserving laud applause. Now, the driver on OpenBSD didn't work, so I had to use FreeBSD because that driver works, otherwise I would never had ventured into this incredible time consuming task. Warren Block, thank you a billion times for helping me with correct and relevant information! This is what I did to make it work. Like I said, it is a hack, but hey it works. attach 100 { device-name "axge[0-9]+"; match "vendor" "0x0b95"; match "product" "0x1790"; match "sernum" "0000249B0DE00C"; # We need to wait a little for the interface to get up. action "sleep 3"; # We don't know what number the interface has been assigned, but we know it is from axgeX, # so we get the X, use it in "ueX" and then rename the interface which is then bound to the # serialnumber, so the correct card will always get the right interface, ie. our own, not ueX. action "ifconfig ue`echo $device-name | tr -dc '[0-9]'` name olan"; action "ifconfig olan inet 192.168.1.1 netmask 255.255.255.0"; }; I hope someone else might find this useful or perhaps even provide a cleaner approach. Kind regards. _______________________________________________ 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"