ArcoLinux -D -B 19.1 iso's have been released

[OPEN] Failed to Mount Windows Share

First check the forums - Do not know where to put it then put it here
Post Reply
j4media
Crewman
Posts: 9
Joined: Fri Jan 25, 2019 7:27 pm
United States of America
[OPEN] Failed to Mount Windows Share

Post by j4media » Fri Mar 08, 2019 9:12 pm

I'm having a problem connecting to one of my network shares via Samba.

When I put in the address smb://my network share location, I can see the sub folders, but when I double click on the folder to open it I get the error "Failed to mount Windows share: Invalid argument".

I am able to access this network share with other PCs in my network so I think there is something I need to configure on my ArcoLinux box.

Can somebody help?

Thanks in advance!

John

User avatar
erikdubois
Captain
Posts: 1756
Joined: Tue Nov 07, 2017 2:45 pm
Location: Belgium
Contact:
Belgium
Re: [OPEN] Failed to Mount Windows Share

Post by erikdubois » Sat Mar 09, 2019 5:24 am

I like you to run this one

/home/$USER/.bin/main/150-install-network-discovery-v4.sh

so we are sure you have the necessary software

then check if /etc/nsswitch.conf has the correct data

Code: Select all

# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.
# we changed nsswitch.conf to have access to nas servers
# This config file comes from the package filesystem
# Added two & otherwise installation script 140 
# from ArcoLinuxD will change it

# This is the original line (minus 2 &)
# hosts: files & mymachines myhostname resolve [!UNAVAIL=return] & dns

# This is our ArcoLinux line
# hosts: files mymachines resolve [!UNAVAIL=return] mdns dns wins myhostname

passwd: files mymachines systemd
group: files mymachines systemd
shadow: files

publickey: files

hosts: files mymachines resolve [!UNAVAIL=return] mdns dns wins myhostname
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
and only then use the power of our moderators.

j4media
Crewman
Posts: 9
Joined: Fri Jan 25, 2019 7:27 pm
United States of America
Re: [OPEN] Failed to Mount Windows Share

Post by j4media » Sat Mar 09, 2019 8:08 pm

I connected to the IP address instead of the network share name and it worked as expected.

Not sure why it wouldn't let me connect with the network share name, but I'll troubleshoot further with the suggestion you made above.

Thanks for your help!


Post Reply

Return to “General Questions”