GP3 Settings Automount (en): Unterschied zwischen den Versionen

Aus Gemini-Wiki
Zur Navigation springen Zur Suche springen
Zeile 58: Zeile 58:
 
The Automount Editor edits the file <code>[[Auto.network|auto.network]]</code>, which can be found in the directory <code>/etc</code>.
 
The Automount Editor edits the file <code>[[Auto.network|auto.network]]</code>, which can be found in the directory <code>/etc</code>.
  
== Probleme ==
+
== Problems ==
* Bei Problemen beim Einbinden von Geräten, ist es ratsam das Gerät via [[Telnet]] oder [[SSH]] manuell zu [[Mounten|mounten]]. Die Fehlermeldungen helfen, um das Problem einzukreisen und zu lösen.
+
* When problems happen while mounting the devices, it is recommended to mount the device manually [[Telnet (en)]] or SSH. The error messages help to analyse and solve the problem.
* Fehlermeldungen findet ihr auch in der [https://de.wikipedia.org/wiki/Logdatei Logdatei] <code>messages</code> im Verzeichnis <code>/var/log</code>.
+
* Error messages can also be found in the [https://de.wikipedia.org/wiki/Logdatei log file] <code>messages</code> in the directory <code>/var/log</code>.
  
 
[[Kategorie:GP3 (en)]]
 
[[Kategorie:GP3 (en)]]

Version vom 2. Juli 2013, 20:36 Uhr

Deutsch.png - in Deutsch English.png - in English
Configured NFS and CIFS mounts

With the Automount Editor it's possible to mount SMB and NFS shares. The mounting is using the autofs daemon. This daemon mounts the shares automatically, as soon as the configured mount point is opened. Unmounting is also executed automatically, when leaving the directory. Additional info can be found in the article Auto Mounter. Over the created mount point(s) in /media/net the devices can be accessed.

Also interesting is the GP3 Netscan plugin, which scans the network for shares and can transfer them to the Automount Editor.

Over the green button new mount points can be created. The red button removes entries from the list. and with the blue button a speed test can be executed. But keep in mind the speed test will only work if the device is mounted successfuly.

After saving the settings and leaving the Automount Editor over the EXIT button, the autofs daemon is reloaded. The devices can be accessed immediatly, rebooting the Dreambox is not required.

Prerequisites

Mounting, which means integrate the device (PC, NAS, ...) in the file system, will only work if the SMB or NFS shares are configured correctly. And for the settings in the Automount Editor the following informations are required. (additional settings are listed in the next chapter)

  • Protocol (cifs or nfs). Please read the manual of your used devices.
  • Share name or path for nfs.
  • IP address of the device. The Hostname can also be used, if the name resolving of the Dreambox is working.
  • User name and password when using cifs.

Settings

The following table lists the different possibilities.

Setting Description
Name: Enter the wanted name (directory) for the mounted device. This name can be found later in /media/net, where the device will be mounted. The name can only be used once, otherwise the mounting is not possible!!!
Type: Selection of the protocol cifs, or nfs. The following settings depend from this selection. e.g. user name and password will only be used for cifs mounts and not for nfs.
Parameters: Over the OK button different parameters can be switched on or off (e.g. write or read access, protocol selection tcp or udp). Recommended settings are: rw,soft for cifs and rw,soft,nolock for nfs shares. Keep in mind, server settings (e.g. the write rights) can not be overruled with this options.
Server: enter the IP address of the remote device.
Share: Enter the name of the share (cifs), or path of the share (nfs).
Read/Write buffer: These options set the size of the data packages, which are exchanged by the client and server. Under normal conditions, these values should not be changed. Server and client negociate these values automatically. Keep in mind, false values can reduce the network performance heavily!
User: Enter the user name (only for cifs connections).
Password: Enter the password (only for cifs connections).
Charset (utf8): Enter character encoding (utf8) to avoid problems with special characters (only for cifs connections).

Configuration file

The Automount Editor edits the file auto.network, which can be found in the directory /etc.

Problems

  • When problems happen while mounting the devices, it is recommended to mount the device manually Telnet (en) or SSH. The error messages help to analyse and solve the problem.
  • Error messages can also be found in the log file messages in the directory /var/log.