I unsuccessfully trying to mount NAS attached to Netgear router.

sudo mount -t cifs // /media/shared

Comes back with:

Password for root@//
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Even though i can access it using:

pi@raspberrypi:/media $ smbclient -L //
Enter pi's password: 
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.24]

Sharename       Type      Comment
---------       ----      -------
USB_Storage     Disk      
IPC$            IPC       IPC Service (NETGEAR R6100)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.24]

NAS is not password protected.


It was my mistake assuming smbclient -L needed a valid path to return the response. The actual path was

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.