Kong R7000 Configuration Best Practices or Working Solutions

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2, 3 ... 10, 11, 12  Next
Author Message
ghengis5
DD-WRT Novice


Joined: 18 Jan 2014
Posts: 4

PostPosted: Fri Jul 18, 2014 9:53    Post subject: Kong R7000 Configuration Best Practices or Working Solutions Reply with quote
The below thread contains best practices and working solutions for the KONG R7000. Thanks for all the time put into this thread by slider mike, RjG, and many others.

NO QUESTIONS PLEASE

OrNow that the main R7000 thread is closed, how about consolidating the working solutions for configuration in one short thread? This could address WIFI configuration, ddup, privoxy, optware, NAS, IPV6 and RjG/Frater's recovery script?

This would be a short thread with cleaned up/updated solutions


Last edited by ghengis5 on Wed Nov 01, 2017 23:26; edited 3 times in total
Sponsor
slidermike
DD-WRT Guru


Joined: 11 Nov 2013
Posts: 1487
Location: USA

PostPosted: Fri Jul 18, 2014 12:47    Post subject: Reply with quote
**last updated October 30 2016**
**as of Feb 2015** BrainSlayer & Kong now have a newer/working Broadcom driver that corrects the issue many users experienced with random router reboots due to certain 2.4ghz clients.

Exclamation BS builds are all labeled "beta" so your a tester if you install it. Report your findings in the forums but do not complain about free beta software.
Exclamation Kong builds are personal test builds (also referred to as PTB) so again please report your findings in the forums but do not complain about free beta software.

**WDS MAC BRICKING** :
routers are recoverable through the serial interface. The WDS bricking problem has been known about for months, but was not widely advertised. A trouble ticket was opened in TRAC (a development and bug tracking system), but was closed with no resolution. If you must have WDS then don't use any firmware newer than 25974 which uses older Broadcom drivers.

- Magnetron1.1

With the newer firmware Kong has noted the need to do a command line nvram erase to ensure a full reset to default for proper router operations on all Netgear routers.
The default var init behavior in dd-wrt is to only initialize vars with defaults, if they do not exist. And since some vars on several units need to be protected they will not even be cleared with factory defaults from webif.

For all netgear units "erase nvram" is safe and the way to ensure you have the params that I tested/defined.
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1034904&highlight=nvram#1034904


Regarding the R7000 and 128k firmware builds by Kong.
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1035649#1035649

Update firmware from command line
ddup example (at bottom of page by Kong)
http://www.afpapdc.dd-wrt.de/phpBB2/viewtopic.php?t=177443&postdays=0&postorder=asc&start=3135&sid=00007c9eb708323363f61c941fa760c4
ddup --help
Flashing by ddup does not remove your settings.

Script to copy Kong firmware and save locally.
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=303364

Bridge mode: Many users complain Bridge mode isn't working anymore.
Per redhawk0 the last good build with Bridge working is BrainSlayer 26125.

*** if you want to run Brain Slayer firmware, get it here***
ftp://ftp.dd-wrt.com/betas/

*** if you want to run Kong firmware, get it here***
http://www.desipro.de/ddwrt/

Traditional 30-30-30 resets are useless on ARM based routers.


I update this post as I see useful info/links.

Kong's tutorial webpages. Simple & basic "how to".
http://tips.desipro.de/

Some have had issues using the guest wifi setup on newer builds. This tutorial was linked by jebise101.
http://www.alexlaird.com/2013/03/dd-wrt-guest-wireless/

Kong firmware updates & read me's for the R7000.
http://www.desipro.de/ddwrt-ren/K3-AC-Arm/

Alternate page for Kong based firmware.
http://ddwrt.serdarevic.net/

Configuring the 5ghz wireless to achieve AC 1300 Mbps.
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=939897#939897

Adjusting ACK sensitivity for better throughput.
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=953621#953621

QoS best practices configuration example.
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=263940

How to add transmission to Kong ddwrt.
Credit goes to gil80
https://drive.google.com/file/d/0B-dutTOXysRrblI5TGpxNzB0VzA/view?usp=sharing

