DHCP using ifconfig doesn't work ...

Tobias Fendin tobias.fendin at telia.com
Sun May 1 12:57:50 PDT 2005


Kiffin Gish wrote:

>I want to use DHCP for my wireless connection by placing the following
>lines in my /etc/rc.conf file:
>
>ifconfig_wi0="DHCP"
>ifconfig_wi0="ssid GISH mode auto wepmode on wepkey 0x1234567890"
>
>I have also tried running sysinstall again and reconfiguring my wireless
>connection by answering 'yes' to DHCP.
>
>However, these do not work for some weird reason. When I login as root
>and run 'dhclient wi0' then all is a-okay.
>
>How can I have this happen automatically during boot without having
>manually to run this command as root everytime?
>
>Thanks alot in advance as usual.
>  
>
If you do like that, first ifconfig_wi0 will be set to "DHCP", then it
will be overwritten and set to "ssid GISH mode auto wepmode on wepkey
0x1234567890". You should only have one line with ifconfig_wi0.

//Tobias



More information about the freebsd-questions mailing list