Jeremy's Wiki

everything but the kitchen sink

User Tools

Site Tools


openwrt

OpenWrt

base-files busybox ca-bundle dnsmasq dropbear e2fsprogs firewall4 fstools kmod-gpio-button-hotplug kmod-nft-offload kmod-usb-net-rtl8152 libc libgcc libustream-mbedtls logd luci mkf2fs mtd netifd nftables odhcp6c odhcpd-ipv6only opkg partx-utils ppp ppp-mod-pppoe procd procd-seccomp procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd zerotier luci-app-commands etherwake luci-app-statistics luci-app-ttyd vim-full bash udp-broadcast-relay-redux adguardhome

uci-defaults

uci set network.lan.ipaddr="192.168.2.1"
uci commit network
service network restart

https://firmware-selector.openwrt.org/?version=23.05.2&target=rockchip%2Farmv8&id=xunlong_orangepi-r1-plus

https://downloads.openwrt.org/releases/23.05.2/targets/rockchip/armv8/

https://openwrt.org/docs/guide-user/advanced/expand_root#automated

https://wiki.friendlyarm.com/wiki/index.php/NanoPi_R2S

Orange Pi R1 Plus OpenWrt

  • Backup, Backup, Backup!
    • Configuration backup works quite well

Before rebooting: Wake a machine inside the LAN so there's backup TeamViewer access if ZeroTier stops working

Speedtest

luci-app-netspeedtest

set up in Luci Configure OPKG:

/etc/opkg/customfeeds.conf

src/gz fantastic_packages_luci https://fantastic-packages.github.io/packages/releases/23.05/packages/aarch64_cortex-a53/luci
src/gz fantastic_packages_packages https://fantastic-packages.github.io/packages/releases/23.05/packages/aarch64_cortex-a53/packages
src/gz fantastic_packages_special https://fantastic-packages.github.io/packages/releases/23.05/packages/aarch64_cortex-a53/special

OR

https://www.speedtest.net/apps/cli

wget https://install.speedtest.net/ ...
tar xvf ookla-speedtest-1.2.0-linux-aarch64.tgz
./speedtest

VLAN

Simply use a custom device name `<eth_device>.<vlan_id>`

ZeroTier guide:

https://kysonlok.github.io/2020/06/12/Set-Up-a-ZeroTier-Network-on-OpenWRT/

MAKE SURE TO APPLY THE FIREWALL RULES FOR ZEROTIER

IPv6 server internet access

config dhcp 'lan' (…)

      option ra 'server'
      option dhcpv6 'server'
      list ra_flags 'managed-config'
      list ra_flags 'other-config'
openwrt.txt · Last modified: 2024/10/12 01:07 by superuser

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki