after installing the web gui (luci) on the router and trying to connect i am getting the following error
/usr/lib/lua/luci/dispatcher.lua:247: /etc/config/luci seems to be corrupt, unable to find section 'main'
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:247: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:144: in function </usr/lib/lua/luci/dispatcher.lua:143>
i have rebooted the router and OpenWRT is installed ok and still on there so the issue seems to be with luci
Having looked extensivly last night it seemss a few others have had it as well, so i tried a few suggested fixes but still the same.
Anyone have any ideas what i can try now? I am almost at the stage where i can install the full ddwrt package but without the web gui i cant get any further.
things i have tried
1) start, stopping and restarting the rpcd service
2) creating a new luci config ) seemed to be missing initially
3) re installing luci by forcing reinstall
4) setting permissions with chmod to 777 on the config folder and all contents.
How can i go back to stock as that would be a great idea to start with.
I have opened a bug on openwrt github and Jo did answer last night but waiting for more help ad he suggested restarting the service which i had already done.
If you can tftp ddwrt file why do people do the complicated 12 step guide to installing openwrt just so they can then install a web gui that allows to flash the ddrwt through a web interface?
Joined: 23 Sep 2017 Posts: 229 Location: Swindon, UK
Posted: Sat Jul 20, 2019 16:23 Post subject:
Not sure old versions will work using any method from the latest Netgear firmware (or like you say why go through all the complicated steps).
But you can get all old versions of the firmware from the link below (right back to the initial release). Just click on the 'plus +' sign for 'view previous version's' near the bottom of the page.
If you want dd-wrt on it, you flash back to stock, then flash dd-wrt. LuCI has nothing to do with dd-wrt. _________________ I am far from a guru, I'm barely a novice.
Joined: 23 Sep 2017 Posts: 229 Location: Swindon, UK
Posted: Sat Jul 20, 2019 16:59 Post subject:
Malachi, the problem is stock netgear firmware does not allow dd-wrt to be installed as ti does not allow lower versions of firmware. The fix was to install a specially compiled version or openwrt, install luci to get the gui and then install dd-wrt. but the OP has issues getting luci installed on openwrt. Maybe because the version of openwrt installed does not support the new version of luci? _________________ Router Model: Netgear R8000
Firmware: DD-WRT v3.0-r41813 std (12/29/19)
Modem: Super Hub 3.0
ISP: Virgin Media 350/35 Mbps
Joined: 23 Sep 2017 Posts: 229 Location: Swindon, UK
Posted: Sat Jul 20, 2019 17:16 Post subject:
If it was me I would try and TFTP a slightly older version of the netgear firmware, that does allow dd-wrt to be installed (not sure when they made the changes to stop older versions being installed but think it is fairly recent).
I would use the instructions below and then install dd-wrt from the netgear GUI.
Of course, this is up to you if you do this. Not my fault if it all goes pete tong _________________ Router Model: Netgear R8000
Firmware: DD-WRT v3.0-r41813 std (12/29/19)
Modem: Super Hub 3.0
ISP: Virgin Media 350/35 Mbps
Joined: 23 Sep 2017 Posts: 229 Location: Swindon, UK
Posted: Sat Jul 20, 2019 17:24 Post subject:
Only issue I can see is if the netgear firmware forces you to update to the latest netgear firmware during initial setup. cannot remember if it odes this or not. Maybe disconnecting it from the internet would prevent this it it were the case?
I also read on the openwrt site something about stripping the firmware? to revert back to stock?
not sure if this is an issue? _________________ Router Model: Netgear R8000
Firmware: DD-WRT v3.0-r41813 std (12/29/19)
Modem: Super Hub 3.0
ISP: Virgin Media 350/35 Mbps
Malachi, without a working luci you cannot install ddwrt on a netgear r8000.
Check the guide link i followed in my firat post.
Unless of course ypu know a different way to install ddwrt without installing a squashedfs openwrt ?
Happy to know how.
I understand what you are saying. I’m saying you should never install dd-wrt from luci.
You should always go back to stock first.
Doesn’t openwrt have a failsafe built in?
The instruction for Netgear tftp won’t work on these newer Broadcom routers.
My advice is to get a usb serial adapter and flash it that way. Every user of custom firmware should have one.
Google dd-wrt serial recovery and you’ll see the adapter I use. In 5 minutes you’ll be done flashing and less than $5. _________________ I am far from a guru, I'm barely a novice.
Last edited by Malachi on Sat Jul 20, 2019 23:53; edited 1 time in total