Netgear R8000 Successful Install

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
robert.juric
DD-WRT Novice


Joined: 24 Sep 2019
Posts: 9

PostPosted: Tue Sep 24, 2019 13:37    Post subject: Netgear R8000 Successful Install Reply with quote
Man I had quite the time last night trying to flash my new Netgear R8000 router. The files listed in the downloads did not work from the Netgear GUI. Since I had to do a lot of research to get this to work I thought I would share my experience real quick. Hopefully this helps someone in the future.

Most of my info came from another thread, but it only got my half-way there. I used the OpenWRT image that was attached in the thread https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315110&postdays=0&postorder=asc&start=37. I will attach it to my post as well.
I was able to flash that OpenWRT image from the Netgear GUI. However there was no web-interface. The other thread started talking about a long process to install LUCI, but that ultimately failed for them, as well for me.

What I ended up doing was first getting my new router internet access. I did this by changing the lan interface settings so I could add a gateway and DNS settings to reach the internet without have to plug up the WAN interface directly to the modem. There are probably multiple ways to tackle that, but basically you need to be able to SSH into OpenWRT and allow it to have internet access.

Once I had internet access I downloaded the Kong image with wget. The first issue is that most of the links point to desipro.de which doesn't appear to be up anymore. I also found out wget doesn't support SSL, so I had to find another regular http source. I ended up using http://dd-wrt.tweakedrom.com/Kong_PTB/K3-AC-ARM_31870_2017-04-16/dd-wrt.K3_R8000.chk.

Once I had a DD-WRT image on the device I tried flashing it a few ways. I couldn't get the tftp boot recovery thing to work and the mtd write commands didn't work either. I found an OpenWRT document that listed a different command and that was able to successfully work.

The tl;dr summary:
1. Install OpenWRT via Netgear GUI (see attached file).
2. SSH into OpenWRT
Code:
ssh 192.168.1.1 (root, no pw)

3. Verify/establish internet connectivity (see next post)
4. Download DD-WRT image
Code:
cd /tmp
wget http://dd-wrt.tweakedrom.com/Kong_PTB/K3-AC-ARM_31870_2017-04-16/dd-wrt.K3_R8000.chk

5. Flash DD-WRT image
Code:
sysupgrade -v /tmp/dd-wrt.K3_R8000.chk

6. This should complete and reboot into DD-WRT.



dd-wrt.K3_R8000.chk
 Description:

Download
 Filename:  dd-wrt.K3_R8000.chk
 Filesize:  21.41 MB
 Downloaded:  561 Time(s)


openwrt-bcm53xx-netgear-r8000-squashfs.chk
 Description:

Download
 Filename:  openwrt-bcm53xx-netgear-r8000-squashfs.chk
 Filesize:  7 MB
 Downloaded:  541 Time(s)

Sponsor
robert.juric
DD-WRT Novice


Joined: 24 Sep 2019
Posts: 9

PostPosted: Tue Sep 24, 2019 13:46    Post subject: Reply with quote
I wanted to separate this to not create any confusion. If you need a way to get OpenWRT internet access, this is one option that worked for me.

Physical setup:
I had an existing router which my PC was wired into. This gave my laptop internet access and access to the local 192.168.1.0/24 network. I then connected one of the LAN ports of the new router to the existing router. This worked for me because my normal gateway was 192.168.1.254 and OpenWRT defaults to 192.168.1.1.

After that I could SSH into 192.168.1.1.

I decided to change the lan interface settings to give it a default gateway and DNS so it could reach out to the internet. This is done via the /etc/config/network file, and you have to use VIM to edit it (not fun).

vim /etc/config/network
enter 'i' to enter insert mode
scroll down the the LAN interface settings and add
be sure to adjust the gateway to match your network
option gateway '192.168.1.254'
option dns '8.8.8.8'
enter 'esc' to exist insert mode
enter ':wq' to save and exit

/etc/init.d/network restart
ping 8.8.8.8
ping google.com

If both of those pass you should be able to download an image via wget now.
ge0rgi
DD-WRT Novice


Joined: 24 Sep 2019
Posts: 11

PostPosted: Wed Sep 25, 2019 13:34    Post subject: Re: Netgear R8000 Successful Install Reply with quote
robert.juric wrote:
Man I had quite the time last night trying to flash my new Netgear R8000 router. The files listed in the downloads did not work from the Netgear GUI. Since I had to do a lot of research to get this to work I thought I would share my experience real quick. Hopefully this helps someone in the future.

Most of my info came from another thread, but it only got my half-way there. I used the OpenWRT image that was attached in the thread https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315110&postdays=0&postorder=asc&start=37. I will attach it to my post as well.
I was able to flash that OpenWRT image from the Netgear GUI. However there was no web-interface. The other thread started talking about a long process to install LUCI, but that ultimately failed for them, as well for me.

