I googled for the answer, but the information that came back is outdated. After a lot of piecing bits of information together, I realized the solution is pretty straightforward, but not obvious. If I left out a step or made a mistake, please let me know and I'll update this post. I tested this with the squashfs version of Backfire 10.03.1.
1. Install the following packages:
kmod-fs-ext4
kmod-fs-ntfs
kmod-fs-msdos
kmod-leds-wndr3700-usb
kmod-fs-cifs
kmod-fs-vfat
kmod-nls-cp437
kmod-nls-utf8
ntfs-3g
fdisk
This should give you everything you need to read NTFS, FAT32, EXT2, EXT3, and EXT4 drives.
2. Follow the directions here to create a custom hotplug script: http://wiki.openwrt.org/doc/howto/writa … lug.script
The script gets saved as /etc/hotplug.d/block/10-mount and will get triggered whenever you plug in or remove a usb drive. [s]Please note that the quotation marks on the wiki have to be changed to regular ones. Copying and pasting the script as-is will not work.[/s]
3. (Optional) Follow the directions under "Code for the file /etc/hotplug.d/usb/10-usb" here: http://wiki.openwrt.org/toh/netgear/wnd … n.backfire to get the usb led to activate whenever the drive is plugged in.
4. To get the drive to be mounted when the router is booted, follow the directions here: http://wiki.openwrt.org/doc/uci/fstab
[s]Keep the name of the share (on mnt) in fstab config "sda1" since that's what the custom hotplug script does.[/s]
Known issues: USB flash drives can confuse the OS. I think it's due to the weird partitioning on newer usb drives that are "U3 smart drives."
Now that automounting works, you can install samba and access the drive from a Windows PC. Installing luci-app-samba should be enough to get samba up and running.
(Last edited by GPinzone on 1 Jan 2012, 08:02)