YAMon2 install
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=259806
"Excellent How to Install"
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=279583&sid=85441e745d27ed7f74dc5e04f8abb3ed

Zabbix basic install
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=270144&start=0

enable/disable 5ghz radio via command line
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=263538
wl -i eth2 down (or up to reverse)

Backup & restore router config via command line script.
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=887860

How to create a network share(SAMBA)to an attached USB drive.
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=913893#913893

How to add "Kill Switch" if vpn breaks.
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=279891

How to adjust roaming sensitivity when router is client.
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=953932#953932

How to block / Filter Outbound traffic to specific IP or network.
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=278796

How to block / filter outbound traffic to specific URLs.
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=949216#949216

How to install ipset/iptables on Kong 26000+ firmware
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=279586

How to adjust assign specific cpu to radios.
If you want to try it, add this to your start up script. It is all 1 line.
echo 2 > /proc/irq/163/smp_affinity && echo 1 > /proc/irq/169/smp_affinity

You can read more here.
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=279493&postdays=0&postorder=asc&start=0

Over Clock router cpu (thanks to Magnetron1.1)
nvram get clkfreq (get current clock rate)
nvram set clkfreq=1200,800 (OC cpu/ram stock)
nvram commit && reboot (write change & reboot)
Changing ram speeds to anything other than 800 appears to default the ram to 400. CPU OC is dependent upon you hardware.
Some get 1400/800 stable, some 1200/800.
Stock is 1000/800.
OC at your own risk.

Transmission on R7000 - how to (thanks to ddaniel51)
First you load the firmware build with BT included.
Then mount a usb drive to /opt.
Go to Services/NAS, enable Transmission, set the path to /opt/transmission, Save, Apply.
Open a browser, go to 192.168.1.1:9091 (router ip address if not default) to access the transmission GUI.
Search on the web for transmission tutorials. You'll find a bunch to choose from.

^^^ dd-wrt to stock firmware ^^^
(from Kongs read me)
To go back to netgear just flash netgear firmware from my build. I implemented this method and this is not always supported for other vendors.

^^^ Reset to default via GUI ^^^
For a reset just use the webif Administration->Factory defaults.

^^^ Reset to default via telnet ^^^
mtd -r erase nvram (this will reset & reboot it)

^^^ clear admin password via command line ^^^
By the way if you don't want to remember the cryptic password you can just set an empty password before flashing, at least this works when flashing back to netgear firmware you can then login without password.

nvram set http_passwd=""

^^^ restart gui interface from command line ^^^
stopservice httpd
startservice httpd

^^^ recover from bad flash or other boot issue ^^^
http://kb.netgear.com/app/answers/detail/a_id/19841/~/reinstall-the-firmware-on-a-router-without-the-setup-cd-recovery-tool

^^^ Serial cable ^^^
If you brick the router or need to watch things load before access to the OS then you will want a serial cable.
You can google for these key words "USB To RS232 TTL UART PL2303HX Auto Converter USB to COM Cable Adapter Module"
Also: http://www.dd-wrt.com/wiki/index.php/Serial_Recovery
With pictures:
http://www.myopenrouter.com/article/how-debrick-or-recover-netgear-r7000-r6300v2-or-r6250-wi-fi-routers

^^^ Recover from bad flash on a Mac ^^^
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1052590&sid=0e479cbada4213d8a5c61bce4de51e05#1052590

^^^ Disable Lights ^^^
add this to your startup script to disable the lights on your r7000.
for i in 2 3 8 9 12 13 17 18 ; do gpio enable $i ; done
for i in 14 15 ; do gpio disable $i ; done

Run this from the command line to disable the 4 LAN lights.
et robowr 0x0 0x18 0x1ff
et robowr 0x0 0x18 0x0
et robowr 0x0 0x1a 0x0

^^^ Having issues with random reboots? Try this ^^^ On code prior to 2/2015
from the command line run
nvram set wl0_ampdu=off

^^^ How to configure Tor ^^^
Thanks to Haggismn, it is his work here.
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=946129#946129
5 posts in on 1st page.

