Netgear R8000 luci webgui error during downgrade process

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
Author Message
a7mag3ddon
DD-WRT User


Joined: 20 Sep 2013
Posts: 67

PostPosted: Sat Jul 20, 2019 9:36    Post subject: Netgear R8000 luci webgui error during downgrade process Reply with quote
Hello, I Have been trying to install ddwrt on my netgear r8000 router following the guide https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315110

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.

[/url]
Sponsor
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7246
Location: Columbus, Ohio

PostPosted: Sat Jul 20, 2019 12:06    Post subject: Reply with quote
You should go back to stock first. Have you asked on the openwrt forum?
_________________
I am far from a guru, I'm barely a novice.
a7mag3ddon
DD-WRT User


Joined: 20 Sep 2013
Posts: 67

PostPosted: Sat Jul 20, 2019 12:12    Post subject: Reply with quote
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.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 5223
Location: Akershus, Norway

PostPosted: Sat Jul 20, 2019 12:22    Post subject: Reply with quote
https://kb.netgear.com/000059634/How-to-upload-firmware-to-a-NETGEAR-router-using-Windows-TFTP
a7mag3ddon
DD-WRT User


Joined: 20 Sep 2013
Posts: 67

PostPosted: Sat Jul 20, 2019 12:31    Post subject: Reply with quote
Ahh ok i am fammiliar worh tftp from the old VM days.


Is it possible to go back to a stock firmware that doesnt have the version header check in for an easier upgrade to ddwrt ?

And... if it is, where could i get it.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 5223
Location: Akershus, Norway

PostPosted: Sat Jul 20, 2019 13:21    Post subject: Reply with quote
You should be able to TFTP the dd-wrt.chk file.
a7mag3ddon
DD-WRT User


Joined: 20 Sep 2013
Posts: 67

PostPosted: Sat Jul 20, 2019 13:43    Post subject: Reply with quote
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?
flakie
DD-WRT User


Joined: 23 Sep 2017
Posts: 204
Location: Swindon, UK

PostPosted: Sat Jul 20, 2019 16:23    Post subject: Reply with quote
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.

https://www.netgear.com/support/product/r8000.aspx#download

<edit> link fixed to correct version</edit>

_________________
Router Model: Netgear R8000
Firmware: DD-WRT v3.0-r40270M kongac (07/11/19)
Modem: Super Hub 3.0
ISP: Virgin Media 350/35 Mbps

a7mag3ddon
DD-WRT User


Joined: 20 Sep 2013
Posts: 67

PostPosted: Sat Jul 20, 2019 16:48    Post subject: Reply with quote
So before i start, the advice is to flash back to stock then try again amd not try and fix luci?
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7246
Location: Columbus, Ohio

PostPosted: Sat Jul 20, 2019 16:55    Post subject: Reply with quote
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.
flakie
DD-WRT User


Joined: 23 Sep 2017
Posts: 204
Location: Swindon, UK

PostPosted: Sat Jul 20, 2019 16:59    Post subject: Reply with quote
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-r40270M kongac (07/11/19)
Modem: Super Hub 3.0
ISP: Virgin Media 350/35 Mbps

flakie
DD-WRT User


Joined: 23 Sep 2017
Posts: 204
Location: Swindon, UK

PostPosted: Sat Jul 20, 2019 17:16    Post subject: Reply with quote
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.

https://kb.netgear.com/19841/Reinstall-the-firmware-on-a-router-without-the-setup-CD-recovery-tool

Of course, this is up to you if you do this. Not my fault if it all goes pete tong Wink

_________________
Router Model: Netgear R8000
Firmware: DD-WRT v3.0-r40270M kongac (07/11/19)
Modem: Super Hub 3.0
ISP: Virgin Media 350/35 Mbps

flakie
DD-WRT User


Joined: 23 Sep 2017
Posts: 204
Location: Swindon, UK

PostPosted: Sat Jul 20, 2019 17:24    Post subject: Reply with quote
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-r40270M kongac (07/11/19)
Modem: Super Hub 3.0
ISP: Virgin Media 350/35 Mbps

a7mag3ddon
DD-WRT User


Joined: 20 Sep 2013
Posts: 67

PostPosted: Sat Jul 20, 2019 17:29    Post subject: Reply with quote
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.
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7246
Location: Columbus, Ohio

PostPosted: Sat Jul 20, 2019 21:02    Post subject: Reply with quote
a7mag3ddon wrote:
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
Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next Display posts from previous:    Page 1 of 8
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum