Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2005 21:33:06 +0200
From:      "Kiffin Gish" <kiffin@gish.demon.nl>
To:        <ckleski@mbc.edu>, <freebsd-questions@freebsd.org>
Subject:   RE: DHCP using ifconfig doesn't work ...
Message-ID:  <000e01c54f4d$c4007e90$2301a8c0@ZGISH>
In-Reply-To: <200505011822.40221.ckleski@mbc.edu>

index | next in thread | previous in thread | raw e-mail

Thanks, that did the trick.

However, should be:

ifconfig _wi0_ ssid GISH ...

 
-- 
Kiffin Rex Gish
Gouda, The Netherlands

 


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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01c54f4d$c4007e90$2301a8c0>