[SOLVED] Mount error CIFS
#1
An error is generated when mounting the resource CIFS (mount error(22): Invalid argument Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) From Windows the resource is visible and accessible (without a password).

Media:
//Rt-n65u/wd2_5/AUDIO     or (//192.168.1.1/
wd2_5/AUDIO)
Mount point: AUDIO
Mount type: CIFS


What am I doing wrong?

[Image: Share.jpg]

image host



[Image: err.jpg]

форматы картинок
Reply

#2
(10-Feb-2018, 01:53 AM)somiac Wrote: An error is generated when mounting the resource CIFS (mount error(22): Invalid argument Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) ) From Windows the resource is visible and accessible (without a password).
Remove the text 'WORKGROUP' from CIFS. And try to mount again. The CIFS credentials is designed to mount shares that are password protected. Private shares require the 3 fields - username, password and workgroup.

If you are using a public share just leave all 3 blank.
Snakeoil Operating System - Music, your way!
Reply

#3
Cleaned, the error is the same.
[Image: err1.jpg]
Reply

#4
Interesting. Did you set up AUDIO as a public share, or password protected?

Can you show me the share configuration settings of that folder on your NAS?
Snakeoil Operating System - Music, your way!
Reply

#5
I use an ASUS RT-N65U router with an external USB disk for NAS. Now the share is configured without a password. But I tried and with the password, specified login, password and working group in the CIFS settings. The mistake was the same.
[Image: Router.jpg]
Reply

#6
Huh I wonder why it's not working. Can you ssh to your Snakeoil machine, and run the following command?
Code:
sudo mount.cifs //RT-N65U/AUDIO /media/music/

What happens then? Did the share mount properly, or is there an error message?
Snakeoil Operating System - Music, your way!
Reply

#7
I connected the network drive with the command:
Code:
sudo mount.cifs //RT-N65U/wd2_5/AUDIO /media/music/
 All network resources are available and the file is played by the player.
Reply

#8
(11-Feb-2018, 10:02 PM)somiac Wrote: I connected the network drive with the command:
Code:
sudo mount.cifs //RT-N65U/wd2_5/AUDIO /media/music/
All network resources are available and the file is played by the player. 
So the NAS part work, wonder why yours don't. Think I'd have a check on the CIFS part of things later today and see what the problem is.
Snakeoil Operating System - Music, your way!
Reply

#9
Did you fix the problem?
Reply

#10
(17-Feb-2018, 03:26 PM)somiac Wrote: Did you fix the problem?

Couldn't recreate the issue. It works for me - guest shares mount fine when all the three fields in credentials are left blank. I'm testing this on x64 system though. Are you using 64 as well, or 32 bits?
Snakeoil Operating System - Music, your way!
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVEDArchive checksum error on installer 1.2.6 frednork 6 682 17-Jul-2023, 07:59 AM
Last Post: agent_kith
  add ram mount on SO machine as a share? cpcat 7 894 10-Feb-2023, 07:50 AM
Last Post: cpcat
  error opening volume TEAC dac Tecko 1 387 28-Sep-2022, 07:15 AM
Last Post: agent_kith
  [split] Trouble Mounting CIFS share in 1.2.0 (Gear Isolation) Steely 4 1,036 23-May-2021, 06:22 PM
Last Post: Bromf
  Repository Error nappyhead 8 2,070 30-Oct-2020, 11:03 PM
Last Post: nappyhead



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 612
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 149
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 70
MP3 Not Playing
Last Post: Coacharnold
10-Mar-2024 10:25 AM
» Replies: 3
» Views: 52
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 195
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 41
Announcing Snakeoil Measurements 1.3.0
Last Post: agent_kith
26-Feb-2024 10:02 PM
» Replies: 94
» Views: 4137
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 69
Snakeoil Music server & Snakeoil its own...
Last Post: Snoopy8
17-Feb-2024 11:20 AM
» Replies: 8
» Views: 365
RoonBridge (64 bit only)
Last Post: scrarfussi
15-Feb-2024 08:26 PM
» Replies: 3
» Views: 4125

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.