Date: Sun, 1 May 2005 18:22:40 +0000 From: ckleski@mbc.edu To: freebsd-questions@freebsd.org Subject: Re: DHCP using ifconfig doesn't work ... Message-ID: <200505011822.40221.ckleski@mbc.edu> 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
You can make a file /etc/start_if.wi0 which has the line ifconfig ssid GISH mode auto wepmode on wepkey 0x1234567890 Keep ifconfig_wi0="DHCP" in /etc/rc.conf. That should do it. On Sunday 01 May 2005 07:35 pm, 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505011822.40221.ckleski>