>From: Darac Marjal <mailingl...@darac.org.uk> >To: debian-user@lists.debian.org >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.med...@gmail.com> writes: > >> Darac Marjal <mailingl...@darac.org.uk> writes: >> >>> On Mon, Jun 05, 2017 at 01:38:04PM +0100, Rodolfo Medina wrote: >>>>Here: >>>> >>>> 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: >>>> >>>> //192.168.1.1/USB_storage /mnt/public cifs guest 0 0 >>> >>> Is this the correct share to mount? Try "smbclient -L 192.168.1.1" to see >>> what shares are available. >> >> $ smbclient -L 192.168.0.1 >> WARNING: The "syslog" option is deprecated >> Enter rodolfo's password: >> Connection to 192.168.0.1 failed (Error NT_STATUS_IO_TIMEOUT) > >If I put 192.168.1.2, instead, I get something more: > >$ smbclient -L 192.168.1.2 >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 //192.168.1.1/USB_Storage /mnt/public --verbose -o guest >> >> >> # mount -t cifs //192.168.1.1/USB_Storage /mnt/public --verbose -o guest >> mount.cifs kernel mount options: >> ip=192.168.1.1,unc=\\192.168.1.1\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 //192.168.1.2/USB_Storage /mnt/public --verbose -o guest >mount.cifs kernel mount options: >ip=192.168.1.2,unc=\\192.168.1.2\USB_Storage,user=,pass=******** >Retrying with upper case share name >mount.cifs kernel mount options: >ip=192.168.1.2,unc=\\192.168.1.2\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 192.168.1.1, the usb storage is seen in >the Admin menu. Does all this suggest us anything useful...? >Yes, this confirms that 192.168.1.1 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 >192.168.0.1 or 192.168.1.2 - 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.