From owner-freebsd-current@FreeBSD.ORG Tue Jul 5 15:34:37 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 EC04116A41C for ; Tue, 5 Jul 2005 15:34:37 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from top.daemonsecurity.com (62-14-217-85.inversas.jazztel.es [62.14.217.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DE5943D55 for ; Tue, 5 Jul 2005 15:34:37 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.64] (unknown [192.168.0.64]) by top.daemonsecurity.com (Postfix) with ESMTP id ECEE0FD06B; Tue, 5 Jul 2005 17:33:13 +0200 (CEST) Message-ID: <42CAA885.2000101@locolomo.org> Date: Tue, 05 Jul 2005 17:34:29 +0200 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Organization: Locolomo.ORG User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050529) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rob B References: <42CA4263.9080409@locolomo.org> <6.2.1.2.2.20050705220015.029fa770@mail.nerdshack.com> In-Reply-To: <6.2.1.2.2.20050705220015.029fa770@mail.nerdshack.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: current@FreeBSD.org 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: Tue, 05 Jul 2005 15:34:38 -0000 Rob B wrote: > At 06:18 PM 5/07/2005, Erik Nørgaard wrote: > >> in dhclient.conf. But on boot, dhclient enters into an infinite loop >> bringing up and down the interface, until I break it. I have to >> manually run "ifconfig ath0 ssid MYAP mode 11g" and then start >> dhclient manually to force it to associate correctly with MYAP. > > Have you tried putting the appropriate ifconfig command line into > /etc/start_if.ath0. That works for me. Thanks, that was the keyword I needed. I searched google and at it appears that in -current the start_if script may be replaced by setting the options in the rc.conf: ifconfig_ath0="ssid MYAP mode 11g DHCP" It doesn't seem to be appropriate if you hook up to various networks, such as at home, Starbucks etc. would be neat to have the startup script to run through the preconfigured networks and pick the first one that works. Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2