On 2012-08-22 14:18, Seamus Tuohy wrote:
> I have been working to get OpenWRT working on a Buffalo WZR-HP-AG300H 
> router, but am having difficulty getting USB drives to mount. I have 
> tried multiple USB drives in multiple formats.

I have a Buffalo WZR-HP-G300NH running OpenWRT 10.03.1. To enable USB
automount, I did the following:

opkg install kmod-fs-btrfs kmod-fs-ext2 kmod-fs-ext3 kmod-fs-ext4
kmod-fs-isofs kmod-fs-reiserfs kmod-fs-vfat kmod-fs-xfs

opkg install kmod-nls-cp1250 kmod-nls-cp1251 kmod-nls-cp437
kmod-nls-cp775 kmod-nls-cp850 kmod-nls-cp852 kmod-nls-cp866
kmod-nls-iso8859-1 kmod-nls-iso8859-13 kmod-nls-iso8859-15
kmod-nls-iso8859-2 kmod-nls-koi8r kmod-nls-utf8

opkg install kmod-usb2 kmod-usb-storage kmod-usb-storage-extras
block-hotplug block-mount hotplug2

mkdir /mnt/usbstorage -p
uci set fstab.@mount[0].target=/mnt/usbstorage
uci set fstab.@mount[0].device=/dev/sda1
uci set fstab.@mount[0].fstype=auto
uci set fstab.@mount[0].enabled=1
uci set fstab.@mount[0].options=rw,sync,noatime,nodiratime
uci commit fstab
/etc/init.d/fstab enable
/etc/init.d/fstab restart

Full details here:

http://www.tolaris.com/2010/09/01/openwrt-10-03-on-buffalo-wzr-hp-g300nh/

Regards,
Tyler

-- 
Commander Harken: "Seems odd you’d name your ship after a battle you
were on the wrong side of."
Captain Reynolds: "May have been the losing side. Still not convinced
it was the wrong one."
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to