From owner-freebsd-mobile Fri Mar 2 15:14:55 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 08BC137B719 for ; Fri, 2 Mar 2001 15:14:52 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f22NEgL09689; Fri, 2 Mar 2001 15:14:42 -0800 Date: Fri, 2 Mar 2001 15:14:42 -0800 From: Brooks Davis To: David Dooley Cc: freebsd-Mobile@FreeBSD.ORG Subject: Re: multiple lan configurations (was: ) Message-ID: <20010302151442.A7889@Odin.AC.HMC.Edu> References: <200103022301.f22N1hC03361@dribble.lan.raffles-it.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200103022301.f22N1hC03361@dribble.lan.raffles-it.com>; from dpd@raffles-it.com on Fri, Mar 02, 2001 at 11:01:43PM +0000 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Please use a real Subject:] On Fri, Mar 02, 2001 at 11:01:43PM +0000, David Dooley wrote: > I sent this mail to questions a couple of days ago. I figured that I woul= d=20 > give you guys a go a telling me how stupid I am for wanting to try and do= =20 > this. I have added the clarification I also sent to the bottom of this po= sting. >=20 > Just to hammer home the point. I am trying to get different configuration= s for=20 > different locations, not multipule configs on the same card. The work con= fig=20 > is a wired lan that I want to use a 3com card for. Home is a WaveLan card= =20 > connecting via a Residential Gateway, the configuration I use to set up t= he=20 > card is below (part of the second posting). The wavelan configuration for= my=20 > friends place is also below as he has an access point device (second post= =20 > below). This why I asked in my original post to be able to configure the= =20 > wavelan card dependent on which pcmcia slot it is inserted in. The problem with your office can be solved by updating to a recent 4-STABLE which will has a new /etc/pccard_ether that uses ifconfig_ arguments and only uses pccard_ifconfig for compatability. For the wavelan, I don't know of any way to select a config based on the slot you are in, but you might take a look at: http://www.one-eyed-alien.net/~brooks/FreeBSD/config802.diff which contains some code for automaticaly selecting a wireless config. It's not very up to date and will require manual integration into /etc/pccard_ether, but it did work OK work wi cards in infrastructure mode last time I used it. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6oClhXY6L6fI4GtQRApUtAKCq5yOsYdxK4W4xml38I+zLpS98CwCgxD6a /PWmkl74C0hwJEyyNrBIREo= =MeUn -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message