___ __ __ __ / _ \__ _____ _/ /______ ___ / /__ _____ ____/ /__ / // / // / _ `/ /___/ _ \/ -_) __/ |/|/ / _ \/ __/ '_/ /____/\_,_/\_,_/_/ /_//_/\__/\__/|__,__/\___/_/ /_/\_\ ___ __ / _ \___ ____ ___ / / ___ __________ __ / , _/ _ `(_-') # main ethernet new_name=isp ;; '') # usb ethernet new_name=lan ;; esac if [ -n "$new_name" ]; then log "rename $dev -> $new_name" ifconfig "$dev" name "$new_name" else log "keep name $dev" fi 3. The configurations: # grep ifconfig /etc/rc.conf ifconfig_isp="DHCP" ifconfig_lan="inet 192.168.1.254 netmask 255.255.255.0" THINGS I LEARNED WHILE TESTING THE NET SETUP To see devd in action, the interface must be re-dected... This is the first attempt at it (failed): 1. get device name with devinfo 2. detach device (Danger: cuts the network, don't brick it!) # devctl detach muge0 3. re-attach device: all failed # devctl reattach muge0 # devctl rescan muge0 # devctl ... Second attempt (success): Sine the device is under usb, force the whole USB bus to be rescanned. Danger: this will cut the network Tip: always working under a screen(1) or tmux(1) makes things much easier! # usbconfig reset SEE ALSO devctl(4) devd.conf(5) devd(8) devinfo(8)