Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 May 2005 21:57:48 +0200
From:      Tobias Fendin <tobias.fendin@telia.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: DHCP using ifconfig doesn't work ...
Message-ID:  <427534BC.5070203@telia.com>
In-Reply-To: <1114976100.1134.7.camel@localhost>
References:  <1114976100.1134.7.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?427534BC.5070203>