[SOLVED] Mount error CIFS
|
Posts: 14
Threads: 2
Likes Received: 3 in 3 posts
Likes Given: 1
Joined: Feb 2018
Reputation:
2
Location: Russia
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 host
форматы картинок
Posts: 3,025
Threads: 193
Likes Received: 1,257 in 818 posts
Likes Given: 688
Joined: Feb 2016
Reputation:
705
Location: Perth, WA
(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!
Posts: 14
Threads: 2
Likes Received: 3 in 3 posts
Likes Given: 1
Joined: Feb 2018
Reputation:
2
Location: Russia
Cleaned, the error is the same.
Posts: 3,025
Threads: 193
Likes Received: 1,257 in 818 posts
Likes Given: 688
Joined: Feb 2016
Reputation:
705
Location: Perth, WA
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!
Posts: 14
Threads: 2
Likes Received: 3 in 3 posts
Likes Given: 1
Joined: Feb 2018
Reputation:
2
Location: Russia
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.
Posts: 3,025
Threads: 193
Likes Received: 1,257 in 818 posts
Likes Given: 688
Joined: Feb 2016
Reputation:
705
Location: Perth, WA
11-Feb-2018, 08:48 AM
(This post was last modified: 12-Feb-2018, 07:52 AM by agent_kith.)
 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!
Posts: 14
Threads: 2
Likes Received: 3 in 3 posts
Likes Given: 1
Joined: Feb 2018
Reputation:
2
Location: Russia
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.
Posts: 3,025
Threads: 193
Likes Received: 1,257 in 818 posts
Likes Given: 688
Joined: Feb 2016
Reputation:
705
Location: Perth, WA
(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.  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!
Posts: 14
Threads: 2
Likes Received: 3 in 3 posts
Likes Given: 1
Joined: Feb 2018
Reputation:
2
Location: Russia
Posts: 3,025
Threads: 193
Likes Received: 1,257 in 818 posts
Likes Given: 688
Joined: Feb 2016
Reputation:
705
Location: Perth, WA
(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!
|
Users browsing this thread: 1 Guest(s)
|
Latest Threads
|
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 1891
|
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1400
|
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 8414
|
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 846
|
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 612
|
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 4695
|
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 5081
|
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 14191
|
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 4124
|
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 1097
|
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.
|
|
|