Skip to content

Instantly share code, notes, and snippets.

@pdanford
Last active June 30, 2022 13:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pdanford/8047d35912e13beda72529268d6c1e92 to your computer and use it in GitHub Desktop.
Save pdanford/8047d35912e13beda72529268d6c1e92 to your computer and use it in GitHub Desktop.
OpenWrt and Netgear Nighthawk R7800 Setup

OpenWrt General Setup

Adblock Whitelist Additions:

storage.googleapis.com  
firebasestorage.googleapis.com  

Otherwise, updating offline Google Maps on iPhone doesn't work.

WiFi Legacy Rates

Uncheck Allow legacy 802.11b rates for all radios (under Network -> Wireless -> Edit each radio's interface)

Netgear Nighthawk R7800 Specific Setup

Add scaling frequency fix to startup script:

Under System > Startup > Local Startup, add this:

# -- fix occasional mystery reboots --
# Min scaling frequency: set to 800MHz because of L2 cache issues.
# Random reboots are related to switching the power states from lowest state.
# Bumping up the minimum frequency to 800MHz eliminated this issue completely.
echo 800000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq
echo 800000 > /sys/devices/system/cpu/cpufreq/policy1/scaling_min_freq
sleep 1

exit 0

Replace WiFi driver with version better suited for busy environments

See http://www.candelatech.com/ath10k-10.4.php for driver info

---> verify router has ethernet connection to internet first!

ssh into router, e.g.: ssh root@192.168.1.1

opkg update
opkg remove ath10k-firmware-qca9984-ct
opkg install ath10k-firmware-qca9984-ct-htt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment