GP3 Settings Automount (en): Unterschied zwischen den Versionen

Aus Gemini-Wiki
Zur Navigation springen Zur Suche springen
 
(12 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 4: Zeile 4:
 
  |}  
 
  |}  
 
[[Datei:GP3 Automount Editor.png|thumb|right|400px|Configured NFS and CIFS mounts]]
 
[[Datei:GP3 Automount Editor.png|thumb|right|400px|Configured NFS and CIFS mounts]]
With the Automount Editor it's possible to mount [http://de.wikipedia.org/wiki/Server_Message_Block SMB] and [http://de.wikipedia.org/wiki/Network_File_System NFS] shares. The mounting is using the <code>[http://www.autofs.org/ autofs]</code> 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]].
+
With the Automount Editor it's possible to mount [http://en.wikipedia.org/wiki/Server_Message_Block SMB] and [http://en.wikipedia.org/wiki/Network_File_System NFS] shares. The mounting is using the <code>[http://www.autofs.org/ autofs]</code> 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 <code>/media/net</code> the devices can be accessed.  
+
The devices can be accessed over the created mount point(s) in <code>/media/net</code>, or <code>/media/network</code>.  
  
 
Also interesting is the [[GP3 Netscan (en)|GP3 Netscan]] plugin, which scans the network for shares and can transfer them to the Automount Editor.
 
Also interesting is the [[GP3 Netscan (en)|GP3 Netscan]] plugin, which scans the network for shares and can transfer them to the Automount Editor.
  
Over the {{Green|green}} button new mount points can be created. The {{Red|red}} button removes entries from the list. and with the {{Blue|blue}} button a speed test can be executed. But keep in mind the speed test will only work if the device is mounted successfuly.  
+
Over the {{Green|green}} button new mount points can be created. The {{Red|red}} button removes entries from the list. and with the {{Blue|blue}} button a speed test can be executed. But keep in mind the speed test will only work if the device is mounted successfully.  
  
After saving the settings and leaving the Automount Editor over the {{Red|EXIT}} button, the <code>autofs</code> daemon is reloaded. The devices can be accessed immediatly, rebooting the Dreambox is not required.
+
After saving the settings and leaving the Automount Editor over the {{Red|EXIT}} button, the <code>autofs</code> daemon is reloaded. The devices can be accessed immediately, rebooting the Dreambox is not required.
  
 
== Prerequisites ==
 
== 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., benötigt ihr im Minimum folgende Informationen. Weitere Einstellungsmöglichkeiten sind in der folgenden Tabelle beschrieben.
+
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)
  
* Protokoll (cifs oder nfs). Lest dazu die Betriebsanleitungen der verwendeten Geräte.
+
* Protocol (cifs or nfs). Please read the manual of your used devices.
* Freigabename oder Freigabepfad für nfs.
+
* Share name or path for nfs.
* IP Adresse des Zielgerätes. Der [https://de.wikipedia.org/wiki/Hostname Hostname] kann auch benutzt werden, wenn die Namensauflösung von der Dreambox funktioniert.
+
* IP address of the device. The [https://en.wikipedia.org/wiki/Hostname Hostname] can also be used, if the name resolving of the Dreambox is working.
* Benutzername und Passwort bei der Benutzung von cifs.
+
* User name and password when using cifs.
 +
 
 +
== Settings ==
 +
The following table lists the different possibilities.
 +
 
 +
{{Achtung|Wrong entries or settings will result in mount errors, or cause bad performance.}}
  
== Einstellungen==
 
Die folgende Tabelle beschreibt die einzelnen Einstellungsmöglichkeiten.
 
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
! width="180"|Einstellung
+
! width="180"|Setting
! width="700"|Beschreibung
+
! width="700"|Description
 
|-  
 
|-  
 
| '''Name:'''
 
| '''Name:'''
| Wunschname (Verzeichnis) des zu mountenden Gerätes eingeben. Den Verzeichnisnamen findet ihr später in <code>/media/net</code>, worüber euer Gerät eingebunden wird. Der Name darf kein zweites mal verwendet, sonst ist das mounten nicht möglich!!!
+
| Enter the wanted name (directory) for the mounted device. This name can be found later in <code>/media/net</code>, where the device will be mounted. The name can only be used once, otherwise the mounting is not possible!!!
 
|-  
 
|-  
| '''Typ:'''
+
| '''Type:'''
| Auswahl der Protokolls cifs, oder nfs. Die weiteren Einstellungen sind abhängig von dieser Auswahl. Benutzername und Passwort können z.B. nur bei cifs mounts und nicht bei der Benutzung von nfs benutzt werden.
+
| 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.
 
|-  
 
|-  
| '''Parameter:'''
+
| '''Parameters:'''
| Hier könnt ihr mit der {{Taste|OK}} verschiedene Optionen ein- oder ausschalten (z.B. Schreib- Lesezugriff, Protokollwahl tcp oder udp). Empfehlenswert sind die Einstellungen <code>rw,soft</code> für cifs und <code>rw,soft,nolock</code> für nfs Zugriffe. Beachtet bitte, dass Server Einstellungen (z.B. wegen Schreibrechten) nicht mit den Optionen umgangen werden können.
+
| Over the {{Taste|OK}} button different parameters can be switched on or off (e.g. write or read access, protocol selection tcp or udp). Recommended settings are: <code>rw,soft</code> for cifs and <code>rw,soft,nolock</code> for nfs shares. Keep in mind, server settings (e.g. the write rights) can not be overruled with this options. And never mount a server with rw, in case the share is only shared with ro.  
 
|-  
 
|-  
 
| '''Server:'''
 
| '''Server:'''
| IP Adresse des zu mountenden Gerätes eingeben.
+
| enter the IP address of the remote device.
 
|-  
 
|-  
| '''Freigabe:'''
+
| '''Share:'''
| Name der Freigabe (cifs), oder Freigabepfad (nfs) eingeben.
+
| Enter the name of the share (cifs), or path of the share (nfs).
 
|-  
 
|-  
| '''Lesepuffer/Schreibpuffer:'''
+
| '''Read/Write buffer:'''
| Die Optionen bestimmen die Grösse der Datenpakete, welche Client und Server austauschen. Normal müssen keine Veränderungen vorgenommen werden, Server und Client handeln dies automatisch aus. Beachtet bitte, dass falsch eingestellte Werte, die Netzwerk Performance sehr stark reduzieren!
+
| 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 negotiate these values automatically. Keep in mind, false values can reduce the network performance heavily!
 
|-  
 
|-  
| '''Nutzer:'''
+
| '''User:'''
| Benutzername eingeben (nur für cifs Verbindungen).
+
| Enter the user name (only for cifs connections).
 
|-  
 
|-  
| '''Passwort:'''
+
| '''Password:'''
| Passwort eingeben (nur für cifs Verbindungen).
+
| Enter the password (only for cifs connections).
 
|-  
 
|-  
 
| '''Charset (utf8):'''
 
| '''Charset (utf8):'''
| [http://de.wikipedia.org/wiki/Zeichenkodierung Zeichenkodierung] eingeben ([http://de.wikipedia.org/wiki/Utf8 utf8]) um Probleme mit Umlauten zu vermeiden (nur für cifs Verbindungen).
+
| Enter [http://en.wikipedia.org/wiki/Character_encoding character encoding] ([http://en.wikipedia.org/wiki/UTF-8 utf8]) to avoid problems with special characters (only for cifs connections).
 
|}
 
|}
  
== Konfigurationsdatei ==
+
== Configuration file ==
Der Automount Editor bearbeitet die Datei <code>[[Auto.network|auto.network]]</code>, welche im Verzeichnis <code>/etc</code> zu finden ist.
+
Untill [[OE 2.0 (en)|OE 2.0]] the Automount Editor edits the file <code>[[Auto.network|auto.network]]</code>, which can be found in the directory <code>/etc</code>. Since [[OE 2.2 (en)|OE 2.2]] the used file is: <code>[[Auto.gemini|auto.gemini]]</code>, 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 analyze 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>.
+
* With [[OE 2.0 (en)|OE 2.0]] error messages can also be found in the log file <code>messages</code> in the directory <code>/var/log</code>. For OE 2.2 you should use the command <code>journalctl -f</code> to find the error.
  
 
[[Kategorie:GP3 (en)]]
 
[[Kategorie:GP3 (en)]]

Aktuelle Version vom 30. November 2014, 21:01 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. The devices can be accessed over the created mount point(s) in /media/net, or /media/network.

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 successfully.

After saving the settings and leaving the Automount Editor over the EXIT button, the autofs daemon is reloaded. The devices can be accessed immediately, 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.

Ambox attention.png Wrong entries or settings will result in mount errors, or cause bad performance.
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. And never mount a server with rw, in case the share is only shared with ro.
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 negotiate 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

Untill OE 2.0 the Automount Editor edits the file auto.network, which can be found in the directory /etc. Since OE 2.2 the used file is: auto.gemini, 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 analyze and solve the problem.
  • With OE 2.0 error messages can also be found in the log file messages in the directory /var/log. For OE 2.2 you should use the command journalctl -f to find the error.