Date: Thu, 7 Jul 2005 09:49:22 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Rob B <rbyrnes@mailshack.com> Cc: Erik =?iso-8859-1?Q?N=F8rgaard?= <norgaard@locolomo.org>, current@freebsd.org Subject: Re: dhclient.conf for ath wireless Message-ID: <20050707164922.GA15353@odin.ac.hmc.edu> In-Reply-To: <6.2.1.2.2.20050705220015.029fa770@mail.nerdshack.com> References: <42CA4263.9080409@locolomo.org> <6.2.1.2.2.20050705220015.029fa770@mail.nerdshack.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--jRHKVT23PllUwdXP Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 05, 2005 at 10:09:22PM +1000, Rob B wrote: > At 06:18 PM 5/07/2005, Erik N=F8rgaard wrote: > >I am running -CURRENT with the new port of dhclient from OpenBSD. The=20 > >problem is that dhclient most often associante with my neighbours AP=20 > >instead of mine. > > > >The man-pages mentions the "media" statement and according to the exampl= es=20 > >I can find in google I should add an entry like this: > > > >interface "ath0" { > > media "ssid MYAP mode 11g"; > >} > > > >in dhclient.conf. But on boot, dhclient enters into an infinite loop=20 > >bringing up and down the interface, until I break it. I have to manually= =20 > >run "ifconfig ath0 ssid MYAP mode 11g" and then start dhclient manually = to=20 > >force it to associate correctly with MYAP. >=20 > Have you tried putting the appropriate ifconfig command line into=20 > /etc/start_if.ath0. That works for me. The correct method is to just add: ifconfig_ath0=3D"ssid MYAP mode 11g DHCP" to /etc/rc.conf. With exception of devices that load firmware, you probably do not need /etc/start_if.* these days. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCzV0SXY6L6fI4GtQRAuymAKCHo3yzgwESeDBDCF4wfhyY+qPDRgCfYj/j mSHakegLPb5aqU687sEPbu8= =TCOQ -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050707164922.GA15353>