Skip to content

Instantly share code, notes, and snippets.

View RustyRouter's full-sized avatar
💭
Using Linksys E8450 (aka. Belkin RT3200) OpenWRT

RustyRouter

💭
Using Linksys E8450 (aka. Belkin RT3200) OpenWRT
View GitHub Profile
@RustyRouter
RustyRouter / ipv6_disable_pppoe_mode.sh
Created March 7, 2023 19:03
Disable IPv6 on an OpenWRT router with PPPOE WAN mode
#
uci del dhcp.lan.ra
uci del dhcp.lan.dhcpv6
uci del network.lan.ip6assign
uci set network.lan.delegate='0'
uci set network.cfg030f15.ipv6='0'
uci del network.globals.ula_prefix
uci set network.wan.proto='pppoe'
uci set network.wan.username='Put_Your_PPPOE_Username_Here'
uci set network.wan.password='Put_Your_PPPOE_Password_Here'
@RustyRouter
RustyRouter / AD_RT3200.sh
Last active March 8, 2023 03:39
Steps to install AdGuardHome on Linksys E8450 (aka. Belkin RT3200)
mkdir /opt/ && cd /opt
wget -c https://static.adguard.com/adguardhome/release/AdGuardHome_linux_arm64.tar.gz
tar xfvz AdGuardHome_linux_arm64.tar.gz
rm AdGuardHome_linux_arm64.tar.gz
/opt/AdGuardHome/AdGuardHome -s install
uci set dhcp.@dnsmasq[0].cachesize='1000'
uci set dhcp.@dnsmasq[0].noresolv='1'
uci set dhcp.@dnsmasq[0].server='192.168.1.1'
@RustyRouter
RustyRouter / dumb_ap.sh
Last active June 19, 2024 17:20
OpenWrt router into a dumb Access Point.
#!/bin/ash
# ========================================================
# Setup a Dumb AP for OpenWRT
# Tested on: Belkin RT3200 (aka. Linksys E8450) 22.03.3
# Script expects factory settings
# Copy the script file to your /tmp folder with SCP
# SSH your router
# Type sh /tmp/dumb_ap.sh
# ========================================================
# Disable IPv6