Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2000 09:21:28 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Ken Seggerman <suleyman@echonyc.com>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: PC Card network interface options
Message-ID:  <20000802092128.C8876@Odin.AC.HMC.Edu>
In-Reply-To: <Pine.GSO.4.21.0008020158470.15416-100000@echonyc.com>; from suleyman@echonyc.com on Wed, Aug 02, 2000 at 03:20:04AM -0400
References:  <Pine.GSO.4.21.0008020158470.15416-100000@echonyc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 02, 2000 at 03:20:04AM -0400, Ken Seggerman wrote:
> Hello:
> 
> It is my understanding that the lines in /etc/rc.conf
> 
> 	pccard_ether="ed0 ep0 sn0 fe0"
> 	ifconfig_common="inet 168.92.32.144 netmask 255.255.255.0"
> 	ifconfig_ed0=$ifconfig_common
> 	ifconfig_ep0=$ifconfig_common
> 	ifconfig_sn0=$ifconfig_common
> 	ifconfig_fe0=$ifconfig_common
> 
> will configure the IP address and netmask of whichever of the four 
> network interface drivers are found, and will do so only after a card is
> found.

No, to do that you want:

pccard_ether="inet 168.92.32.144 netmask 255.255.255.0"

> How do I set a default route after the card is found? I am not sure of the
> syntax.

It's generally harmless to set it before hand since you are wiring down
the IP address anyway.  Just set:

defaultrouter="168.92.32.1"

or what ever the corrent router is in rc.conf.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




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