Date: Sat, 17 May 1997 05:11:50 +0100 From: Brian Somers <brian@awfulhak.org> To: Sren Schmidt <sos@sos.freebsd.dk> Cc: hackers@FreeBSD.ORG (FreeBSD hackers) Subject: Re: bidirectional PPP possible ?? Message-ID: <199705170411.FAA21692@awfulhak.demon.co.uk> In-Reply-To: Your message of "Fri, 16 May 1997 00:39:28 %2B0200." <199705152239.AAA17476@sos.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
>
> I have a problem...
>
> 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.
>
> The problem is that the -auto ppp set a default route, which
> points to tun0, now when a call comes in its answered and the ppp
> comes up on tun1 which should now be the default, and as expected
> this doesn't work :(
> If I kill the ppp -auto when the call comes in, it works, but
> I cannot get it to start a new one on exit, so I'm lost again...
>
> I have fixed IP# in both ends (which I can control), and I need
> to route my little network over the line.
>
> 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
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 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?199705170411.FAA21692>
