OPNsense Forum

English Forums => General Discussion => Topic started by: fatmann66 on November 08, 2016, 03:10:58 am

Title: isp modem reboot = no internet
Post by: fatmann66 on November 08, 2016, 03:10:58 am
when  modem is rebooted, but not opnsense router I have  no internet. 

if I reboot opnsense router then WAN port comes up and internet is available again.

obviously this is a pain.  most router these days detect WAN interface state and come back online without having to be rebooted. is there a setting I can change to make  the WAN interface reset after it goes down?

also.  is there a way to prevent a service from starting automatically? specifically after rebooting the openVPN client service starts up. I use this on occasion and don't want it to start on reboot. how can I change this to "manual"
thanks in advance,
Title: Re: isp modem reboot = no internet
Post by: bartjsmit on November 08, 2016, 02:58:23 pm
Is your gateway monitor running when you bounce the modem?

You can set an OpenVPN client to disabled and enable it when you need it.

Bart...
Title: Re: isp modem reboot = no internet
Post by: franco on November 08, 2016, 08:56:23 pm
I'm going to ask my crystal ball: is your WAN port using the em(4) driver on OPNsense 16.7.x?

There is no way to prevent a client from starting short of disabling it. :)
Title: Re: isp modem reboot = no internet
Post by: fatmann66 on November 09, 2016, 05:32:29 am
thanks for the replies.

Franco,

can I check the driver from the Gui? or would I have to console in to do that? If I find out  it is the driver you mention what are my options?
thanks,
Fatmann66
Title: Re: isp modem reboot = no internet
Post by: fatmann66 on November 09, 2016, 05:45:14 am
bartjsmit ,

when I check the Gateway Status monitor = none  so I assume not.  this isn't enabled by default?

ok,  looked through the WAN config and cleared the check for "Disable Gateway Monitoring" added 8.8.8.8 as monitor IP.

checked status and everything is listed as pending.
Title: Re: isp modem reboot = no internet
Post by: franco on November 09, 2016, 07:19:06 am
You can see the driver name from the Interfaces: Assignments page in the drop down box for WAN (first word).
Title: Re: isp modem reboot = no internet
Post by: fatmann66 on November 10, 2016, 02:45:54 am
I assume "em" is the driver and (0) is the port number? see below


(http://i67.tinypic.com/2e1u3vt.jpg)
Title: Re: isp modem reboot = no internet
Post by: franco on November 10, 2016, 09:58:04 am
Yes, we have a winner. Install the "os-intel-em" plugin and reboot. This link state issue is a known issue in FreeBSD since 10.3.

It should work after that with the original Intel driver. :)


Cheers,
Franco
Title: Re: isp modem reboot = no internet
Post by: fatmann66 on November 11, 2016, 05:15:45 am
Thanks Fanco!,

It's installed. I'll schedule a reboot and see how we do.