What's new
  • 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!

cifs errors on build 378.55

jon_s

New Around Here
I'm using an RT-AC3200 with build 378.55.
Mounting a cifs share always returns an invalid argument:

# mount -t cifs //192.168.1.161/share /cifs1
mount: mounting //192.168.1.161/share on /cifs1 failed: Invalid argument

# mount -t cifs \\\\192.168.1.161\\share /cifs1
mount: mounting \\192.168.1.161\share on /cifs1 failed: Invalid argument


Searching the web, it seems this may be a problem with busybox. Has anyone else seen this issue?
 
Have you tried adding

-o "username=xxxx,password=yyyy"

Look in syslog, you might see something like this:
Code:
Sep 21 20:46:13 kernel:  CIFS VFS: No username specified
 
Last edited:
Have you tried adding

-o "username=xxxx,password=yyyy"

Look in syslog, you might see something like this:
Code:
Sep 21 20:46:13 kernel:  CIFS VFS: No username specified
Yes, I have tried with and without the username/password options. Gives the same error.
 
Do you get any errors in syslog?
There are no errors in syslog. However, looking at strace output, it looks like the Kernel is returning the error:
mount("//192.168.1.161/temp", "/cifs1", "cifs", MS_MANDLOCK|MS_SILENT, "username=xyz,password=abc,ip=192"...) = -1 EINVAL (Invalid argument)

# uname -a
Linux RT-AC3200-7B50 2.6.36.4brcmarm #1 SMP PREEMPT Thu Jul 16 23:28:27 EDT 2015 armv7l GNU/Linux

# lsmod
Module Size Used by Tainted: P
cifs 214672 0
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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