A quick note on how to share a USB drive over your private network (Network Attached Storage) using a router running on the DD-WRT firmware. Needless to say, your router needs to have a USB port for this feature to be enabled in the firmware.
- Plug the drive in your router USB port and turn it on
- Simply login to your router administration console (default credentials are root:admin)
- Go to the Services tab.
- Go to the USB sub tab and enable the core USB support and the USB storage support. Also, I recommend enabling the auto drive mount.
- Select your disk mount point i.e. /mnt and apply settings
- The router will mount the drive and give you information about your device
- Go to the NAS sub tab and enable the Samba sharing (or FTP if you so desire). Enter your workgroup information and create a share. It should look as follow :
Name nDrive (enter what you want there)
Public unchecked (you can check this box if you don’t wish any user management for your data)
Access Read/Write (you can change this to Read Only)
- Below, create users and give them access to your device.
That’s all. The DD-WRT makes administration straightforward and, for those who have several routers, it also can make it constant across different devices.