Yaacov Fenster - System Engineering Troubleshooting and other miracles <[EMAIL PROTECTED]> writes:
> I have no problem connecting without the "dial-on-demand" option set. > Neither do I use any chat script that I defined. I have attached a short > log showing that pppd refuses to use the demand option without some kind > of a connect script, while without it it works without a problem. In > addition, if you take a look at the debug messages you can see that > there are various prompts coming back from Netvision. I suppose that if pppd asks for a chat script then writing one would be a good idea... Add a connect option to your /etc/ppp/options, and provide a script. PPP-HOWTO is your friend. Read on first, though. What I do not understand is how you are handling the "demand" on the pptp side. That is what invokes pppd in the first place. You need to run your pptp start script when you have traffic... Basically, you need to do what diald does. It creates a proxy interface and sets it up as the default gateway. It listens on this interface, and whenever traffic arrives, it starts pppd (you will have to start pptp) and changes the default gateway to ppp0. You might want to look at diald documentation (there is a HOWTO), but I do not remember off-hand if you can specify your own start script instead of pppd. If you can tweak diald to do the job, you are done. Finally, I did not know there was a demand option to pppd, and I don't see it anywhere in the docs. I think you don't need it. If this is write, then you don't need to read the first paragraph above, either... -- 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]
