====== Linux ====== The available drives can be found [[en:public:lwdoc:netzlaufwerke_cifs#enter_network_drive_path|here]] \\ **Instead of "\" you need to enter "/".**\\ Instead \\fs-software.hs-regensburg.de\soft1 smb://fs-software.hs-regensburg.de/soft1 ===== Filemanager and Samba ===== Installed Samba is required for this. Open Nautilus. In the Menu click Go and Enter Location or Ctrl+L. {{:public:lwdoc:nautilus_enterlocation.png?400|}} {{:public:lwdoc:nautilus_adressleiste.png?400|}} Now you need to enter your useraccount, domain and password. {{:public:lwdoc:password_dialog.png?400|}} 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 'gio' tool. 'gio' is capable of mounting SMB shares as GVfs mount points. To mount the shares, use the following command: gio mount smb://fs.hs-regensburg.de/storage gio mount smb://fs-home.hs-regensburg.de/home/ When executing the command, you will be prompted for a username, domain, and password. Enter 'hs-regensburg.de' as the domain. If you want to unmount the shares, this is done using a parameter. gio mount -u smb://fs.hs-regensburg.de/storage gio mount -u smb://fs-home.hs-regensburg.de/home/ 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 /home//.smbpass, and the permissions should be modified to ensure that only the user has access to it. chmod 0600 /home//.smboth Subsequently, you can use this file when mounting the shares. gio mount smb://fs.hs-regensburg.de/storage /.smboth gio mount smb://fs-home.hs-regensburg.de/home/ /.smboth ===== Mount Command and CIFS ===== To mount the network shares under a Linux distribution the CIFS-part of the Samba project need to be installed. Usually the package is named ''cifs-utils'', which should be available via your systems packagemanager. # mount -t cifs //fs-.hs-regensburg.de/ /mnt/ -o domain=hs-regensburg.de,user=abc12345