From owner-freebsd-hackers Sat May 17 18:41:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA24513 for hackers-outgoing; Sat, 17 May 1997 18:41:04 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA24489 for ; Sat, 17 May 1997 18:40:39 -0700 (PDT) Received: from awfulhak.demon.co.uk (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id CAA01610; Sun, 18 May 1997 02:39:08 +0100 (BST) Message-Id: <199705180139.CAA01610@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: Sren Schmidt cc: brian@awfulhak.org (Brian Somers), hackers@freebsd.org Subject: Re: bidirectional PPP possible ?? In-reply-to: Your message of "Sat, 17 May 1997 22:01:58 +0200." <199705172001.WAA23732@sos.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Sun, 18 May 1997 02:39:08 +0100 From: Brian Somers Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id SAA24509 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`" ^ Oops. That's bogus ! > > 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.... So can't you do stick a sleep in ? I don't think I follow. > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team > Even more code to hack -- will it ever end > .. -- Brian , Don't _EVER_ lose your sense of humour....