Posts
read more
OpenWRT (failed) recipe
Post date: Sep 03, 2012 6:42:17 PM
Here’s the recipe for the (failed) Open WRT project. Here for posterity.
start
(turn wifi off, set ip address to 192.168.1.2) telnet to 192.168.1.1
uci set network.lan.ipaddr=192.168.128.1
uci commit
reboot
(swap ip address to 192.168.128.2, enable proxy on 8888) telnet to 192.168.128.1
echo 'option http_proxy http://192.168.128.2:8888/' >> /etc/opkg.conf
opkg update
opkg install kmod-usb-storage block-mount usb-modeswitch-data kmod-scsi-generic kmod-fs-ext4
edit /etc/config/fstab (file contents)
config global automount
option from_fstab 1
option anon_mount 1
config global autoswap
option from_fstab 1
option anon_swap 0
config swap
option device /dev/sda1
option enabled 1
config mount
option target /mnt/sda2
option device /dev/sda2
option fstype ext4
option options rw,sync
option enabled 1
option enabled_fsck 0
config mount
option target /mnt/sda3
option device /dev/sda3
option fstype ext4
option options rw,sync
option enabled 1
option enabled_fsck 0
(end file contents)