Skip to content

Instantly share code, notes, and snippets.

@pjobson
Created October 26, 2018 01:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjobson/4aed6f1c205e985fcbf492a58acf9642 to your computer and use it in GitHub Desktop.
Save pjobson/4aed6f1c205e985fcbf492a58acf9642 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