Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #181768 > unrolled thread

Accessing USB storage attached to network router

Started byRodolfo Medina <rodolfo.medina@gmail.com>
First post2017-06-05 14:40 +0200
Last post2017-06-08 11:10 +0200
Articles 11 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  Accessing USB storage attached to network router Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-05 14:40 +0200
    Re: Accessing USB storage attached to network router Darac Marjal <mailinglist@darac.org.uk> - 2017-06-05 15:30 +0200
      Re: Accessing USB storage attached to network router Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-05 16:40 +0200
        Re: Accessing USB storage attached to network router Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-05 17:10 +0200
        Re: Accessing USB storage attached to network router davidson@freevolt.org - 2017-06-05 17:10 +0200
        Re: Accessing USB storage attached to network router Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-06 08:50 +0200
          Re: Accessing USB storage attached to network router Darac Marjal <mailinglist@darac.org.uk> - 2017-06-06 11:30 +0200
            Re: Accessing USB storage attached to network router Glyn Astill <glynastill@yahoo.co.uk> - 2017-06-06 11:40 +0200
            Re: Accessing USB storage attached to network router Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-06 12:20 +0200
              Re: Accessing USB storage attached to network router <tomas@tuxteam.de> - 2017-06-06 13:00 +0200
    [solved] Re: Accessing USB storage attached to network router Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-08 11:10 +0200

#181768 — Accessing USB storage attached to network router

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-06-05 14:40 +0200
SubjectAccessing USB storage attached to network router
Message-ID<tOZsD-2TL-41@gated-at.bofh.it>
Hi all.

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

with no result: when I do `mount -a' it says:

 mount error(115): Operation now in progress
 Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

.  Please help whoever can.

Thanks in advance,

Rodolfo

[toc] | [next] | [standalone]


#181771

FromDarac Marjal <mailinglist@darac.org.uk>
Date2017-06-05 15:30 +0200
Message-ID<tP0f0-3pX-13@gated-at.bofh.it>
In reply to#181768

[Multipart message — attachments visible in raw view] — view raw

On Mon, Jun 05, 2017 at 01:38:04PM +0100, Rodolfo Medina wrote:
>Hi all.
>
>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.

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

>
>with no result: when I do `mount -a' it says:
>
> mount error(115): Operation now in progress
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
>
>.  Please help whoever can.
>
>Thanks in advance,
>
>Rodolfo
>

-- 
For more information, please reread.

[toc] | [prev] | [next] | [standalone]


#181777

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-06-05 16:40 +0200
Message-ID<tP1kK-45z-15@gated-at.bofh.it>
In reply to#181771
Darac Marjal <mailinglist@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)


> 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)


.  I don't know, now...  Please help.  Thanks.

Rodolfo


