[WAS] pppd on demand problems...
PLEASE HELP! Having now hired a dsl line at home, I connected two Pentium PCs at home with a notebook functioning as a gateway server for the internet connection with 'pon dsl-provider demand idle 60' command through a rudimentary firewall (and a sshd session). Setting up the server I thought:the simplest, the better! Therefore no diald by far more complicated than ppp on demand which I'd learned had been somewhat enhanced (it works fine at last, they say), pppoe, openssh, iptables, kernel 2.4.19, lynx, all for a mere 300 MB of disk space. Now the problem is that if I launch a lynx www.debian.org either from the server or from a client the ppp session starts immediatedly and all works fine. But, once closed lynx, ppp doesn't hang up but stays connected endlessly. Could you please suggest why this can happen and - above all - the steps, the tests I should carry out to make it work (please, straightforward explanation will be highly appreciated!)? Ciao Vittorio -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
pppd on demand problems...
Having now hired a dsl line at home, I connected two Pentium PCs at home with a notebook functioning as a gateway server for the internet connection with 'pon dsl-provider demand idle 60' command through a rudimentary firewall (and a sshd session). Setting up the server I thought:the simplest, the better! Therefore no diald by far more complicated than ppp on demand which I'd learned had been somewhat enhanced (it works fine at last, they say), pppoe, openssh, iptables, kernel 2.4.19, lynx, all for a mere 300 MB of disk space. Now the problem is that if I launch a lynx www.debian.org either from the server or from a client the ppp session starts immediatedly and all works fine. But, once closed lynx, ppp doesn't hang up but stays connected endlessly. Could you please suggest why this can happen and - above all - the steps, the tests I should carry out to make it work (please, straightforward explanation will be highly appreciated!)? Ciao Vittorio -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: pppd on demand problems...
Vittorio wrote: thought:the simplest, the better! Therefore no diald by far more complicated than ppp on demand which I'd learned had been somewhat enhanced (it works fine at last, they say), pppoe, openssh, iptables, kernel 2.4.19, lynx, all for a mere 300 MB of disk space. Now the problem is that if I launch a lynx www.debian.org either from the server or from a client the ppp session starts immediatedly and all works fine. But, once closed lynx, ppp doesn't hang up but stays connected endlessly. well I can't tellyou for sure unless you send some more information ... but most likely you have called pppd with the demand option - so it connects as it is supposed to ... but you didn't set the idle time - to tell it when to disconnect try adding 'idle 120' (this should cause disconnect after 2 minutes) so the command should be like pppd call isp demand idle 120 you have to experiment to find the idle time that works for you - too low and the connection drops while browsing - too high and it can be expensive. note also that all sorts of things can trigger dial on demand see man pppd for more details -- Sean -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]