From owner-freebsd-questions Sun Aug 13 15:03:45 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id PAA07403 for questions-outgoing; Sun, 13 Aug 1995 15:03:45 -0700 Received: from distortion.eng.umd.edu (distortion.eng.umd.edu [129.2.98.6]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id PAA07396 for ; Sun, 13 Aug 1995 15:03:43 -0700 Received: from mocha.eng.umd.edu (mocha.eng.umd.edu [129.2.98.16]) by distortion.eng.umd.edu (8.6.10/8.6.4) with ESMTP id SAA20224 for ; Sun, 13 Aug 1995 18:03:38 -0400 Received: (chuckr@localhost) by mocha.eng.umd.edu (8.6.10/8.6.4) id SAA04767; Sun, 13 Aug 1995 18:03:37 -0400 Date: Sun, 13 Aug 1995 18:03:37 -0400 (EDT) From: Chuck Robey To: FreeBSD Questions Subject: ppp again Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@FreeBSD.org Precedence: bulk OK, I have ppp working maually, and partially automatic. I can tell it to dial umsite, and it does it well. I just need a little more info. First, the password. I have to login anyways, to the annex, before I can issue ppp, so I think the system has my username/password. Do I need to put something in ppp.secret, and why? Second, I can set the address of the tun0 device with that "set iffaddr 0 0 HISADDR" command, but I want to set the default route to HISADDR also, don't I? Note that I have a private ethernet between my two machines. I run named on one of them, the one that does the ppp dialing, and things work fine if I enter two commands (as root) from shell: route delete default route add default (I patch in the new tun0 address here). I tried to add "delete default" and "add default HISADDR" in the linkup file, but I got error messages indicating it wanted "delete dest gateway" and "add dest mask gateway". How do I do what I want? By the way, doing it all manually gives me perfect net visibility on both machines, and that's great, especially if I can get it to work automatically. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 9120 Edmonston Ct #302 | Greenbelt, MD 20770 | I run Journey2 (Freebsd 2.0.5-snap-0726) and (301) 220-2114 | n3lxx (FreeBSD 2.0.5-snap-0622) -- Great! ----------------------------+-----------------------------------------------