From owner-freebsd-questions@FreeBSD.ORG Mon May 2 19:33:07 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5FF016A4D8 for ; Mon, 2 May 2005 19:33:07 +0000 (GMT) Received: from post-22.mail.nl.demon.net (post-22.mail.nl.demon.net [194.159.73.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BB9E43D68 for ; Mon, 2 May 2005 19:33:07 +0000 (GMT) (envelope-from kiffin@gish.demon.nl) Received: from gish.demon.nl ([83.160.27.223]:13957 helo=ZGISH) by post-22.mail.nl.demon.net with esmtp (Exim 4.43) id 1DSgfB-0005Z4-Tz; Mon, 02 May 2005 19:33:06 +0000 From: "Kiffin Gish" To: , Date: Mon, 2 May 2005 21:33:06 +0200 Message-ID: <000e01c54f4d$c4007e90$2301a8c0@ZGISH> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 In-Reply-To: <200505011822.40221.ckleski@mbc.edu> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: RE: DHCP using ifconfig doesn't work ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2005 19:33:07 -0000 Thanks, that did the trick. However, should be: ifconfig _wi0_ ssid GISH ... =20 --=20 Kiffin Rex Gish Gouda, The Netherlands =20 > -----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 ... >=20 > You can make a file /etc/start_if.wi0 which has the line >=20 > ifconfig ssid GISH mode auto wepmode on wepkey 0x1234567890 >=20 > Keep ifconfig_wi0=3D"DHCP" in /etc/rc.conf. That should do it. >=20 >=20 >=20 >=20 > 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=3D"DHCP" > > ifconfig_wi0=3D"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. >=20 > _______________________________________________ > 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"