Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 1997 02:39:08 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        Sren Schmidt <sos@sos.freebsd.dk>
Cc:        brian@awfulhak.org (Brian Somers), hackers@freebsd.org
Subject:   Re: bidirectional PPP possible ?? 
Message-ID:  <199705180139.CAA01610@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Sat, 17 May 1997 22:01:58 %2B0200." <199705172001.WAA23732@sos.freebsd.dk> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705180139.CAA01610>