Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Firewall requires reboot
« previous
next »
Print
Pages: [
1
]
Author
Topic: Firewall requires reboot (Read 2613 times)
dcol
Hero Member
Posts: 635
Karma: 51
Firewall requires reboot
«
on:
August 15, 2021, 08:31:37 pm »
I have an OPNsense appliance with Intel NIC's connected to a Westell G60 DSL Model using PPPoE on the WAN port. The modem is set to bridge mode.
Here is the issue. Every time the modem loses power or Internet connectivity, the firewall needs to be rebooted before the WAN works again. Is there something that I can do in the firewall to automatically reboot if the WAN or gateway is down?
I did see in another port the option for "Periodic reset". Where is this found?
Logged
dcol
Hero Member
Posts: 635
Karma: 51
Re: Firewall requires reboot
«
Reply #1 on:
August 15, 2021, 08:59:39 pm »
With some forum searching I have found that what is happening is the interface goes down, not the WAN. So a simple ipconfig igb0 down then up brings the network back. So The WAN is up, just the LAN interface went down. So how can I setup a cron job or some other technique to fix this automatically?
Logged
dcol
Hero Member
Posts: 635
Karma: 51
Re: Firewall requires reboot
«
Reply #2 on:
August 15, 2021, 09:40:44 pm »
More tests revealed the ix interfaces did not go down, just all the igb interfaces. maybe a tunable will help?
The WAN is on ix1 LAN is on igb0
Here are the only igb specific tunables I use
dev.igb.0.eee_disabled = 1
dev.igb.1.eee_disabled = 1
dev.igb.2.eee_disabled = 1
dev.igb.3.eee_disabled = 1
dev.igb.0.fc="0"
hw.igb.rx_process_limit="-1"
hw.igb.tx_process_limit="-1"
Logged
dcol
Hero Member
Posts: 635
Karma: 51
Re: Firewall requires reboot
«
Reply #3 on:
August 17, 2021, 12:37:36 am »
Anyone...
I have seen this issue on other posts, but never any usable solutions. Tried the Cron job with a script but never found any way to manually install a Cron job. Any reference I saw did not have the complete steps. Not sure what to do with the actions. OPNsense should really have a simple way to run a manual scheduled script in the WEBgui.
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: Firewall requires reboot
«
Reply #4 on:
August 17, 2021, 01:20:18 am »
Monit may be better suited to this than cron
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Firewall requires reboot