Linux Lite Forums
auto mount a hard drive connected to router - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6)
+--- Forum: Network (https://www.linuxliteos.com/forums/forumdisplay.php?fid=24)
+--- Thread: auto mount a hard drive connected to router (/showthread.php?tid=2857)



auto mount a hard drive connected to router - roywood - 04-20-2016

I am trying to auto mount a hard drive connected to my router.  I have tried the suggestions from http://ubuntuforums.org/showthread.php?t=1806455 but no dice.  Can you guys point me in the right direction? Thanks.


Re: auto mount a hard drive connected to router - torreydale - 04-20-2016

Consider the following: 
https://www.youtube.com/watch?v=mPDhoYNao1o

https://www.youtube.com/watch?v=7tF6IEhDVLE


Re: auto mount a hard drive connected to router - Wirezfree - 04-20-2016

Even though most routers are based on a Linux OS, they are not all created equal.

In my last router I had to go into it's config and "Enable" and "Disable" USB
Current router "Auto Mounts", and there is an "Un-Mount" Icon on it's main page.

First see if there are any settings in your router.
Normally it should show up in Thunar/File Manager, if "enabled"


Re: auto mount a hard drive connected to router - roywood - 04-21-2016

Not sure if this is a typical way to do it but I found it under smb://192.**** and then made a desktop short cut to it and everything seems to be working fine.  I will see what happens at reboot.

EDIT:  This did not seem to work after reboot


Re: auto mount a hard drive connected to router - roywood - 04-21-2016

(04-20-2016, 03:01 AM)torreydale link Wrote: Consider the following: 
https://www.youtube.com/watch?v=mPDhoYNao1o

https://www.youtube.com/watch?v=7tF6IEhDVLE

I followed the steps in the top video and had a boot problem so I deleted the created entry in fstab.  Here is what my fstab looks like now (sda1 is the hard drive attached to the dd-wrt router):

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=d13f5626-9e5f-4cd8-a2fe-2b4d5535d090 /              ext4    errors=remount-ro 0      1
# swap was on /dev/sda5 during installation
UUID=6130755a-982f-4a37-a994-19d482517225 none            swap    sw              0      0