^^^ How to managewrt.pl - A tool to manage lists of NVRAM settings ^^^
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=958000#958000

^^^ How to enable Air Time Fairness ^^^ On code prior to 3/2015
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=951004#951004[/color]

^^^ How to block Countries by country code ^^^
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=280462

_________________
Router currently owned:
Netgear R7800 - Router
Netgear R7000 - AP mode

R7000 specific Tips/Tricks.
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=264152


Last edited by slidermike on Sun Oct 30, 2016 13:50; edited 59 times in total
RjG
DD-WRT User


Joined: 01 Jul 2007
Posts: 81

PostPosted: Fri Jul 25, 2014 21:20    Post subject: Reply with quote
I updated the backup script today, minor changes
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=907162#907162
ghengis5
DD-WRT Novice


Joined: 18 Jan 2014
Posts: 4

PostPosted: Tue Aug 05, 2014 0:39    Post subject: IPV6 to Kong Reply with quote
I believe this is the best link right now to configuring IPV6 for the R7000 with Kong's firmware:

http://www.dd-wrt.com/phpBB2/viewtopic.php?p=895894#895894
Shiwata
DD-WRT Novice


Joined: 31 Mar 2014
Posts: 20

PostPosted: Wed Aug 06, 2014 15:37    Post subject: Reply with quote
HMM I see transmission guide in OP states to put it in /OPT partition, but mine has been running from the /JFFS one, since thats what the browser gui had it set to standard, would that be lead to any issues?
slidermike
DD-WRT Guru


Joined: 11 Nov 2013
Posts: 1487
Location: USA

PostPosted: Wed Aug 06, 2014 15:43    Post subject: Reply with quote
shiwata,
please do not muddle this sticky with questions or comments.
This sticky is just for tips & how to info on the R7000.

If you have a comment or question please create a new thread.

We need to keep this sticky as focused as possible so 6 months later we don't have to wade through posts that do not offer useful info.

Thank you

_________________
Router currently owned:
Netgear R7800 - Router
Netgear R7000 - AP mode

R7000 specific Tips/Tricks.
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=264152
JN
DD-WRT Guru


Joined: 29 Mar 2007
Posts: 771

PostPosted: Sun Aug 10, 2014 4:35    Post subject: Reply with quote
How to run tor on R7000

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=261864&highlight=
mchaney
DD-WRT User


Joined: 26 Apr 2013
Posts: 389

PostPosted: Thu Aug 14, 2014 16:21    Post subject: Reply with quote
Rather than just delete my previous post which didn't belong here, I thought I'd share a working solution that is working for me...

I believe I may have found a working solution (or at least partial work-around) to the reboot problem for those of us that have reboots with NEWD versions after 24345. After making the following changes, I've not gotten any reboots on 24800. Interestingly, it appears that disabling WMM might be the major factor since when I re-enable WMM, I get a reboot after just a few hours. With the following settings however, I've gone 7 days with no reboots (so far) which is longer than any previous attempt. Maybe these will help:

On Wireless main tab:
- Disabled TurboQAM (I was already on 20Mhz width)

On WL0 and WL1 Advanced tab:
- Set Beacon Interval to 200
- Set DTIM interval to 5
- Set shortslot override to LONG
- Disabled WMM support
- If you are running QOS: disable that too

As stated above, these are the settings I'm running but it is possible that just disabling WMM would do the trick for many of us having reboots. Worth a try as others have reported at least limited success. You can leave feedback in the other thread: specific to the cause for reboots.

Mike


Last edited by mchaney on Tue Aug 19, 2014 18:49; edited 5 times in total
phinn
DD-WRT User


Joined: 15 Sep 2014
Posts: 51

PostPosted: Mon Sep 15, 2014 21:49    Post subject: Reply with quote
Here is a solution provided by Kong and Poketix for DLNA streaming performance using minidlna:
http://www.myopenrouter.com/forum/thread/56675/Kong-24500-external-USB-HDD-causes-router-crash/#19931

