From owner-freebsd-mobile Sat Sep 27 18:44:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA26126 for mobile-outgoing; Sat, 27 Sep 1997 18:44:06 -0700 (PDT) Received: from word.smith.net.au (ppp20.portal.net.au [202.12.71.120]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA26102 for ; Sat, 27 Sep 1997 18:43:59 -0700 (PDT) Received: from word.smith.net.au (localhost.smith.net.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id LAA03219; Sun, 28 Sep 1997 11:11:24 +0930 (CST) Message-Id: <199709280141.LAA03219@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Brian N. Handy" cc: freebsd-mobile@freebsd.org Subject: Re: Default routes? In-reply-to: Your message of "Sat, 27 Sep 1997 17:02:18 MST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 28 Sep 1997 11:11:22 +0930 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I'm setting up another laptop here with the box stock FreeBSD > distribution, and ... I may just be tired or I may have a real question. No, it's real and somewhat of a key one. > If I insert my ethernet card, how does the default route get set up? It doesn't. Yet. > Brazen suggestion: should we do this in pccard_ether? Then have a > variable like pccard_defaultrouter? Or does it normally get handled in > some other more correct place? For now, do it in pccard_ether as a hack to get yourself going. I am in the process of writing a new rc.interface script which is to be called when an interface arrives/departs, which will obviate this, but it's not yet ready for primetime. mike