Once you have obtained Basic USB support, you now want to connect a storage (USB stick, USB harddisk, etc) device to your router. Using kmod-fs-ntfs only provides read support. This HowTo will show you how to obtain read/write support for NTFS volumes.
fdiskoptional Required to autodetect the filesystem type when using the hotplug script.
There is nothing to configure! Note however, you can only mount a partition to an existing directory. You can create on with
mkdir, for example
mkdir -p /mnt/usb-ntfs.
To manually mount a partition:
ntfs-3g /dev/sda1 /mnt/usb-ntfs -o rw,sync
This forum post might be relevant if you already have built OpenWrt by yourself you have to rebuild the firmware with the Busybox's mount melper option enabled and reflash the new image. If you have not yet built OpenWrt once, Documentation - Building may help.
|As of Backfire r25816 and trunk r25815 this option is already enabled by default.|
Now that you can get your volume to mount on command, the next step is mounting it when it's plugged in automatically.
To get our drive to mount on plugin, we utilize the hotplug system.
Create the following files as
(The script above comes from this blog post)
Now, whenever you plug in an NTFS USB disk, it should automatically mount. (Note that this will be a different path than
doc/howto/writable_ntfs.txt · Last modified: 2012/01/01 07:34 by gpinzone