Optimization can mean many things. This thread describes a number of steps which were tested
by @HELLO_wORLD, @kamoj, @R. Gerrits, myself and others in early 2020 and subsequent tests since.
Initially the idea was to stop the R7800 from running a number of processes which sent data to
Netgear and Amazon. These 'snitch' programs running on the router send data to who knows.
Much thanks to those mentioned above to discovering/testing these settings.
This discussion requires your R7800 is running a recent version of @Voxel's firmware.
At the time of this writing the most current is 1.0.2.80.5SF.
These settings can also be manipulated using the great @kamoj addon, including the separate settings needed for the R9000. This initial post will be edited/updated as needed.
Some things are nvram settings which can stop processes from running or modify the R7800's firmware web output.
Others are programs and scripts which are modified to never run, thereby stopping the undesired behavior.
This is an attempt to consolidate the knowledge learned into a single thread instead of the various
random threads where the conversation has occurred and the knowledge base has grown.
Links to some of these threads can be found at the end of this post.
All of these things can be set/modified through the telnet interface of the router.
If you have a USB stick permanently attached to your R7800 you can create a script which will autorun
on router startup to set any or all of these and survive Voxel firmware upgrades.
As shown below the scripts/settings are the most restrictive and turn off everything mentioned.
Make sure to modify the script as necessary to only do the things you actually want.
The following can be used as an autorun script or the lines can be entered via telnet.
What do these things mean/do:
new_sold_board - This setting controls whether the R7800 owner has the ablilty to opt-out of router usage data collection which is then sent to NetGear.
On newer R7800s sold recently this setting forces the router as opt-in and does not allow the older usual opt-out web interface to appear.
nocloud, nokwilt & transmission_disable - from the Voxel Readme: disables ReadyCLOUD, Kwilt and transmission if you will never use them.
qos_endis_on - endable/disable the Quality of Service processing on the R7800
endis_traffic - enable/disable the R7800 traffic meter. This should always be off to avoid R7800 internal memory chip corruption.
streamboost_enable - This 'snitch' sends information about your network use and attempts to update the QOS database which is long dead
readycloud_enable - another turn on/off ReadyCloud
green_enable_autorefresh_status - The green thing is the Netgear Downloader. The auto refresh status is the same as what you can find in Web settings/ADVANCED/Downloader Settings. The downloading task status will be refreshed automatically according to specified rate.
upnp_enable - enable/disable some basic upnp processes
upnp_enable_upnp - enable/disable some other basic upnp processes
upnp_enable_autoScan - enable/disable the R7800 searching for other upnp processes on the internal network
upnp_enableMedia - enable/disable the R7800 acting as a media server
upnp_enable_tivo - enable/disable the R7800 acting as a tivo media server
ftp_enable_internet - enable/disable ftp connections from the internet
usb_enableFTP - allow the R7800 to serve up the USB partition over FTP connections
traffic_disable_wan - This is only used in /sbin/traffic_meter. Looks like this variable controls whether or not traffic_meter should disable the WAN connection once a certain limit is reached.
# Disable print services - if you don't have a USB printer directly connected to your R7800 you can disable these processes
# Disable call servives (and enable visibility in GUI) - previously described new_sold_board
# disable Amazon Alexa and netgear 'snitch' programs - stop and disable these processes from running
# disable streamboost - stop and disable this process from running
# disable Qos - stop and disable the QoS processing and updates
# EXPERIMENTAL: *BEWARE* Included for completeness. Disables another process which checks for aws & streamboost (both of which we already disabled)
- strongly suggested by @kamoj to *NOT* do this
# forcibly ensure transmission can not run - ensure the binaries for transmission cannot run regardless of nvram settings
----------------------------------------------------------------------
Threads where parts of this conversation have occurred:
by @HELLO_wORLD, @kamoj, @R. Gerrits, myself and others in early 2020 and subsequent tests since.
Initially the idea was to stop the R7800 from running a number of processes which sent data to
Netgear and Amazon. These 'snitch' programs running on the router send data to who knows.
Much thanks to those mentioned above to discovering/testing these settings.
This discussion requires your R7800 is running a recent version of @Voxel's firmware.
At the time of this writing the most current is 1.0.2.80.5SF.
These settings can also be manipulated using the great @kamoj addon, including the separate settings needed for the R9000. This initial post will be edited/updated as needed.
Some things are nvram settings which can stop processes from running or modify the R7800's firmware web output.
Others are programs and scripts which are modified to never run, thereby stopping the undesired behavior.
This is an attempt to consolidate the knowledge learned into a single thread instead of the various
random threads where the conversation has occurred and the knowledge base has grown.
Links to some of these threads can be found at the end of this post.
All of these things can be set/modified through the telnet interface of the router.
If you have a USB stick permanently attached to your R7800 you can create a script which will autorun
on router startup to set any or all of these and survive Voxel firmware upgrades.
As shown below the scripts/settings are the most restrictive and turn off everything mentioned.
Make sure to modify the script as necessary to only do the things you actually want.
The following can be used as an autorun script or the lines can be entered via telnet.
Code:
#!/bin/sh
nvram unset new_sold_board
nvram set nocloud=1
nvram set nokwilt=1
nvram set transmission_disable=1
nvram set qos_endis_on=0
nvram set endis_traffic=0
nvram set streamboost_enable=0
nvram set readycloud_enable=0
nvram set green_enable_autorefresh_status=0
nvram set upnp_enable=0
nvram set upnp_enable_upnp=0
nvram set upnp_enable_autoScan=0
nvram set upnp_enableMedia=0
nvram set upnp_enable_tivo=no
nvram set ftp_enable_internet=0
nvram set usb_enableFTP=0
nvram set traffic_disable_wan=1
nvram commit
# Disable print services
[ -x /sbin/KC_BONJOUR ] && chmod -x /sbin/KC_BONJOUR
[ -x /sbin/KC_PRINT ] && chmod -x /sbin/KC_PRINT
ps | grep -F '/sbin/KC_' | awk '{print $1}' | xargs kill 2>/dev/null
# Disable call services (and enable visibility in GUI)
[ "$(grep -F 'config set new_sold_board=1' /etc/init.d/boot)" ] && { sed -i 's/\/bin\/config set new_sold_board=1/\/bin\/config unset new_sold_board/' /etc/init.d/boot; config unset new_sold_board; }
#disable Amazon Alexa and netgear 'snitch' programs
[ -x /usr/sbin/aws-iot ] && { chmod -x /usr/sbin/aws-iot; /etc/init.d/aws disable; }
[ -x /usr/sbin/ra_check ] && { chmod -x /usr/sbin/ra_check; }
# Disable traffic meter
[ -x /sbin/traffic_meter ] && { /etc/init.d/traffic_meter stop; chmod -x /sbin/traffic_meter; }
# Disable stream boost
[ -x /etc/init.d/streamboost ] && { /etc/init.d/streamboost stop; /etc/init.d/streamboost disable; chmod -x /etc/init.d/streamboost; chmod -x /usr/sbin/streamboost_status_monit; }
# Disable QoS
[ -x /sbin/dni_qos ] && { /etc/init.d/dni-qos stop; chmod -x /sbin/dni_qos; }
[ -x /sbin/qos.sh ] && chmod -x /sbin/qos.sh
# EXPERIMENTAL: Disable the process which checks for aws & streamboost that we already disabled - strongly suggested by @kamoj to *NOT* do this - BEWARE
[ -x /sbin/check_status.sh ] && { chmod -x /sbin/check_status.sh; ps|grep -F '/sbin/check_status.sh'|cut -d' ' -f1|xargs kill 2>/dev/null; }
# forcibly ensure transmission can not run
chmod -x /usr/bin/transmission-daemon
chmod -x /usr/bin/transmission-remote
What do these things mean/do:
new_sold_board - This setting controls whether the R7800 owner has the ablilty to opt-out of router usage data collection which is then sent to NetGear.
On newer R7800s sold recently this setting forces the router as opt-in and does not allow the older usual opt-out web interface to appear.
nocloud, nokwilt & transmission_disable - from the Voxel Readme: disables ReadyCLOUD, Kwilt and transmission if you will never use them.
qos_endis_on - endable/disable the Quality of Service processing on the R7800
endis_traffic - enable/disable the R7800 traffic meter. This should always be off to avoid R7800 internal memory chip corruption.
streamboost_enable - This 'snitch' sends information about your network use and attempts to update the QOS database which is long dead
readycloud_enable - another turn on/off ReadyCloud
green_enable_autorefresh_status - The green thing is the Netgear Downloader. The auto refresh status is the same as what you can find in Web settings/ADVANCED/Downloader Settings. The downloading task status will be refreshed automatically according to specified rate.
upnp_enable - enable/disable some basic upnp processes
upnp_enable_upnp - enable/disable some other basic upnp processes
upnp_enable_autoScan - enable/disable the R7800 searching for other upnp processes on the internal network
upnp_enableMedia - enable/disable the R7800 acting as a media server
upnp_enable_tivo - enable/disable the R7800 acting as a tivo media server
ftp_enable_internet - enable/disable ftp connections from the internet
usb_enableFTP - allow the R7800 to serve up the USB partition over FTP connections
traffic_disable_wan - This is only used in /sbin/traffic_meter. Looks like this variable controls whether or not traffic_meter should disable the WAN connection once a certain limit is reached.
# Disable print services - if you don't have a USB printer directly connected to your R7800 you can disable these processes
# Disable call servives (and enable visibility in GUI) - previously described new_sold_board
# disable Amazon Alexa and netgear 'snitch' programs - stop and disable these processes from running
# disable streamboost - stop and disable this process from running
# disable Qos - stop and disable the QoS processing and updates
# EXPERIMENTAL: *BEWARE* Included for completeness. Disables another process which checks for aws & streamboost (both of which we already disabled)
- strongly suggested by @kamoj to *NOT* do this
# forcibly ensure transmission can not run - ensure the binaries for transmission cannot run regardless of nvram settings
----------------------------------------------------------------------
Threads where parts of this conversation have occurred:
[R7800] RAE, cloudfront ??? Netgear snitch?
I noticed that I have something named Rae that was downloaded and installed. It seems to be related to Netgear, but what is it? I have readycloud, mediaserver, upnp, transmission, traffic meter, etc... disabled In tmp: root@HERMES:/tmp$ ls -la rae* -rw-r--r-- 1 root root 32 Apr...
www.snbforums.com
Voxel - Custom firmware build for R7800 v. 1.0.2.79SF
Main goal of this release: additional boost of the router performance as I hope (slight boost :) ). I succeed to change GCC compiler from the version 9.3.0 to the most fresh version of GCC compiler 10.2.0 (released today, but I checked with RC version, so it is not untested on-the-fly release of...
www.snbforums.com
Kamoj - Kamoj Add-on Beta testing
Continued here: https://www.snbforums.com/threads/kamoj-add-on-beta-testing-ii.72238/ I make beta versions of the next kamoj add-on. The beta has a lot more functions than the official 5.0 beta, but is also more tested and with fewer known bugs. N.B: Voxel firmware is a pre-requisite, not an...
www.snbforums.com
R7800 Voxel68 - Issue with OpenVPN - TTY /systemd?
Hi All, Struggling to get VPN to work with the ovpn file on my USB stick attached to r7800 running Voxel 68. I'm using Telnet and have not installed SSH. Here's the debug string: Mon Aug 26 03:34:14 2019 neither stdin nor stderr are a tty device and you have neither a controlling tty nor...
www.snbforums.com
Last edited: