What's new

Connect to NAS with CIFS??

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Adduxi

New Around Here
Hi all,

I have a Qnap NAS and wish to use one of the shares to collect the Traffic data and Syslog reports from the RT-N66U.
I'm running the latest Merlin Firmware.
I've tried the following command without any success.

mount -t cifs \\<IP Address>\<sharename> /mnt/<sharename> -username -password

I've also an RT-N16 running Shibby Tomato and it can connect to this share without any issues, using the Tomato Web Interface to configure.

Any assistance welcome, as I'm a total Linux novice :)
 
You must double all the backslashes, i.e. \\\\device\\share.

See the README that accompanies the firmware for more details.
 
Something like this should work:
Code:
mount -tcifs -ousername=USERNAME,password=PASSWORD \\\\NAS-IP\\SHARE /mnt/SHARE
 
Thanks for the pointers guys.

I read the 'Read Me' with the firmware and used the following as suggested;

mount \\\\192.168.1.100\\ShareName /cifs1 -t cifs -o "username=User,password=Pass"

This syntax gives a error of Permission Denied which is strange as the username and password work with TomatoUSB on the same NAS share.

I'm at work at the moment, so I'll post the System Log errors later to see if they throw any light on the issue.

Thanks !!
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top