On Tuesday 19 November 2002 05:20, Rich Morin wrote: > network_interfaces=SINGLE > ifconfig_single=" inet 192.168.254.193 netmask 255.255.255.0" > ifconfig_single_alias0="inet 192.168.254.199 netmask 255.255.255.255"
OK, perhaps this can be made even simpler. Put this into your /etc/rc.conf and be done: # a hack to ease the configuration of machines with only one NIC _single=`ifconfig -l link` eval ifconfig_${_single}="inet 192.168.254.193 netmask 255.255.255.0" eval ifconfig_${_single}_alias0="inet 192.168.254.199 netmask 255.255.255.0" Maybe a bit ugly, though. ;-) In case there's more than one interface you'll get "ifconfig_xxN not found", where xxN is your first link, so it should be "safe". René To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message