From owner-freebsd-mobile Wed Aug 2 9:21:56 2000 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 17FF537BC20 for ; Wed, 2 Aug 2000 09:21:52 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.9.3/8.9.3) id JAA09981; Wed, 2 Aug 2000 09:21:28 -0700 Date: Wed, 2 Aug 2000 09:21:28 -0700 From: Brooks Davis To: Ken Seggerman Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: PC Card network interface options Message-ID: <20000802092128.C8876@Odin.AC.HMC.Edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from suleyman@echonyc.com on Wed, Aug 02, 2000 at 03:20:04AM -0400 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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