xsprite@bigfoot.com wrote:
The idea of starting/stopping from cron was to provide more control over when the box is dialed in. For example if you killed pppd at say midnight and started it at 9am, named or any other network daemon could not cause pppd to dial up, running up your phone bill (assuming you're using a pay per minute one).
Ah I see... however I have a free connection (RedHotAnt) so have no problem with it connecting whenever I (or a housemate's machine) needs it to. I assume that 'dialup' option I added to named will stop it trying to connect to the internet when it feels like it?
pppd also sometimes totally exits, so if you put it in the boot up scripts only it will not restart if it dies, unless you reboot or manually restart it.
hmm maybe I should write a script, called from /etc/rc.d/init.d/network, that loops round starting pppd in case it exits??
BTW, which bootup rc file should it be, and which one is currently setting my /proc/sys/net/ipv4/ip_forward to 0 every restart?
With slackware /etc/rc.d/rc.inet2, under redhat /etc/rc.d/init.d/network.
Cheers! (I have RedHat...)
There appear to be serveral programs that perform remote ppp link control from a win box at freshmeat.net. They may also create, as you put it, a fake DUN connection, hence something like ICQ would see the interface drop and restart (?)
Cheers... checking those out...
...
I noticed that even with idle time set the link wasn't going down... I ran tcpdump to see what it is, and it seems ICQ says 'hello' to the server every minute, and Netscape grabs mail every 10. So, add a filter to pppd, so it doesn't count those connections in its idle timer... using tcpdump I made a filterstring to use with pppd option 'active-filter' -, but according to the pppd man: 'This option is curĀ rently only available under NetBSD' :-/
Anything else I can try?
Cheers Neil
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]