From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 01:39:19 2004 Return-Path: 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 0D47E16A4CE for ; Tue, 27 Jan 2004 01:39:19 -0800 (PST) Received: from mpimail.mpi-hd.mpg.de (mpimail.mpi-hd.mpg.de [149.217.0.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 843A343D48 for ; Tue, 27 Jan 2004 01:39:08 -0800 (PST) (envelope-from michael@mpimail.mpi-hd.mpg.de) Received: from mobi.dhcp.mpi-hd.mpg.de ([149.217.9.25])i0R9d4En025984 for ; Tue, 27 Jan 2004 10:39:04 +0100 Received: from mobi.dhcp.mpi-hd.mpg.de (localhost [127.0.0.1]) i0R9cEQq001565 for ; Tue, 27 Jan 2004 10:38:14 +0100 (CET) (envelope-from michael@mobi.dhcp.mpi-hd.mpg.de) Received: (from michael@localhost) by mobi.dhcp.mpi-hd.mpg.de (8.12.10/8.12.10/Submit) id i0R9cEtV001564 for freebsd-current@freebsd.org; Tue, 27 Jan 2004 10:38:14 +0100 (CET) (envelope-from michael) Date: Tue, 27 Jan 2004 10:38:14 +0100 From: Michael Lestinsky To: freebsd-current@freebsd.org Message-ID: <20040127093813.GB727@mobi.dhcp.mpi-hd.mpg.de> References: <20040127090413.GA727@mobi.dhcp.mpi-hd.mpg.de> <20040126231329.Y97872-100000@oahu.WURLDLINK.NET> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040126231329.Y97872-100000@oahu.WURLDLINK.NET> User-Agent: Mutt/1.4.1i Subject: Re: ath-driver (Atheros 5212) and ifconfig X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 27 Jan 2004 09:39:19 -0000 Am 26.01.'04 schrieb Vincent Poy: > What's the correct way to have it connect to a certain AP with a > WEP key and get the IP by DHCP? Put something like this in your /etc/dhclient.conf (see dhclient.conf(5)): interface "ath0" { media "media autoselect ssid my_ap nwkey 0x0123456789012345678901232456"; } You can put there more than one media-line.