Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:public:lwdoc:netzlaufwerke_linux [12.10.2017 15:05] – created haa31353 | en:public:lwdoc:netzlaufwerke_linux [29.11.2023 11:05] (current) – opd40275 | ||
---|---|---|---|
Line 5: | Line 5: | ||
< | < | ||
smb:// | smb:// | ||
- | |||
===== Filemanager and Samba ===== | ===== Filemanager and Samba ===== | ||
Installed Samba is required for this. | Installed Samba is required for this. | ||
Line 20: | Line 19: | ||
In the menu in bookmarks or with Crtl+d a bookmark for this folder will be added. | In the menu in bookmarks or with Crtl+d a bookmark for this folder will be added. | ||
+ | ===== Using Terminal and GVfs ===== | ||
+ | If you prefer to mount network drives using the terminal or want to automate this using a script, you have the option to do so using the ' | ||
+ | |||
+ | To mount the shares, use the following command: | ||
+ | < | ||
+ | gio mount smb:// | ||
+ | When executing the command, you will be prompted for a username, domain, and password. Enter ' | ||
+ | |||
+ | If you want to unmount the shares, this is done using a parameter. | ||
+ | < | ||
+ | gio mount -u smb:// | ||
+ | |||
+ | If you don't want to enter your login credentials every time, you can create a simple text file with this data and pass it as a parameter to the command using input redirection. | ||
+ | |||
+ | The structure of the text file: | ||
+ | < | ||
+ | hs-regensburg.de | ||
+ | < | ||
+ | The text file is best saved in the home directory under / | ||
+ | |||
+ | < | ||
+ | |||
+ | Subsequently, | ||
+ | |||
+ | < | ||
+ | gio mount smb:// | ||
+ | |||
===== Mount Command and CIFS ===== | ===== Mount Command and CIFS ===== |