What I ended up doing was first getting my new router internet access. I did this by changing the lan interface settings so I could add a gateway and DNS settings to reach the internet without have to plug up the WAN interface directly to the modem. There are probably multiple ways to tackle that, but basically you need to be able to SSH into OpenWRT and allow it to have internet access.

Once I had internet access I downloaded the Kong image with wget. The first issue is that most of the links point to desipro.de which doesn't appear to be up anymore. I also found out wget doesn't support SSL, so I had to find another regular http source. I ended up using http://dd-wrt.tweakedrom.com/Kong_PTB/K3-AC-ARM_31870_2017-04-16/dd-wrt.K3_R8000.chk.

Once I had a DD-WRT image on the device I tried flashing it a few ways. I couldn't get the tftp boot recovery thing to work and the mtd write commands didn't work either. I found an OpenWRT document that listed a different command and that was able to successfully work.

The tl;dr summary:
1. Install OpenWRT via Netgear GUI (see attached file).
2. SSH into OpenWRT
Code:
ssh 192.168.1.1 (root, no pw)

3. Verify/establish internet connectivity (see next post)
4. Download DD-WRT image
Code:
cd /tmp
wget http://dd-wrt.tweakedrom.com/Kong_PTB/K3-AC-ARM_31870_2017-04-16/dd-wrt.K3_R8000.chk

5. Flash DD-WRT image
Code:
sysupgrade -v /tmp/dd-wrt.K3_R8000.chk

6. This should complete and reboot into DD-WRT.


Followed the instructions and connecting via http to the router control GUI after the flash works. However, the router now cannot pull an IP from the cable modem even though I’ve selected DHCP in the Setup>WAN tab. My guess is there’s an issue with K3-AC-ARM_31870_2017-04-16/dd-wrt.K3_R8000.chk that was flashed. Looks like all of the lan/wan hardline ports are disabled. Wifi still works with no internet.

After the flash I cannot ssh to the router via hardline and also ftp during bootup no longer works. At this point the router is bricked because I cannot access it to flash a working .chk and it can’t go out to the internet.
robert.juric
DD-WRT Novice


Joined: 24 Sep 2019
Posts: 9

PostPosted: Wed Sep 25, 2019 14:23    Post subject: Reply with quote
If its booting up to a DD-WRT image and you can access the GUI then it's not bricked.

Just to confirm, you flashed the OpenWRT image and then flashed the DD-WRT image, which you can now access? That's not bricked, but I'm not sure why your interfaces were disabled though.

If you want you can flash the firmware from the Admin>Firmware Upgrade tab.

SSH is disabled by default in DD-WRT, you can enable it from the Services tab if you wish.
giorgik
DD-WRT Novice


Joined: 04 Nov 2019
Posts: 1

PostPosted: Mon Nov 04, 2019 6:39    Post subject: Reply with quote
Dope article, worked with the latest stock firmware on the router (V1.0.4.46_10.1.63)

Thought I could contribute: Instead of depending on unencrypted ddwrt firmware being available over http, you can copy whatever firmware you want to flash via SCP protocol from your machine: SCP stands for Secure Copy Protocol and is part of SSH specification: https://en.wikipedia.org/wiki/Secure_copy
It's available on most(all?) *NIX distros as "scp" command.
You can run
Code:
scp dd-wrt.K3_R8000_6.chk  root@192.168.1.1:/tmp
from your local machine to copy the file to the router. This makes the whole process described in the first post super easy.

Hope someone finds this helpful.

Cheers!
johnnyNobody999
DD-WRT Guru


Joined: 10 Jan 2014
Posts: 504

PostPosted: Fri Nov 08, 2019 16:48    Post subject: Reply with quote
I was considering purchasing the R8000 but from what I've read so far I'm going to pass on this if installing dd-wrt is really so difficult.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12881
Location: Netherlands

PostPosted: Sun Nov 10, 2019 9:54    Post subject: Reply with quote
BS has updated the version number.

With DDWRT builds after build number 41489 it should work to upgrade from stock to DDWRT without the OpenWRT route.

see: https://svn.dd-wrt.com/ticket/6888

Of course you have to follow the correct procedure coming from stock.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
johnnyNobody999
DD-WRT Guru


Joined: 10 Jan 2014
Posts: 504

PostPosted: Sun Nov 10, 2019 17:58    Post subject: Reply with quote
egc wrote:
BS has updated the version number.

With DDWRT builds after build number 41489 it should work to upgrade from stock to DDWRT without the OpenWRT route.

see: https://svn.dd-wrt.com/ticket/6888

Of course you have to follow the correct procedure coming from stock.


The R7000 is newer than the R8000? From https://svn.dd-wrt.com/ticket/6888:

"..... It looks like the build number is checked just like the newer R7000....."

I'm not sure from what I'm reading that dd-wrt can be installed from the stock webgui. (?)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT 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