Hopefully something here will work for you as well. This is generally the default for many NASes, though some may use the newer ntlmssp. ⇢ This sets the security mode, with NTLM password hashing. ⇢ The output of smbclient in your question shows that SMB 1.0 is disabled, so specifying 2.0 may be necessary. Other options that you may need to use in the -o section: This is the command that I use to mount a Buffalo LS520D, which should be similar enough to yours: sudo mount -t cifs -o uid=jason,username=jason,password=superSecretPassword //192.168.0.202/Backups /home/jason/BackupsĪ desktop system on the same network mounts the NAS at boot via fstab like this: //192.168.0.202/Backups /home/jason/Backups cifs uid=1000username=jason,password=superSecretPassword,nounix 0 0 That said, it's sometimes necessary to add a few more details to -o, such as which local uid to use or adding nounix. Return code -22 is one of the least useful messages as it's just a catch-all for "Something's wrong, but I don't know what". I thought it would be essentially plug-and-play, but the drive does not have instructions for Linux, and I cannot figure this out. Running dmesg showed CIFS: Attempting to mount ///ĬIFS: VFS: cifs_mount failed w/return code = -22 man mount.cifs) and kernel log messages (dmesg) Refer to the mount.cifs(8) manual page (e.g. Next I tried sudo mount -t cifs -o username=,password= /// / and the response was mount error(22):Invalid argument When I entered it, I got the following output: Sharename Type Comment I ran smbclient -L // and it asked for the password. I made sure both smbclient and cifs-utils were installed and up-to-date. To be safe, in addition to the below, I tried to run sudo mount -t xfs /// / and I got a message that the drive/folder combo does not exist. I believe SMB means I am using CIFS instead of XFS, but I just can't find any info on that. It is set up with the recommended setting that it will switch automatically between SMB1 and SMB2. Your privacy By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. Checking information, I see that the drive has an XFS filesystem, and that SMB is the only file sharing option enabled. Ubuntu and the circle of friends logo are trade marks of Canonical Limited and are used under licence. I can access the drive's dashboard through a web browser, but I do not seem to be able to mount it. I am running Ubuntu 20.04.3 LTS, and I recently purchased a Buffalo LS210D27F network storage drive and attached it to my network.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |