From owner-freebsd-hackers Sat May 17 13:01:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA08526 for hackers-outgoing; Sat, 17 May 1997 13:01:54 -0700 (PDT) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA08519 for ; Sat, 17 May 1997 13:01:48 -0700 (PDT) Received: (from sos@localhost) by sos.freebsd.dk (8.8.5/8.7.3) id WAA23732; Sat, 17 May 1997 22:01:58 +0200 (MEST) From: Søren Schmidt Message-Id: <199705172001.WAA23732@sos.freebsd.dk> Subject: Re: bidirectional PPP possible ?? In-Reply-To: <199705170411.FAA21692@awfulhak.demon.co.uk> from Brian Somers at "May 17, 97 05:11:50 am" To: brian@awfulhak.org (Brian Somers) Date: Sat, 17 May 1997 22:01:58 +0200 (MEST) Cc: hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In reply to Brian Somers who wrote: > > > > I want to have my PPP connection to my ISP demand dialed both ways, > > ie the one who has some packets to deliver opens the line. > > > > I have it sortof running by using a ppp -auto as my demand dialer, > > and having a ppp hanging off a ppp aware getty on the same modem. > > > > Any ideas ?? sombody have this working ?? > > How about a ppp.linkup that does a > > my-in-label: > ! sh -c "kill `cat /var/run/tun?.pid`" > delete ALL > add 0 0 HISADDR > > (or something) and a dialin .profile that says > > ppp -direct my-in-label > exec ppp -auto my-out-label Thats the problem, ppp will not accept a new default route on the tun interface right away, it "waits just a while" and exits and this all breaks.... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end ..