WR703N V1.7 – Compiled

It appears to be easier to compile OpenWRT from source than it used to be so kewdo’s to the OpenWRT developers. I’ve made a few changes to the base image by adding the following kernel modules by default:

block-mount – 0.2.0-9
kmod-fs-ext4 – 3.3.8-1
kmod-scsi-core – 3.3.8-1
kmod-usb-core – 3.3.8-1
kmod-usb-storage – 3.3.8-1
kmod-usb2 – 3.3.8-1
(There may be a few dependencies left out)

I did have to make a few runs at compiling. I did get it to compile lcd4linux-dpf, and then it had to be removed. Still working on getting it to successfully compile again. Although I can use the previously compiled version.

With the above modules added to the base image, I just need to run the following to get the WR703n’s to boot from a pre-formatted USB thumb drive:

Most info is taken from this guide.

vi /etc/config/fstab

#-=[ Edit the following ]=-

config global automount
#       option from_fstab 1
option anon_mount 1

config global autoswap
option from_fstab 1
option anon_swap 0

config mount
option device /dev/sda1
option fstype ext4
option options rw,sync
option enabled 1
option enabled_fsck 0
option is_rootfs 1

#-=[ END ]=-

/etc/init.d/fstab enable
/etc/init.d/fstab start

mkdir /mnt/sda1 -p
mount /dev/sda1 /mnt/sda1

tar -C /overlay -cvf – . | tar -C /mnt/sda1 -xf –

Once I have LCD4Linux-DPF compiled correctly I’ll upload the repository info.


Leave a Reply

Your email address will not be published. Required fields are marked *