From owner-freebsd-current@FreeBSD.ORG Thu Jul 7 13:33:01 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97C3B16A41C for ; Thu, 7 Jul 2005 13:33:01 +0000 (GMT) (envelope-from rbyrnes@mailshack.com) Received: from karen.nerdshack.com (karen.nerdshack.com [209.189.235.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6023143D48 for ; Thu, 7 Jul 2005 13:33:01 +0000 (GMT) (envelope-from rbyrnes@mailshack.com) Received: from dispatchd.nerdshack.com (jean.nerdshack.com [209.189.235.38]) by karen.nerdshack.com (Postfix) with SMTP id 380841E387B; Tue, 5 Jul 2005 07:06:40 -0500 (CDT) Received: from cartman.mailshack.com (dialup-233.105.221.203.acc51-kent-syd.comindico.com.au [203.221.105.233]) by mail.nerdshack.com with ESMTP Tue, 05 Jul 2005 07:08:44 -0500 Message-Id: <6.2.1.2.2.20050705220015.029fa770@mail.nerdshack.com> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Tue, 05 Jul 2005 22:09:22 +1000 To: Erik =?iso-8859-1?Q?N=F8rgaard?= , current@FreeBSD.org From: Rob B In-Reply-To: <42CA4263.9080409@locolomo.org> References: <42CA4263.9080409@locolomo.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: dhclient.conf for ath wireless X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2005 13:33:01 -0000 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