DHCP using ifconfig doesn't work ...

Kiffin Gish kiffin at gish.demon.nl
Mon May 2 12:33:07 PDT 2005


Thanks, that did the trick.

However, should be:

ifconfig _wi0_ ssid GISH ...

 
-- 
Kiffin Rex Gish
Gouda, The Netherlands

 


> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org [mailto:owner-freebsd-
> questions at freebsd.org] On Behalf Of ckleski at mbc.edu
> Sent: Sunday, May 01, 2005 19:23
> To: freebsd-questions at freebsd.org
> Subject: Re: DHCP using ifconfig doesn't work ...
> 
> 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.
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list