Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Impatient Click - Lost Access to OPNsense (Solved)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Impatient Click - Lost Access to OPNsense (Solved) (Read 575 times)
max-e-moose
Newbie
Posts: 2
Karma: 0
Impatient Click - Lost Access to OPNsense (Solved)
«
on:
January 21, 2023, 05:49:39 pm »
Hi all,
Been lurking around here and using OPNsense for around 6 months. Very happy with it. Much appreciation to the devs and community.
Recently, I noticed my ISP connection was down so logged in to OPNsense to confirm what was going on. Sure enough there was no IP on the WAN. The connection had been down for around a half hour so I decided to reboot OPNsense. Maybe the connection would return, I derped to myself. It was nearing midnight.
After the reboot there was still no WAN connection but there were loads of services showing as stopped on the Lobby Dashboard. Acme, ddclient, dhcpd, unbound and a few others all showed as stopped. Odd. Some of those should be running, even without WAN. Give it a few minutes, they'll start up. 10 minutes later, refresh the page, no change. Hmmmm... OPNsense is usually very quick to become ready.
This is when the click happened. There were no issues with LAN connectivity at the time but those red stopped service icons got the better of me. I clicked start on dhcpd then immediately lost access to the Web GUI. All devices on the network stopped being able to communicate. Uh-oh. I f****d it.
It took a little while to figure out but I was able to get up and running again. Fixing it involved jumping into Single User mode, mounting the filesystem as read/write, and editing conf/config.xml using vi. The problem was caused by a line in the dhcpd section which had changed after I clicked start on dhcpd.
Code:
[Select]
<dhcpd>
<lan>
<enable>1</enable>
....
When I compared that to
the sample on GitHub
, I noticed a slight difference on the "enable" line.
Code:
[Select]
<dhcpd>
<lan>
<enable/>
....
I changed the enable line in my config to match the sample, saved and rebooted. Everything came back, including my WAN connection as the ISP was up again! ****. Hello 1:30am.
With that crisis averted, I wanted to flag this experience to the community as it seemed like this is not the expected behaviour from OPNsense in that scenario. Surely clicking on start dhcpd shouldn't have resulted in my system becoming inaccessible?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Impatient Click - Lost Access to OPNsense (Solved)