LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-11-2019, 11:40 AM   #1
burt8810
LQ Newbie
 
Registered: Apr 2019
Location: NE OHIO
Distribution: Mint 20.3 Cinnamon
Posts: 8

Rep: Reputation: Disabled
Router with USB HDD can't access MINT 19.1


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?

Thanks for your help.
 
Old 04-12-2019, 02:28 AM   #2
mknirsch
Member
 
Registered: Feb 2003
Location: Germany
Distribution: SLES, SuSe, Ubuntu, HPUX
Posts: 44

Rep: Reputation: 21
You need to mount devices when on an X machine. Think about using NSF or smbc.

Martin
 
Old 04-12-2019, 04:46 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,831

Rep: Reputation: 5969Reputation: 5969Reputation: 5969Reputation: 5969Reputation: 5969Reputation: 5969Reputation: 5969Reputation: 5969Reputation: 5969Reputation: 5969Reputation: 5969
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
 
1 members found this post helpful.
Old 04-12-2019, 04:57 AM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
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.
 
Old 04-12-2019, 12:21 PM   #5
burt8810
LQ Newbie
 
Registered: Apr 2019
Location: NE OHIO
Distribution: Mint 20.3 Cinnamon
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mknirsch View Post
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
 
Old 04-12-2019, 12:34 PM   #6
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
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).

This section of the User Guide shows how to setup Samba/SMB/CIFS sharing:
https://www.tp-link.com/us/user-guid...ettings-us-4.0

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.
 
1 members found this post helpful.
Old 04-12-2019, 12:37 PM   #7
burt8810
LQ Newbie
 
Registered: Apr 2019
Location: NE OHIO
Distribution: Mint 20.3 Cinnamon
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thymox View Post
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!)

Using Firefox in MINT ftp://192.168.0.1/volume9/ lets me access the files

As suggested by micahaelk this worked smb://192.168.0.1/volume9/

Thanks for that.

Herb
 
Old 04-12-2019, 12:44 PM   #8
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
OK... fantastic!

So, get ready for come command line love then.

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.
 
1 members found this post helpful.
Old 04-12-2019, 12:51 PM   #9
burt8810
LQ Newbie
 
Registered: Apr 2019
Location: NE OHIO
Distribution: Mint 20.3 Cinnamon
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thymox View Post
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).

This section of the User Guide shows how to setup Samba/SMB/CIFS sharing:
https://www.tp-link.com/us/user-guid...ettings-us-4.0

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.

Thanks for your help.

Herb
 
Old 04-12-2019, 12:53 PM   #10
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Yeah, Firefox is not able to browse SMB shares, only HTTP website and FTP (and a couple of other things).
 
1 members found this post helpful.
Old 04-12-2019, 12:58 PM   #11
burt8810
LQ Newbie
 
Registered: Apr 2019
Location: NE OHIO
Distribution: Mint 20.3 Cinnamon
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks to everyone who responded. The responses were quick and very helpful.
As far as I'm concerned my problem is solved.

Thanks again

Herb
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Time taken to copy data from PC to External USB HDD and External USB HDD to PC will same? jegadezz Linux - Newbie 3 11-14-2017 09:22 AM
Run customised HDD driver for external HDD while generic HDD driver for bootable purpose sonia49 Linux - Newbie 1 09-28-2016 08:52 PM
[SOLVED] Can't access an old HDD with ext3 filesystem on Linux Mint - Unable to mount Tecfreak213 Linux - Newbie 17 05-10-2016 08:09 AM
no access to config on wired access, but modem/router and wired access point work littlejoe5 Linux - Networking 1 10-22-2014 02:40 PM
Debian Woody: Can't access internet through router, but can access network computers marales314 Linux - Networking 3 06-09-2006 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration