cvs commit: src/etc network.subr

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Wed Jul 9 14:45:08 UTC 2008


On Mon, 7 Jul 2008, Brooks Davis wrote:

Hi,

>>>  Modified files:
>>>    etc                  network.subr
>>>  Log:
>>>  Emit a warning when the network_interfaces variable is not set to AUTO.
>>
>> why do we have this warning and why do we no longer want to support
>> anything but auto?
>
> Because network_interfaces provides no useful functionality and needless
> added complexity.  If you want an interface to be configured, set an
> ifconfig_<foo> variable and make sure the interface exists by the time
> rc.d/netif is run (by configuring your kernel or /boot/loader.conf
> correctly) or add it to the appropriate wlans_<bar>, gif_interfaces,
> cloned_interfaces, etc list.  If you don't want it configured make sure
> there isn't a ifconfig_<foo> variable set.

Assume you have a wlan interface and a wired one. By default one or
none comes up and you do sh /etc/rc.d/netif {start,stop} iface (,etc.)
to switch between or enabling the second one without having all other
different kinds of problems and things to manually configure. You can
still have both fully configured in rc.conf just not automatically
enabled.
I really like this for wireless when I am travelling for example.

-- 
Bjoern A. Zeeb              Stop bit received. Insert coin for new game.


More information about the cvs-src mailing list