Date: Tue, 05 Jul 2005 22:09:22 +1000 From: Rob B <rbyrnes@mailshack.com> To: Erik =?iso-8859-1?Q?N=F8rgaard?= <norgaard@locolomo.org>, current@FreeBSD.org Subject: Re: dhclient.conf for ath wireless Message-ID: <6.2.1.2.2.20050705220015.029fa770@mail.nerdshack.com> In-Reply-To: <42CA4263.9080409@locolomo.org> References: <42CA4263.9080409@locolomo.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 examples= =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. Have you tried putting the appropriate ifconfig command line into=20 /etc/start_if.ath0. That works for me. cheers, Rob --=20 I just do what the voices inside my head tell me to do. This is random quote 613 of 1268.=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.1.2.2.20050705220015.029fa770>