Summary of Poketix's post:
1. Use a USB flash drive. Create one or two ext3/ext4 partitions on it. Second partition might be useful if you decide to install some extra SW packages (check http://www.dd-wrt.com/wiki/index.php/Optware) If not then one partition is enough. You can use the free EaseUS Partition Master to create and format the partitions from Windows.
2. Disable DLNA via WebUI
3. Plug the formatted flash disk into the rear USB2 connector.
4. Configure JFFS as explained there: http://www.dd-wrt.com/wiki/index.php/JFFS
(Note that Kong's WebUI allows mounting of the partition to JFFS from the Services->USB page. JFFS2 configuration is on the Administration page.)
5. Enable DLNA and clear database. After your media disk is scanned minidlna stores database on the external flash disk.
robinemig
DD-WRT Novice


Joined: 05 Oct 2014
Posts: 1

PostPosted: Sun Oct 05, 2014 4:37    Post subject: Kong Build R7000 multiple routers Reply with quote
Like many, I've had the multi reboot issue with DD-wrt and specifically with the kong builds. However, if I take two routers, turn one into wireless only and the other into router only (wireless off), then connect one to the other, I get all functionality and no reboots. This doesn't make sense to me, but thought I'd throw that out there to see if it helps anyone
timg11
DD-WRT User


Joined: 22 Aug 2012
Posts: 62

PostPosted: Mon Oct 13, 2014 20:35    Post subject: Reply with quote
slidermike wrote:
Here are a few.

Kong firmware updates & read me's for the R7000.
http://desipro.de/ddwrt/K3-AC-Arm/


This site desipro.de has been re-arranged. Until slidermike can update the first post in this thread, here is the correct link for the R7000 files:

http://www.desipro.de/ddwrt-ren/K3-AC-Arm/

Once you get there, you will see about 15 builds to choose from. The first thing to do is get dd-wrt.K3_R7000.chk from the Initial directory.

The next question is which build to load after the Initial version?

I this thread, recommendations are:

24345 OLDD
24800

In this thread slidermike says "25090M is the last official Kong release for the general user."

Also note that one user has reported random unrecoverable lock-ups with 24345M
justyourimage
DD-WRT User


Joined: 04 Nov 2014
Posts: 113

PostPosted: Thu Nov 27, 2014 21:58    Post subject: Reply with quote
Tought since I made this for my R7000 I might include it here (with BS 25408 - but should be working on older Kong Builds as well):

[Script] Adblock Plus Filters for Privoxy (without Optware)
killmasta93
DD-WRT User


Joined: 13 Feb 2015
Posts: 112

PostPosted: Thu Apr 16, 2015 22:24    Post subject: Reply with quote
is there any guide for installing squid ipkg on the r7000?
Thireus
DD-WRT User


Joined: 12 Mar 2009
Posts: 93

PostPosted: Thu Apr 23, 2015 7:50    Post subject: Reply with quote
killmasta93 wrote:
is there any guide for installing squid ipkg on the r7000?


+1

Also, the builds available in that directory are old (2014): http://www.desipro.de/ddwrt-ren/K3-AC-Arm/

Where can I find updated builds for my R7000?

_________________
www.DareYourMind.net
slidermike
DD-WRT Guru


Joined: 11 Nov 2013
Posts: 1487
Location: USA

PostPosted: Thu Apr 23, 2015 12:49    Post subject: Reply with quote
Really?
Re-read my post (2nd in the list).
Your question was answered near the top of my post.

Also, this is NOT a question thread, Its a help/link thread.
If you have questions then create a new thread with your questions.
Thireus wrote:

Also, the builds available in that directory are old (2014): http://www.desipro.de/ddwrt-ren/K3-AC-Arm/

Where can I find updated builds for my R7000?

_________________
Router currently owned:
Netgear R7800 - Router
Netgear R7000 - AP mode

R7000 specific Tips/Tricks.
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=264152
Goto page 1, 2, 3 ... 10, 11, 12  Next Display posts from previous:    Page 1 of 12
Post new topic   This topic is locked: you cannot edit posts or make replies.    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