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.

  1. Plug the drive in your router USB port and turn it on
  2. Simply login to your router administration console (default credentials are root:admin)
  3. Go to the Services tab.
  4. 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.
  5. Select your disk mount point i.e. /mnt and apply settings
  6. The router will mount the drive and give you information about your device
  7. 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 :
    Path /mnt
    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)
  8. 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.
Filed under: Computing, Networking

Tagged with: , , , , , , , ,

Liked this page?

Tweet it

Subscribe to the RSS feed or sign up for the newsletter now.

Posts related to Create a NAS with a DD-WRT router

8 Comments to "Create a NAS with a DD-WRT router"

  1. […] Create a NAS with a DD-WRT router […]

  2. Comment by DJay on September 2, 2011 at 4:49 am Reply

    DD-WRT has so many capabilities. Thanks for the information about creating a NAS. I’m thinking about picking up a router with DD-WRT soon.

  3. Comment by Jeff on January 23, 2012 at 5:35 am Reply

    Thank you SO MUCH for this simple, concise, CORRECT advice. This was by far the best guide for setting up the NAS on my newly hatched dd-wrt router (formerly a lowly netgear wndr3400) that i have come across.

  4. Comment by Tim on May 3, 2012 at 3:46 am Reply

    Thanks! This is a great tutorial and made it VERY easy to setup NAS on my new DD-WRT router!

  5. Comment by Mini-Monster Schlüsselanhänger on January 13, 2013 at 12:30 pm Reply

    It’s in fact very complex in this active life to listen news on TV, therefore I only use web for that purpose, and obtain the latest news.

  6. Comment by Gerard on April 24, 2013 at 11:39 pm Reply

    I echo everything Jeff said. Your tutorial helped me get the USB on my Buffalo N600 up and running. Yayyy! I thought I’d never get it to work right. There should be a link to your page on the DD-WRT wiki. Merci beaucoup!!

  7. Comment by Bill on May 24, 2014 at 1:01 am Reply

    Well, that’s helpful, but how do the users access the files?

    • Comment by shalfon on May 25, 2014 at 4:39 pm Reply

      Using Windows, go to \\IP.of.the.router\ and the drive should be seen there. Enjoy

Name (required)

Email (required)


Leave a Reply

  • About Me

    photo of Samantha Halfon Samantha Halfon
    Software Engineer
    blueKiwi software
    Paris, France
    I enjoy playing with my computer(s), listening to Bob Dylan (and related artists) and watching movies (especially if they were directed by Martin Scorsese or John Cassavetes). Sometimes, I play a little guitar... If not doing any of the above, I am either riding a small red bike around Paris, or, making videos. About my videomaking please check out World Wide Angle and its blog.