> Have a remote site using pppoe. > Running shorewall 4.4.13.1
> It's a remote site I get to a couple times a year and about 90 miles one way. > It's been running pretty reliable, expect that about once a month loose > connection and it does not recover. > I know little for certain. > I have never been on site during a failure. > I do know the router is up and not hung. > If they reset the router the link always comes up. > It has always gone down between midnight and 5am so my guess is the isp ( > Centurytel) was doing maintenance and the shorewall router was unable to > recover. > Any suggestions. > I'll supply what ever info is needed. > Thanks > John > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Shorewall-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/shorewall-users Hi John, as far as I see it this has nothing to do with shorewall. Your pppoed gives up trying to reconnect. If the line is broken the pppoed tries to reconnect only a couple of times, then stops reconnecting and you loose your line. With my debian systems you can watch this in /var/log/messages. I'm no pro but the script I wrote just works: #!/bin/sh # # # restart ppp0, if not up # # CRONTAB # if [ -f /var/run/ppp0.pid ] then echo "/var/run/ppp0.pid existiert. - Abbruch -" exit else mail -s "FW-TL pppd Start durch Script" [email protected] < /usr/local/scripts/meldung.txt echo "jetzt wird gemailt, 65 s gewartet und (wenn nicht pppd) pppd neu gestartet" sleep 65 if [ -f /var/run/ppp0.pid ] then exit else exec /usr/bin/pon dsl-provider fi echo "pppd neu gestartet" fi # Every 15 minutes crontab calls this script: 0,15,30,45 * * * * /usr/local/scripts/startppp0.sh > /dev/null 2>&1 if everything is fine it does nothing else if the PID-file ppp0.pid in /var/run is not existent it waits some seconds and if still not, it restarts pppoed with pon dsl-provider. I wanted to get to know this situation so I mail home. This works for me on a couple of systems for years. I always got back my line whenever my ISP was ready again. Perhaps this helps Thomas ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
