Web lists-archives.com

Re: Accessing USB storage attached to network router

>From: Darac Marjal <mailinglist@xxxxxxxxxxxx>
>To: debian-user@xxxxxxxxxxxxxxxx 
>Sent: Tuesday, 6 June 2017, 10:25
>Subject: Re: Accessing USB storage attached to network router

>On Tue, Jun 06, 2017 at 07:41:14AM +0100, Rodolfo Medina wrote:

>Rodolfo Medina <rodolfo.medina@xxxxxxxxx> writes:
>> Darac Marjal <mailinglist@xxxxxxxxxxxx> writes:
>>> On Mon, Jun 05, 2017 at 01:38:04PM +0100, Rodolfo Medina wrote:
>>>> https://askubuntu.com/questions/109505/how-do-i-access-an-external-hard-drive-plugged-into-my-router
>>>>the problem seems to be solved, but not for me...  I plugged a USB storage
>>>>pendrive into my ADSL internet router but don't know how to access it.  I
>>>>tried putting in /etc/fstab something like:
>>>> // /mnt/public cifs guest 0 0
>>> Is this the correct share to mount? Try "smbclient -L" to see
>>> what shares are available.
>> $ smbclient -L
>> WARNING: The "syslog" option is deprecated
>> Enter rodolfo's password:
>> Connection to failed (Error NT_STATUS_IO_TIMEOUT)
>If I put, instead, I get something more:
>$ smbclient -L
>WARNING: The "syslog" option is deprecated
>Enter rodolfo's password:
>Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.12]
>Server requested LANMAN password (share-level security) but 'client lanman auth = no' or 'client ntlmv2 auth = yes'
>tree connect failed: NT_STATUS_ACCESS_DENIED
>>> Try running smbmount directly and see if it gives more information:
>>>  # mount -t cifs // /mnt/public --verbose -o guest
>> # mount -t cifs // /mnt/public --verbose -o guest
>> mount.cifs kernel mount options:
>> ip=,unc=\\\USB_Storage,user=,pass=********
>> mount error(115): Operation now in progress
>> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
>And also:
># mount -t cifs // /mnt/public --verbose -o guest
>mount.cifs kernel mount options: ip=,unc=\\\USB_Storage,user=,pass=********
>Retrying with upper case share name
>mount.cifs kernel mount options: ip=,unc=\\\USB_STORAGE,user=,pass=********
>mount error(6): No such device or address
>Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
>Besides, pointing the web browser at, the usb storage is seen in
>the Admin menu.  Does all this suggest us anything useful...?

>Yes, this confirms that is the address of your router. An IP
>address typically identifies a single device. If you are looking to talk
>to the USB device attached to the router, there's no point talking to
> or - that's like saying "I couldn't find my
>laptop, but I walked into my neighbour's house and they had a laptop so
>it must be the right one"

That's not strictly true.  Years ago I had an (awful) Netgear router that would provide a samba share for an attached USB device and by defaualt it did so on a separate IP.