Was not home so I had my daughter reboot Opnsense. Then the internet was back up.
Quote from: Dayve on August 27, 2020, 06:31:05 pmWas not home so I had my daughter reboot Opnsense. Then the internet was back up.Unless you do a graceful reboot/shutdown from GUI or over ssh you might end up with a corrupted filesystem.
Surely there is something built-in to opnsense that can get the internet back without rebooting from within the GUI?
Didn't think I would have to cron a script to reboot as mentioned a few posts above.
/usr/local/sbin/configctl interface linkup stop ue0 /usr/local/sbin/configctl interface reconfigure ue0/usr/local/sbin/configctl interface linkup start ue0
Quote from: jimbobjones on October 03, 2023, 04:32:49 amSurely there is something built-in to opnsense that can get the internet back without rebooting from within the GUI?unfortunately not.Quote from: jimbobjones on October 03, 2023, 04:32:49 amDidn't think I would have to cron a script to reboot as mentioned a few posts above.you might look into finagling a cron script to restart the interface instead of rebooting the entire machine. these are the lines i use for just such an approach:Code: [Select]/usr/local/sbin/configctl interface linkup stop ue0 /usr/local/sbin/configctl interface reconfigure ue0/usr/local/sbin/configctl interface linkup start ue0 don't let the naysayers poopoo the use of cron for something alternatively addressed with the likes of redis. until a redis plugin for opnsense gets closer to feature parity with CLI the amount of sorcery involved in making it work simply ain't worth the trouble.