From owner-freebsd-mobile@FreeBSD.ORG Tue May 25 12:29:45 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17AE816A4CE for ; Tue, 25 May 2004 12:29:45 -0700 (PDT) Received: from gw.pelleg.org (gw.pelleg.org [205.201.13.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8216543D31 for ; Tue, 25 May 2004 12:29:44 -0700 (PDT) (envelope-from daniel@pelleg.org) Received: from lank.here (bzq-218-241-167.red.bezeqint.net [81.218.241.167]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "gw.pelleg.org", Issuer "Dan Pelleg" (verified OK)) by gw.pelleg.org (Postfix) with ESMTP id DC66D5A53 for ; Tue, 25 May 2004 15:29:03 -0400 (EDT) Received: by lank.here (Postfix, from userid 7675) id B2AB334F; Tue, 25 May 2004 08:42:56 +0300 (IDT) To: ste@smxy.org References: <40AE92CD.1020501@smxy.org> From: Dan Pelleg Date: Tue, 25 May 2004 08:42:55 +0300 In-Reply-To: <40AE92CD.1020501@smxy.org> (Shaun T. Erickson's message of "Fri, 21 May 2004 19:37:49 -0400") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.1 (Cuyahoga Valley, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-mobile@freebsd.org Subject: Re: Coping with multiple wireless and wired nets. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2004 19:29:45 -0000 "Shaun T. Erickson" writes: > Ok. I installed 5.2.1 on a laptop the other night, which went quite > nicely. During the install, it detected my wireless card, just fine. It > wanted to dhcp for it, but that (correctly) failed, as my net uses wep. So, > it punted me to the manual interface configuration screen, where I was > easily able to tell it everything it needed to successfully get me on the > air. I was a happy camper. > > Questions: > > 1) How do I tell the system the ssid, wepmode, and key, and then have it get > everything else via dhcp, during boot up? > In the right interface clause in /etc/dhclient.conf add: media "ssid MYSSID nwkey MYKEY"; > 2) How do I *easily* handle multiple wireless nets? I will be using the > laptop on a number of them. media "ssid MYSSID1 nwkey MYKEY1", "ssid MYSSID2 nwkey MYKEY2", "ssid - wepmode off"; -- Dan Pelleg