[SOLVED] Router with USB HDD can't access MINT 19.1
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have Mint 19.1 Cinnamon on machine HP1. It is connected to desktops N7(W7), N8(W10), Buffalo NAS(2TB), and laptop LP1(W10) via an Archer C7 router. I can send files between all the above and access the NAS. However on the router's USB port (it has 2) I have connected a USB HDD(1TB).
I can map the router USB HDD on all the windows machines.
(As a test I connected another USB HDD to the second USB port on the router and could access it at 192.168.0.1.volume1)
I can open the router at 192.168.0.1 in Firefox.
I can NOT access the USB HDD.
In windows it is at 192.168.0.1.volume9. I have ftp access for the local network enabled on the router.
On the Linux box ftp://192.168.0.1/volume9 gives me access, via Firefox, to the files on the USB HDD.
Is 192.168.0.1.volume9 access just not workable in Linux?
Are you trying to access the router share from a file browser? 192.168.0.1.volume9 is not a valid samba share name because it contains to many characters.
Using the file browser you should be able enter the following in the url box
smb://192.168.0.1/volume9
Make sure you are using the correct share name i.e. volume9 versus volume1
The big question in my mind is "how do you access the files on this HDD from the Windows machines?". That will point us in the right direction of how to advise you on how to do the same on your Linux machine.
You need to mount devices when on an X machine. Think about using NSF or smbc.
Martin
Thanks
I'm probably not as savvy about mounting as I should be but the fact that ftp://192.168.0.1/volume9/ works (i.e I can access the files) makes me think it's mounted.
Herb
Burt, that is not necessarily the case. "Mounting" it would mean you could access it as you would any other folder - so you could access it under "/home/burt/routerhdd/".
If you can access the files on your Windows machine(s) by opening an Explorer window and clicking on "Network", then clicking on the name of the router, and then on "volume9"... or by typing in "\\192.168.0.1\volume9", then that would indicate that the router is *sharing* the files using CIFS or SMBFS (there are 2 names for what is essentially the same thing). IF that is the case, then you can access them from your Linux machine in the same way... using CIFS or SMBFS.
Now, looking at the specs of the A7 router shows that it does indeed support *sharing* USB storage devices using CIFS/SMBFS (called "Samba"), or via FTP, or via "Media Sharing" (most likely DLNA).
It is possible that your router has the FTP box ticked but not the SMB one (called "Network Neighbourhood"... just to be confusing).
So, step 1: check the router settings.
Step 2: try accessing the files from a Windows machine using \\routername\share
Step 3: if that work, come back here.
The big question in my mind is "how do you access the files on this HDD from the Windows machines?". That will point us in the right direction of how to advise you on how to do the same on your Linux machine.
Thanks
In explorer: \\192.068.0.1\volume9 gets me to the USB HDD
I have it mapped as drive R: under Network in windows Explorer
It shows up as NAS_192.168.0.1.volume9(R (The semicolon-right parens turns into a smiley don't know how to stop that!)
Make sure there's a directory/folder (whatever you want to call it) that you can "mount" your Samba "share" onto. Something in your home directory/folder will suffice for now:
$mkdir ~/shared
Then you need to "mount" it. You may need to do this as "root" as you may not be in the right group to mount things as your normal user:
$sudo mount -t smbfs \\192.168.0.1\volume9 /home/myusername/shared
(obviously change "myusername" for your own username. )
If it complains that it can't do that, make sure you have installed the "cifs-utils" package.
Burt, that is not necessarily the case. "Mounting" it would mean you could access it as you would any other folder - so you could access it under "/home/burt/routerhdd/".
If you can access the files on your Windows machine(s) by opening an Explorer window and clicking on "Network", then clicking on the name of the router, and then on "volume9"... or by typing in "\\192.168.0.1\volume9", then that would indicate that the router is *sharing* the files using CIFS or SMBFS (there are 2 names for what is essentially the same thing). IF that is the case, then you can access them from your Linux machine in the same way... using CIFS or SMBFS.
Now, looking at the specs of the A7 router shows that it does indeed support *sharing* USB storage devices using CIFS/SMBFS (called "Samba"), or via FTP, or via "Media Sharing" (most likely DLNA).
It is possible that your router has the FTP box ticked but not the SMB one (called "Network Neighbourhood"... just to be confusing).
So, step 1: check the router settings.
Step 2: try accessing the files from a Windows machine using \\routername\share
Step 3: if that work, come back here.
Yes the Network Neighborhood box is checked.
In file explorer(Mint) smb://192.168.0.1/volume9/ works
However in Firefox(Mint) it changes //192.168.0.1/volume9/ into ftp://192.168.0.1/volume9/ which has always worked.
I think I'm okay now as I have access to it other than via ftp.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.