Ubuntu – How to access an external hard drive plugged into the router

external-hddhard driverouter

I am running Ubuntu 11.10 and I own a Netgear N600 Wireless Dual Band Router with a USB port built into it. Naturally, the router came with instructions on how to mount and view this drive with both Windows and Mac, but nothing about Linux. I have an WD Elements 1 TB external HDD that I would like to plug into the router and share across my home network. However, when I plug it in, absolutely nothing happens on my desktop.

I checked on two different machines and nothing seems to indicate that the drive has been mounted (or is even seen at all) on either machine. I am fully aware that it may not be possible to do this with a Linux system, but I was hoping someone might have a suggestion.

Best Answer

I have this same router and just figured out how to access an external drive via Ubuntu. I wrote a blog post with the details but here's the short version:

  1. Install the smbfs package (sudo aptitude install smbfs).
  2. Create a directory in which to mount your external hard drive (e.g., sudo mkdir /media/public).
  3. Add a line to the file /etc/fstab (gksudo gedit /etc/fstab) - at the end of the file add this line: //192.168.1.1/USB_Storage /media/public smbfs guest 0 0
  4. Save your newly updated fstab file then remount your drives (sudo mount -a); you should now be able to see your new external drive at /media/public.
Related Question