dial on demand

dial on demand

Post by Henrik Hei » Sat, 27 Jul 1996 04:00:00



Hi,

I'm using pppd (with the ppp-on script) to connect to the internet -
everything's great. But now I would like to be able to
start the script just when I actually NEED the internet!
I guess I would have to get my gateway (of my tiny linux net) to
'look' for all IP packages that are not for the local network, start
the script iff there isn't a connection already and then route the
IP packages over the line (which it already does if I dial manually).

Any ideas?

Henrik.

--
___________________________________________________________________________

http://www.informatik.uni-hamburg.de/Arbeitsbereiche/NATS/staff/heine...

University of Hamburg
Computer Science Department       Phone:  (+49 40) 54592-521
Natural Language Systems Division
Vogt-Koelln-Str. 30
D-22527 Hamburg
GERMANY
___________________________________________________________________________

 
 
 

dial on demand

Post by Doug Sis » Sat, 27 Jul 1996 04:00:00



> Hi,

> I'm using pppd (with the ppp-on script) to connect to the internet -
> everything's great. But now I would like to be able to
> start the script just when I actually NEED the internet!
> I guess I would have to get my gateway (of my tiny linux net) to
> 'look' for all IP packages that are not for the local network, start
> the script iff there isn't a connection already and then route the
> IP packages over the line (which it already does if I dial manually).

> Any ideas?

> Henrik.

> --
> ___________________________________________________________________________

> http://www.informatik.uni-hamburg.de/Arbeitsbereiche/NATS/staff/heine...

> University of Hamburg
> Computer Science Department       Phone:  (+49 40) 54592-521
> Natural Language Systems Division
> Vogt-Koelln-Str. 30
> D-22527 Hamburg
> GERMANY
> ___________________________________________________________________________

Check out "diald" it works very nice and does just what you wish!

Try http://www.cs.toronto.edu/~schenk/diald.html for more info.

Doug

--
Doug Sisk                Internet Business Services


 
 
 

dial on demand

Post by Daylyn Mea » Tue, 30 Jul 1996 04:00:00



>Hi,
>I'm using pppd (with the ppp-on script) to connect to the internet -
>everything's great. But now I would like to be able to
>start the script just when I actually NEED the internet!
>I guess I would have to get my gateway (of my tiny linux net) to
>'look' for all IP packages that are not for the local network, start
>the script iff there isn't a connection already and then route the
>IP packages over the line (which it already does if I dial manually).
>Any ideas?

I've accomplished this by using the ip-forwarding, the kerneld facility, modules
2.0 and the 2.0 kernel.  Basically when the linux box gets a packet for which it
is not the destination, the forwarding facilites ask the kernel for a route
which causes the dialout via the /sbin/request-route script (see kerneld docs)
which then triggers the dial-out.  When pppd gets its connection going,
the whole affair can be tied off by the ip-up script it runs.  Its configuration

allows an inactivity timeout which hangs up the line when no longer needed.

I've got this working well now and if you want specifics email me.  Otherwise,
start by getting modules to work properly on your system, then get a working
"dip" or "chat" script and ppp configuration.  Then, _carefully_ read the
kerneld faq's/howto's on this very subject and you should be OK after
yanking out the requisite amount of hair...

>Henrik.
>--
>___________________________________________________________________________

>http://www.informatik.uni-hamburg.de/Arbeitsbereiche/NATS/staff/heine...
>University of Hamburg
>Computer Science Department       Phone:  (+49 40) 54592-521
>Natural Language Systems Division
>Vogt-Koelln-Str. 30
>D-22527 Hamburg
>GERMANY
>___________________________________________________________________________

--
Daylyn Meade
SOS-My opinions, as always, are mine and mine alone...
 
 
 

1. demand dialing vs. the other demand dialing

Has anyone successfully used the pppd "demand" option, or is it considered a
joke and diald the True Way?

Does "pppd demand" randomly eat all your existing routes, effectively turing
off the ethernet device, or am I seeing things?
--
Alan Curry    |Declaration of   | _../\. ./\.._     ____.    ____.

--------------+save some time): |  \__/   \__/     \___:    \___:
 Linux,vim,trn,GPL,zsh,qmail,^H | "Screw you guys, I'm going home" -- Cartman

2. question about driver with IPAQ cradle

3. Dial on demand ALWAYS DIAL! HELP!

4. Compiling sh scripts

5. Dial on Demand and Dial-In

6. Wanted: Style/Grammar Checker for Linux, Emacs and LaTeX.

7. Dial on Demand keeps Dialing

8. Help me configure Zip drive...

9. pppd demand; dialing and dialing

10. PPPD demand keeps dialing and dialing

11. ISDN Dial-On-Demand: Can't Stop dial with arp packets...

12. PPP problems - "Dial on Demand" won't dial

13. linux 2.018/kerneld/PPP dial on demand: 'network unreachable' then starts dialling