>>with no result: when I do `mount -a' it says:
>>
>> mount error(115): Operation now in progress
>> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
>>
>>.  Please help whoever can.

[toc] | [prev] | [next] | [standalone]


#181778

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-06-05 17:10 +0200
Message-ID<tP1NM-4wR-17@gated-at.bofh.it>
In reply to#181777
davidson@freevolt.org writes:

> On Mon, 5 Jun 2017, Rodolfo Medina wrote:
>
>> Darac Marjal <mailinglist@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
>                          ^
> [when displayed with a fixed-width font, the caret points at '0']
>
> FWIW, 0 is not 1.
>
>> WARNING: The "syslog" option is deprecated
>> Enter rodolfo's password:
>> Connection to 192.168.0.1 failed (Error NT_STATUS_IO_TIMEOUT)
>
> Maybe try again, but with the correct ip address?

Sorry...  But the result is the same:

$ smbclient -L 192.168.1.1
WARNING: The "syslog" option is deprecated
Enter rodolfo's password: 
Connection to 192.168.1.1 failed (Error NT_STATUS_IO_TIMEOUT)

Thanks,

Rodolfo

[toc] | [prev] | [next] | [standalone]


#181779

Fromdavidson@freevolt.org
Date2017-06-05 17:10 +0200
Message-ID<tP1NM-4wR-13@gated-at.bofh.it>
In reply to#181777
On Mon, 5 Jun 2017, Rodolfo Medina wrote:

> Darac Marjal <mailinglist@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
                          ^
[when displayed with a fixed-width font, the caret points at '0']

FWIW, 0 is not 1.

> WARNING: The "syslog" option is deprecated
> Enter rodolfo's password:
> Connection to 192.168.0.1 failed (Error NT_STATUS_IO_TIMEOUT)

Maybe try again, but with the correct ip address?

[toc] | [prev] | [next] | [standalone]


#181789

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-06-06 08:50 +0200
Message-ID<tPgtr-5bP-5@gated-at.bofh.it>
In reply to#181777
Rodolfo Medina <rodolfo.medina@gmail.com> writes:

> Darac Marjal <mailinglist@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...?

Thanks,

Rodolfo

[toc] | [prev] | [next] | [standalone]


#181796

FromDarac Marjal <mailinglist@darac.org.uk>
Date2017-06-06 11:30 +0200
Message-ID<tPiYi-6PD-15@gated-at.bofh.it>
In reply to#181789

[Multipart message — attachments visible in raw view] — view raw

On Tue, Jun 06, 2017 at 07:41:14AM +0100, Rodolfo Medina wrote:
>Rodolfo Medina <rodolfo.medina@gmail.com> writes:
>
>> Darac Marjal <mailinglist@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"


-- 
For more information, please reread.

[toc] | [prev] | [next] | [standalone]


#181797

FromGlyn Astill <glynastill@yahoo.co.uk>
Date2017-06-06 11:40 +0200
Message-ID<tPj7Y-6SP-7@gated-at.bofh.it>
In reply to#181796

>From: Darac Marjal <mailinglist@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.medina@gmail.com> writes:
>
>> Darac Marjal <mailinglist@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.

[toc] | [prev] | [next] | [standalone]


#181800

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-06-06 12:20 +0200
Message-ID<tPjKG-7nW-27@gated-at.bofh.it>
In reply to#181796
Darac Marjal <mailinglist@darac.org.uk> writes:

> On Tue, Jun 06, 2017 at 07:41:14AM +0100, Rodolfo Medina wrote:
>>Rodolfo Medina <rodolfo.medina@gmail.com> writes:
>>
>>> Darac Marjal <mailinglist@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"

All right, but to do then now...?  Why no response comes from 192.168.1.1?

Thanks,

Rodolfo

[toc] | [prev] | [next] | [standalone]


#181803

From<tomas@tuxteam.de>
Date2017-06-06 13:00 +0200
Message-ID<tPkno-7Bq-7@gated-at.bofh.it>
In reply to#181800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jun 06, 2017 at 11:11:32AM +0100, Rodolfo Medina wrote:

[...]

[Case 1:]

> >>> $ 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)

[...]

[Case 2:]

> >>$ 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

[...]

> All right, but to do then now...?  Why no response comes from 192.168.1.1?

To be fair, a response *is* coming from 192.168.1.1 (case 2 above), and
this response is "NO, you are not allowed"). As opposed to case 1, where
the client gives up (...TIMEOUT) after a while of silence.

So you'll have to fix the permissions on your CIFS server now. No, sorry,
I have no idea on how to do that, but perhaps the router's web "GUI" has
something on this.

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlk2ikQACgkQBcgs9XrR2kYsCwCeO0ZRJbdUair97pDDcg4jGGiw
0nsAniJSn3HMYuWsoNrYIjlJjMS858Ek
=VpFr
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#181916 — [solved] Re: Accessing USB storage attached to network router

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-06-08 11:10 +0200
Subject[solved] Re: Accessing USB storage attached to network router
Message-ID<tQ1C2-2gD-25@gated-at.bofh.it>
In reply to#181768
Rodolfo Medina <rodolfo.medina@gmail.com> writes:

> 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
>
> with no result: when I do `mount -a' it says:
>
>  mount error(115): Operation now in progress
>  Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


First of all, I had to set the USB drive as a `Managed partition' from the
router web GUI.  Secondly, its right address was `//192.168.1.2/Shared' and not
`//192.168.1.1/USB_storage'.  With these corrections, and the following line:

 //192.168.1.2/Shared /mnt/shared cifs rw,user,noauto       0       0

in /etc/fstab, I can now properly mount the USB derive as a normal user simply
with:

 $ mount /mnt/shared

and hitting `Enter' when prompted for password.  This said, and thanked all who
helped, I now wish to automatic mounting at start up but don't manage to.
Googling around I found many suggestions but no one that helped me.  On another
machine of mine, an old Acer Aspire One netbook, it works by putting in fstab
the following:

 //192.168.1.2/Shared /mnt/shared cifs rw,user,password=mypassword       0       0

where `mypassword' is *any* word.  On my desktop Lenovo, instead, it does not
work.  Please, any suggestion?

Thanks,

Rodolfo

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web