From owner-freebsd-mobile Sun Apr 26 18:40:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA19095 for freebsd-mobile-outgoing; Sun, 26 Apr 1998 18:39:29 -0700 (PDT) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from sag.space.lockheed.com (sag.space.lockheed.com [192.68.162.134]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA18524 for ; Sun, 26 Apr 1998 18:31:01 -0700 (PDT) (envelope-from handy@sag.space.lockheed.com) Received: from localhost by sag.space.lockheed.com; (5.65v3.2/1.1.8.2/21Nov95-0423PM) id AA15834; Sun, 26 Apr 1998 18:31:02 -0700 Date: Sun, 26 Apr 1998 18:31:02 -0700 (PDT) From: Brian Handy To: freebsd-mobile@FreeBSD.ORG Subject: Modem+Ethernet? Message-Id: X-Files: The truth is out there Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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. I verified this, I had him 'route delete default' and sure enough, then the modem worked. It would be neat if there was some script I could kick off to do this for him. I've tried to get PPP to clean up the routing tables before connecting, but I've never had luck...I probably don't understand something. Anyway, that's probably something I could puzzle out given enough effort. Problem is, how do I set that route back up when PPP is done? I'm using "ppp -background" to do this, then in the window manager I've got a few buttons so when he wants to hang up it just sends a 'kill -2' to the appropriate PID. Does anybody leave their pccards in all the time? I've always pulled the one I'm not using. I'd like to find a method of simplest approach here so he can just click on buttons in his window manager, rather than rooting through the routing tables deleting stuff that's causing trouble. I'm curious how other people handle this. Thanks, Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message