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" eitherfrom 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 120you 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