I have Gargoyle 1.12.0 installed on a GL.iNet GL-AR150.
Any power cut results in DHCP no longer working after restart.
I suspect stale/corrupt DHCP leases.
Gargolyle router persists DHCP leases in the file /tmp/dhcp.leases
Steps to reconnect:
- Configure the connecting computer to use a static IP address.
- Login to Gargoyle router
- Connection > DHCP
- Untick "LAN DHCP Server Enabled", Save
- Tick "LAN DHCP Server Enabled", Save
- Reconfigure the connecting computer to use DHCP.
- System > Router Access
- Enable Remote SSH Access
- Ensure Remote Web Admin Access is on and set to HTTPS (optional - if configuring from a computer on the WAN subnetwork)
- $ ssh root@192.168.1.1 (or from WAN subnetwork)
- Enter gargoyle password
- vim /etc/config/dhcp
- option leasefile '/tmp/dhcp.leases'
- change to
- option leasefile ''