Automatic Network Settings at New Location

Steve Bertrand steve at ibctech.ca
Tue Jan 19 23:05:07 UTC 2010


Steve Bertrand wrote:
> Diego Montalvo wrote:
>> I am temporarily at a different location for the next day or so, and
>> need to connect to the internet via FreeBSD. My initial Network
>> settings where detected during setup using DCHP.  How do can I have
>> FreeBSD automatically detect the new network settings via DCHP?
> 
> # dhclient

Whoops! I think I misread that. How about setting:

ifconfig_em0="DHCP"

...in rc.conf, where em0 is your NIC?

Steve


More information about the freebsd-questions mailing list