Quantcast
Viewing all articles
Browse latest Browse all 5332

Troubleshooting • Re: Mapping a network share

Hello,

You are right: it's in /etc/fstab that you must put the mount of your share.

For me, below is the mount that I use on my Pi:

Code:

//freebox/Disque\040dur/ /freebox cifs guest,uid=1000,gid=1000,iocharset=utf8,_netdev 0 0
Ant it is mounted automatically at boot time.

But in your case, you must give a user name and a password and not using "guest" option. I suggest you to use a specific file for this as documented in the "man mount.cifs"
credentials=filename|cred=filename
specifies a file that contains a username and/or password and optionally the name of the workgroup. The format
of the file is:

username=value
password=value
domain=value

This is preferred over having passwords in plaintext in a shared file, such as /etc/fstab . Be sure to protect
any credentials file properly.

Statistics: Posted by PhL91 — Mon Mar 04, 2024 12:45 pm



Viewing all articles
Browse latest Browse all 5332

Trending Articles