From owner-freebsd-questions Fri Mar 2 11: 2:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from raffles-it.com (raffles.demon.co.uk [158.152.17.201]) by hub.freebsd.org (Postfix) with ESMTP id B0F3937B719 for ; Fri, 2 Mar 2001 11:02:25 -0800 (PST) (envelope-from dpd@raffles-it.com) Received: from dribble.lan.raffles-it.com (dribble.lan.raffles-it.com [192.168.100.50]) by raffles-it.com (8.11.2/8.11.1) with ESMTP id f22Is8x87300; Fri, 2 Mar 2001 18:54:08 GMT (envelope-from dpd@lan.raffles-it.com) Received: from dribble.lan.raffles-it.com (localhost [127.0.0.1]) by dribble.lan.raffles-it.com (8.11.2/8.11.1) with ESMTP id f22IrqC02103; Fri, 2 Mar 2001 18:53:52 GMT (envelope-from dpd@lan.raffles-it.com) Message-Id: <200103021853.f22IrqC02103@dribble.lan.raffles-it.com> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: "Victor R. Cardona" Cc: freebsd-questions@FreeBSD.ORG, dpd@dribble.lan.raffles-it.com Subject: Re: Multipule Lan Configurations In-Reply-To: Message from "Victor R. Cardona" of "Fri, 02 Mar 2001 00:13:09 CST." <20010302001309.A7552@marx.marvic.chum> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 02 Mar 2001 18:53:52 +0000 From: David Dooley Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Fri, Mar 02, 2001 at 02:03:18AM +0000, David Dooley wrote: > > I want to do this so I can take my laptop from home to work and to friends > > with out having to spend hours reconfigureing for each location. > > I don't understand. If both home and work are using DHCP, then why don't > you just let the DHCP server configure your card. You should only need > one card, and you shouldn't need to wory about settings. Victor, Work is using a wired lan, no wave lan, for which I have a 3com card, no dhcp, need to staticaly reconfigure for DNS, netmask, domain name, router. Home, uses dhcp with the WaveLan Card conneted to a residential gateway and all works here is how i configure the card from /etc/pccard.conf # Lucent WaveLAN/IEEE card "Lucent Technologies" "WaveLAN/IEEE" config 0x1 "wi" ? insert /usr/sbin/wicontrol -i $device -s ANY insert /usr/sbin/wicontrol -i $device -n insert /usr/sbin/wicontrol -i $device -k -v 1 insert /usr/sbin/wicontrol -i $device -T 1 insert /usr/sbin/wicontrol -i $device -e 1 insert /usr/sbin/wicontrol -i $device -p 1 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop friend also has a wireless lan but uses an access point and this is how I configure the pccard.conf file when I go round to his place card "Lucent Technologies" "WaveLAN/IEEE" config 0x1 "wi" ? insert /usr/sbin/wicontrol -i $device -s "Dribble" insert /usr/sbin/wicontrol -i $device -n "" insert /usr/sbin/wicontrol -i $device -p 1 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop so I have three distinct configs that I want to run with depending on where I am. Work:- static IP address, work DNS, work default route, work domain name Home:- Dhcp configured + home wavelan setup Friend:- Dhcp Configured + Friend wavelan setup Therefore I want to be able to configure the wavelan depentant on which slot I stick it in, and a futher confguration for work with a totally diferent NIC. But it would appear that I can only have one network interface defined in rc.conf. Hope this clarifies the situation. David Dooley To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message