OpenWrt on Wifi Pineapple Mark5

mark V*download and flash openwrt   (

I downloaded the image to the /tmp
to flash run:
mtd -r write <firmwarefile> firmware

after reboot connect it to a network and:
opkg update
opkg install kmod-usb-uhci
opkg install kmod-usb-ohci
opkg install kmod-usb2
opkg install usbutils
opkg install kmod-usb-storage kmod-fs-ext4 block-mount
opkg install kmod-rtl8187
opkg install luci


mount /dev/sda1 /mnt
tar -C /overlay/ -c . -f – | tar -C /mnt/ -xf –
sync && umount /dev/sda1
block detect > /etc/config/fstab

vi /etc/config/fstab

config ‘mount’
option target ‘/overlay’
option uuid ‘7669178c-3f77-4fb1-b421-6ec6f61be672’
option enabled ‘1’

/etc/init.d/fstab enable