Einhängen von meinem NAS-Laufwerk

More
2 years 8 months ago - 2 years 8 months ago #294627 by Yoshyluebeck
Hallo zusammen,
Ich möchte gerne von meinem LinuxCnc Rechner auf mein Nas zugreifen.
Wenn ich das Laufwerk mounte kann ich darauf zugreifen.
sudo mount -t cifs //192.168.178.62/4tb /mnt/nas -o username=rainer,password=4711,uid=$(id -u),gid=$(id -g),file_mode=0777,dir_mode=0777

Wenn ich folgendes in die fstab eingebe kann ich nicht auf das Nas Laufwerk zugreifen. Ich bin Linux Anfänger und Linux ist schon eine Umstellung für mich!

# NAS-Laufwerk
//192.168.178.62/4tb /mnt/nas cifs vers=3.0,username=rainer,password=4711,uid=$(id -u),gid=$(id -g),file_mode=0777,dir_mode=0777 0 0

Ich habe folgendes installiert
Code:
sudo apt update sudo apt install cifs-utils  
Last edit: 2 years 8 months ago by Yoshyluebeck.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #294634 by tommylight

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #294636 by spicer
In fstab steht kein mount Befehl. Das hat Yosh richtig gemacht!
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #294637 by tommylight
Ich wil sehen was steht im meinem fstab spater, aber ich nutze NFS.
Danke.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago - 2 years 8 months ago #294638 by spicer
In meiner fstab (Linux Mint Desktop) steht:
//192.168.1.2/dokumente /home/daniel/dokumente cifs defaults,nofail,uid=1000,credentials=/root/.smbcredentials
Wobei in .smbcredentials User und Passwort stehn.
Das NAS ist ein Synology und das Unterverzeichnis ist "dokumente".
Last edit: 2 years 8 months ago by spicer.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #294641 by Tchefter
Hi Yosh,

ich habe das explizit genau nach dieser Anleitung gemacht und funktioniert!
Evtl. hilft dir das weiter

Please Log in or Create an account to join the conversation.

Moderators: Muecke
Time to create page: 0.168 seconds
Powered by Kunena Forum