Skip to content

Instantly share code, notes, and snippets.

ExtRoot & Swap on OpenWrt

Following Quick Start for Adding a USB drive but installing some packages that will be needed right after. Also see Using storage devices.

  • SSH into the router.
  • Install required packages...
opkg update
opkg install block-mount e2fsprogs kmod-fs-ext4 kmod-usb-ohci kmod-usb-storage kmod-usb-uhci kmod-usb2 kmod-usb3 usbutils nano
@kione
kione / image-build.sh
Created November 15, 2021 22:34 — forked from HackingGate/image-build.sh
upgrade ipk on OpenWrt
VERSION=19.07.7
# Download imagebuilder for R7800.
aria2c -c -x4 -s4 https://downloads.openwrt.org/releases/${VERSION}/targets/ipq806x/generic/openwrt-imagebuilder-${VERSION}-ipq806x-generic.Linux-x86_64.tar.xz
# Extract & remove used file & cd to the directory
tar -xvf openwrt-imagebuilder-${VERSION}-ipq806x-generic.Linux-x86_64.tar.xz
rm openwrt-imagebuilder-${VERSION}-ipq806x-generic.Linux-x86_64.tar.xz
cd openwrt-imagebuilder-${VERSION}-ipq806x-generic.Linux-x86_64/