OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: LogicEthos on March 17, 2021, 12:07:26 AM

Title: OpnSense isn't very set and forget.
Post by: LogicEthos on March 17, 2021, 12:07:26 AM
Twice this month, I have lost WAN.  PPPoE was still running (according to the UI), but restarting it fixed it.
Then today UBound stopped for no apparent reason.

I expect services to restart, when there is a problem.  Or at least allow for a restart if certain conditions are not met, like pinging an external server.
Title: Re: OpnSense isn't very set and forget.
Post by: meazz1 on March 17, 2021, 12:47:34 AM
Don't know what hardware you're using but my X86 running Opnsense never needs any rebooting or shows symptoms you described.
It only gets rebooted when I apply firmware updates.
Title: Re: OpnSense isn't very set and forget.
Post by: LogicEthos on March 17, 2021, 01:22:45 AM
It's a Ryzen Mini-ITX board. I don't believe there is anything wrong with it. Worked great for two years, but with the occasional loss of services.

Even if it was caused by a hardware issue, I would have expected services to attempt to restart.
Title: Re: OpnSense isn't very set and forget.
Post by: marjohn56 on March 17, 2021, 01:31:17 AM
Quote from: LogicEthos on March 17, 2021, 12:07:26 AM
Twice this month, I have lost WAN.  PPPoE was still running (according to the UI), but restarting it fixed it.
Then today UBound stopped for no apparent reason.

I expect services to restart, when there is a problem.  Or at least allow for a restart if certain conditions are not met, like pinging an external server.


Easy enough to do with monit, that's what its there for.
Title: Re: OpnSense isn't very set and forget.
Post by: LogicEthos on March 17, 2021, 01:51:39 PM
monit seems to be about sending alerts/e-mails.

When a service is set to run as default, I would expect that service to restart if it crashed, or at least have the option to do that.

Can monit do that for Unbound? I couldn't find any examples.
Title: Re: OpnSense isn't very set and forget.
Post by: Patrick M. Hausen on March 17, 2021, 02:41:05 PM
Monit can watch and restart services as well as send mails.
Title: Re: OpnSense isn't very set and forget.
Post by: SFC on March 17, 2021, 02:55:40 PM
Quote from: LogicEthos on March 17, 2021, 12:07:26 AM
Twice this month, I have lost WAN.  PPPoE was still running (according to the UI), but restarting it fixed it.
Then today UBound stopped for no apparent reason.

I expect services to restart, when there is a problem.  Or at least allow for a restart if certain conditions are not met, like pinging an external server.

Is that using a realtek NIC?  Have you looked at the logs to verify if the RE driver is crashing?