Thanks for the scripts. However that is not what I am looking for. I have a Linux machine as a firewall/gateway (NATing) for the rest of the LAN. The issue of "dial on demand" is that whenever a packet comes in from the LAN destined for the outside, the dialer should kick in. When I set the "demand" option in /etc/ppp/options, pppd (being called by pptp) asks for a chat script to connect up. This is what I am looking for. I have no problem manually (or automatically) initiating a pptp connection to Netvision. I want one that is demand initiated.
Yaacov Oleg Goldshmidt wrote: > > Yaacov Fenster - System Engineering Troubleshooting and other miracles ><[EMAIL PROTECTED]> writes: > > > I am trying to setup the pptp/ppp ADSL combo so that it dials on demand, > > however it is asking for a chat script. Does anyone have one that would > > fit the Netvision logon procedure ? > > I am not sure I understand what "on demand" means in the context of > ADSL. On of the features/advantages of ADSL connection is that it is > always on, at flat rate. > > That said, here is a pair of scripts that work for me with Netvision > (also see http://vipe.technion.ac.il/~mulix/adsl-howto.txt): > > $ cat /etc/ppp/adsl-up > #!/bin/sh > > /usr/sbin/pptp 10.0.0.138 --quirks=BEZEQ_ISRAEL debug \ > user <username>@INetvision \ > remotename "10.0.0.138 RELAY_PPP1" \ > defaultroute noipdefault \ > mtu 1452 mru 1452 noauth \ > lcp-echo-interval 60 lcp-echo-failure 3 > > $ cat /etc/ppp/adsl-down > #!/bin/sh > > /sbin/ifconfig ppp0 down > /usr/bin/killall pppd > > and the appropriate /etc/ppp/pap-secrets, of course. > > The dial-up-related chat scripts are explained in the appropriate > howtos. > > -- > Oleg Goldshmidt | [EMAIL PROTECTED] > ================================================================= > "... Of theoretical physics and programming, programming embodied > the greater intellectual challenge." [E.W.Dijkstra, 1930 - 2002.] > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]