Skip to content

Instantly share code, notes, and snippets.

@daveamato
Created January 6, 2022 02:42
Show Gist options
  • Save daveamato/3c5b922e1ce71fa284d144016d16e629 to your computer and use it in GitHub Desktop.
Save daveamato/3c5b922e1ce71fa284d144016d16e629 to your computer and use it in GitHub Desktop.

OpenWRT Notes

opkg update
opkg install bash
opkg install adblock

USB Mount and fstab

opkg install kmod-fs-ext4 kmod-usb-storage usbutils mount-utils kmod-usb-storage-extras block-mount kmod-scsi-core e2fsprogs fdisk swap-utils
fdisk -l
free -k
mkswap /dev/sda1
swapon /dev/sda1
free -k
mount /dev/sda2 /root/
block detect > /etc/config/fstab
vi /etc/config/fstab
/etc/init.d/fstab enable
block mount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment