how to enable interface from cli (Lan disabled)
-
Hi,
I've disabled the lan interface from the GUI and forgot to enable Gui access on another LAN interface and am therefor locked out.
Is it possible to enable this interface from the cli?
I've tried option 12) PHP ad did $config['interfases']['lan']['enable'] = true;
write_config();but it's still disabled.
Any clues/hints please?
regards
-
@nikmiddleton Console option 15?
-
Yes that would have been too easy. Unfortunately there are only 30 entries and every time there's an hourly firewall feed update it's added to that list, so it's scrolled off the list now. (I've been unable to go to site as yet)
regards
-
@nikmiddleton Have you tried a basic ifconfig <interface_name> up?
-
Nope, that doesn't work either I'm afraid
What DOES work is selecting option 2 from menu, then re-entering ip address for LAN, and hey presto it's enabled again :)
Thanks for your help in this, much appreciated
regards