Okay guys & gals, hoping you can help.
I have a machine that I use as a gateway. This machine uses HSPA to connect to the net via a fully configured adapter (ppp0).
I can fire up the connection in Networkmanager and all works well. Very occasionally however I will experience a lack of connectivity despite the face that I remain connected to the network according to NetworkManager. I'm putting this down to a very deep HW/SW glitch at my end, or some mast problem. I've tried it on multiple installs and it just seems to be one of those things that goes hand in hand with mobile broadband.
Anyway, to cut a long story short I require a daemon to run and ping a selection of 3 or so IPs every 5 mins. If they all come back as failed I can presume the net connection needs restarting. To do the restarting I can restart the entire networking subsystem, then use the command line network manager utility to instigate the connection once again (automatically connect doesn't work fantastically in my experience).
This thread (in particular the response from Pete Laughton) was helpful - http://forum.soft32.com/linux/Progra...derasc-15.html
Unfortunately I can't register for the forum because their SMTP server is FUBARed!
Anybody care to help me solve this issue? Is there a nice ready made script out there, can I cobble something together in cron, or am I completely off the mark?
Bookmarks