From owner-freebsd-current@FreeBSD.ORG Mon Jul 11 15:42:20 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 AD9E016A41C for ; Mon, 11 Jul 2005 15:42:20 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D26443D48 for ; Mon, 11 Jul 2005 15:42:19 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd26.aul.t-online.de by mailout02.sul.t-online.com with smtp id 1Drztq-0005K1-02; Mon, 11 Jul 2005 17:08:50 +0200 Received: from Andro-Beta.Leidinger.net (ZY7s6wZEYe4hzgFLZphJVzNwg3YNAV8ywX6ZBOeRC0aFWcccLQn7oF@[84.165.228.193]) by fwd26.sul.t-online.de with esmtp id 1DrztQ-1ZcMS00; Mon, 11 Jul 2005 17:08:24 +0200 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j6BF8NjU070594; Mon, 11 Jul 2005 17:08:23 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Mon, 11 Jul 2005 17:08:23 +0200 From: Alexander Leidinger To: Rob B Message-ID: <20050711170823.0bae2054@Magellan.Leidinger.net> In-Reply-To: <6.2.1.2.2.20050711224424.028cf258@mail.nerdshack.com> References: <42CA4263.9080409@locolomo.org> <6.2.1.2.2.20050705220015.029fa770@mail.nerdshack.com> <20050707164922.GA15353@odin.ac.hmc.edu> <6.2.1.2.2.20050711224424.028cf258@mail.nerdshack.com> X-Mailer: Sylpheed-Claws 1.9.11 (GTK+ 2.6.8; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ID: ZY7s6wZEYe4hzgFLZphJVzNwg3YNAV8ywX6ZBOeRC0aFWcccLQn7oF@t-dialin.net X-TOI-MSGID: 414179cb-4ba9-4470-9034-11385c56b76a 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: Mon, 11 Jul 2005 15:42:20 -0000 On Mon, 11 Jul 2005 22:45:40 +1000 Rob B wrote: > At 02:49 AM 8/07/2005, Brooks Davis wrote: > > > 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. > > I tried that with my wi(4) card and it didn't work. I needed to make a > start_if.wi0 file I think something is wrong with the wlan_wep module or with the wi driver. I have a strange script on my -current laptop which I run by hand: ---snip--- ifconfig wi0 inet 192... wepmode on weptxkey 1 ssid ID kldload wlan_wep ifconfig wi0 wepkey 1:xxxx wicontrol -L route add default ... ifconfig wi0 wepmode on wicontrol -L ---snip--- If I don't do it this way (e.g. removing the setup of the first ifconfig line to the second ifconfig line, or adding the wlan_wep module to loader.conf), it will not find my accesspoint (FreeBSD 4.11, wi0 in host-ap mode). Bye, Alexander. -- Give a man a fish and you feed him for a day; teach him to use the Net and he won't bother you for weeks. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7