From owner-freebsd-mobile Sun Apr 26 19:26:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA23416 for freebsd-mobile-outgoing; Sun, 26 Apr 1998 19:25:08 -0700 (PDT) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA22312 for ; Sun, 26 Apr 1998 19:12:21 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id CAA02150; Mon, 27 Apr 1998 02:53:08 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199804270153.CAA02150@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Brian Handy cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Modem+Ethernet? In-reply-to: Your message of "Sun, 26 Apr 1998 18:31:02 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 27 Apr 1998 02:53:07 +0100 From: Brian Somers Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hey Folks, > > I've got a guy running a TP560 with a NE2000 compatible card and a...uh... > a modem of some kind. (Whoever the outfit USR bought is.) My guy would > like to be able to keep both PCCARDS stuffed in his PC all the time. > > The problem we have is, when he inserts the ethernet card it slaps down a > default route in his routing tables. Then, when he goes to use the modem > and PPP, PPP connects -- but -- his routing tables are all screwed up. [.....] The latest ppp (http://www.FreeBSD.org/~brian) allows you to add! default HISADDR (not the ``!''). This will RTM_ADD a route, and if that fails, attempt to RTM_CHANGE it. The alternative with older ppps is to delete 0 add 0 0 HISADDR As far as ``putting things back'' is concerned, setup /etc/ppp/ppp.linkdown: MYADDR: add! default x.x.x.x where x.x.x.x is your router-via-the-NIC. > Thanks, > > > Brian -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message