OPNsense Forum
Archive => 19.1 Legacy Series => Topic started by: skywalker007 on July 19, 2019, 05:36:41 pm
-
I have the issue that my DSL modem currently hangs occasionally. Restarting the modem solves that. However the PPPoE client terminates then and doesn't reconnect when the modem is back up. I have to bounce the firewall as well which is annoying. Can that be solved somehow?
thanks!
-
Started getting the same issue. It would also be nice if there was a button to click to disconnect/reconnect pppoe.
-
There is... Interfaces->Overview->Wan Interface
-
I don’t want buttons :-). I need the FW to handle the reconnect smoothly.
-
Just about to reply to your problem with a solution, that answer was for @LogicEthos - give me five, just putting the answer together.
-
I have the issue that my DSL modem currently hangs occasionally. Restarting the modem solves that. However the PPPoE client terminates then and doesn't reconnect when the modem is back up. I have to bounce the firewall as well which is annoying. Can that be solved somehow?
thanks!
I could think of a process monitoring via monit and start when gone. Just search for monit mini howto here and play around with the features
-
I have the issue that my DSL modem currently hangs occasionally. Restarting the modem solves that. However the PPPoE client terminates then and doesn't reconnect when the modem is back up. I have to bounce the firewall as well which is annoying. Can that be solved somehow?
thanks!
I use a cron script that monitors the WAN status and reboots or takes the WAN interface down/up. You need the two files attached. Firstly, copy the the conf file to /usr/local/opnsense/service/conf/actions.d - copy the sh file to /usr/local/sbin
Open a shell and issue the command 'service configd restart'
Now go to the Cron config and add a new cron event, run it every ten minutes, it should end up looking like this:
(https://i.ibb.co/0VfjQMH/Capture.png) (https://ibb.co/n8DsRcx)
You'll need to modify the script to change the interface names from re0 to igb0 or whatever your interface is.
-
Oops.. forgot the files.
-
I have the issue that my DSL modem currently hangs occasionally. Restarting the modem solves that. However the PPPoE client terminates then and doesn't reconnect when the modem is back up. I have to bounce the firewall as well which is annoying. Can that be solved somehow?
thanks!
I could think of a process monitoring via monit and start when gone. Just search for monit mini howto here and play around with the features
I use monit to restart dpinger on ipv6 when pppoe bounces, sometimes it doesn't come back. You could do it that way.
-
Cool. Haven’t played with that yet. Thanks!
-
I have the issue that my DSL modem currently hangs occasionally. Restarting the modem solves that. However the PPPoE client terminates then and doesn't reconnect when the modem is back up. I have to bounce the firewall as well which is annoying. Can that be solved somehow?
thanks!
I could think of a process monitoring via monit and start when gone. Just search for monit mini howto here and play around with the features
The only issue with monit is whether the mpd pid is there or not, does it actually shutdown? If not then monit won't trigger as the pid is still there - unless you can think of another way.