Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Mar 2001 18:53:52 +0000
From:      David Dooley <dpd@raffles-it.com>
To:        "Victor R. Cardona" <vcardona@home.com>
Cc:        freebsd-questions@FreeBSD.ORG, dpd@dribble.lan.raffles-it.com
Subject:   Re: Multipule Lan Configurations 
Message-ID:  <200103021853.f22IrqC02103@dribble.lan.raffles-it.com>
In-Reply-To: Message from "Victor R. Cardona" <vcardona@home.com>  of "Fri, 02 Mar 2001 00:13:09 CST." <20010302001309.A7552@marx.marvic.chum> 

next in thread | previous in thread | raw e-mail | index | archive | help

> 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 <WAVELAN RG SERIAL NO>
        insert  /usr/sbin/wicontrol -i $device -k <ENCRYPTION KEY> -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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103021853.f22IrqC02103>