This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |