GP3 sambaconfig (en): Unterschied zwischen den Versionen

Aus Gemini-Wiki
Zur Navigation springen Zur Suche springen
 
(22 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 3: Zeile 3:
 
  |[[Bild:english.png]] - [[GP3 sambaconfig (en)|in English]]
 
  |[[Bild:english.png]] - [[GP3 sambaconfig (en)|in English]]
 
  |}  
 
  |}  
[[Datei:GP3 sambaconfig.png|right|thumb|400px|Globale Einstellungen]]
+
{{GP|With Gemini Project 3.3 the plugin is installed by default. Keep also in mind, the samba servers package as of [[OE 2.2 (en)|OE 2.2]] is <code>'''samba-base'''</code>, before the name was <code>sambaserver</code>.}}
[[Datei:GP3 sambaconfig Freigaben.png|right|thumb|400px|Standard Freigaben vom DMM Image]]
+
[[Datei:GP3 sambaconfig.png|right|thumb|400px|Global settings]]
Das <code>geminisambaconfig</code> Plugin ist ein Konfigurationstool für den [[Samba Server]]. Der Samba Server (Paket <code>sambaserver</code>) wird bei der Installation des Plugins auch mit installiert, sofern er im Image nicht vorhanden ist. Folgende Funktionen werden bereitgestellt:
+
[[Datei:GP3 sambaconfig Freigaben.png|right|thumb|400px|Standard shares of the DMM Image]]
 +
The <code>'''geminisambaconfig'''</code> Plugin is a configuration tool for the [[Samba Server (en)|Samba Server]]. The Samba Server (Package <code>sambaserver</code> or <code>samba-base</code>), is installed together with the (sambaconfig) plugin, if not installed yet in the image. Following functions are offered:
  
* Editieren von gobalen Einstellungen
+
* Edit global settings
* Erstellen / Anpassen / Löschen von Freigaben
+
* Create / change / delete shares
  
Beachtet bitte, dass der <code>sambaserver</code> standardmässig keine Authentifizierung mittels Benutzernamen und Passwort erlaubt. Jeder Benutzer kann auf die konfigurierten Dreambox Freigaben zugreifen.
+
Keep in mind the standard <code>sambaserver</code> is not offering an authentication with an user name and password. Every user can access the configured shares on the Dreambox.
  
== Installation ==
+
== Installation / Deinstallation ==
Installiert das <code>geminisambaconfig</code> Plugin via [[GP3 Addons|Addons]] im Blue Panel. Das Paket befindet sich in der Kategorie '''Gemini Plugins'''. Startet nach der Installationen die Dreambox neu. Alternativ kann das Plugin auch via [[Telnet]] oder [[SSH]] mit folgendem Befehl installiert werden.
+
The <code>geminisambaconfig</code> plugin can be installed / removed in different ways:
<syntaxhighlight>
+
{{Hauptbeitrag (en)|GP3 Addons (en){{!}}GP3 Addons| - Category: Gemini Plugins}}
opkg update && opkg install geminisambaconfig
+
{{Hauptbeitrag (en)|WebAdmin (en){{!}}WebAdmin| - Package name: <code>geminisambaconfig</code>}}
</syntaxhighlight>
+
{{Hauptbeitrag (en)|OPKG (en){{!}}OPKG| - Package name: <code>geminisambaconfig</code>}}
 
+
Restart [[Enigma2 (en)|Enigma2]] after the installation, or reboot the Dreambox. The Plugin can be found in the {{Blue|Blue Panel}} → {{Taste|Daemons}} → {{Taste|Samba Settings}}.
Das Plugin findet ihr standardmässig im {{Blue|Blue Panel}} → {{Taste|Daemons}} → {{Taste|Samba Einstell.}}.
 
  
== Bedienung ==
+
== Operation ==
Nach dem Öffnen des Plugins, könnt ihr Globale Einstellungen des Samba Servers anpassen, wobei die Standard Einstellungen ohne Probleme funktionieren. Die folgende Tabelle zeigt euch die Beschreibung der Farbtasten, bearbeiten von Freigaben und interessante Einstellungen, die ihr anpassen könnt. Gespeicherte Einstellungen werden in die Datei <code>smb.conf</code> im Verzeichnis <code>/etc/samba</code> geschrieben.
+
After opening the Plugins, it's possible to change the global settings of the Samba Servers, but the standard settings should work without any problem. The following list explains the color buttons, editing the shares en other settings, which can be changed. Saved settings are stored in the file <code>smb.conf</code> in the directory <code>/etc/samba</code>.
  
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
! width="120"|Eingaben
+
! width="120"|Input
! width="100%"|Beschreibung
+
! width="100%"|Description
 
|-  
 
|-  
| {{Green|speichern}}
+
| {{Green|save}}
| Speichert die Einstellungen und schliesst das Plugin.  
+
| Saves the settings and closes the plugin.  
 
|-  
 
|-  
| {{Red|Freigaben}}
+
| {{Red|Shares}}
| Öffnet das Konfigurationsmenü der Freigaben. Mit der {{Taste|OK}} Taste, öffnet ihr bestehende Freigaben und könnt sie editieren. Mit der {{Green|grünen}} Taste erstellt ihr neue Freigaben und die {{Red|rote}} Taste löscht Freigaben. <br />Als Freigaben könnt ihr Speichergeräte (DVD, USB, CF, usw.) einbinden, Bedingung ist aber, dass sie korrekt im System eingebunden sind. Den Mountpunkt (z.B. <code>/media/cf</code>) müsst ihr natürlich wissen, beim Erstellen von den Freigaben. Speichert eure Einstellungen mit der {{Green|grünen}} Taste bevor ihr das Plugin verlässt. Ein Neustart vom Samba Server ist nicht nötig.
+
| Opens the configuration menu of the shares. With the {{Taste|OK}} button, the existing shares can be opened to edit. With the {{Green|green}} button a new share is creates and the {{Red|red}} button deletes shares. <br />External devices (DVD, USB, CF, etc.) can be shared, of course the device needs to be mounted correctly before. The mount point (e.g. <code>/media/cf</code>) should be known, to create a share. Save the settings with the {{Green|green}} button before closing the plugin. A restart of the Samba Server is not required.
 
|-  
 
|-  
 
| workgroup
 
| workgroup
| Alternativ, könnt ihr den Namen der Arbeitsgruppe (workgroup), wie bei den anderen Windows Rechnern in eurem Netzwerk anpassen. Ist aber keine Bedingung, um auf die Dreambox zugreifen zu können. Das Anzeigen von der Dreambox im Netzwerk kann einige Minuten dauern, insbesondere wenn mehrere Arbeitsgruppen vorhanden sind.
+
| It's also possible to change the name of the workgroup, as with other Windows computers in the network. This is not mandatory to access the Dreambox. It can take some minutes before the Dreambox is shown in the network, especially when multiple workgroups exist.
 
|}
 
|}
  
{{Hinweis|'''Gleiche Boxen im Netzwerk'''<br/>Wenn ihr zwei gleiche Dreamoxen (z.B. zwei DM7020HD) mit Samba Server im Netzwerk benutzt, habt ihr einen Konflikt, da die Hostnamen doppelt vorhanden sind. Datenaustausch ist in diesem Fall nicht möglich. Ändert in diesem Fall den Hostnamen auf einer Dreambox. Die Konfigurationsdatei befindet sich unter <code>/etc/hostname</code>.}}
+
{{Hinweis|'''Same Boxes in the network'''<br/>When using 2 similar Dreamboxes (e.g. two DM7020HD) with Samba Server in the network, a conflict happens. Because the host name exists twice. Transferring data is not possible in this case. So change the host name on one Dreambox. The configuration file is <code>/etc/hostname</code>.}}
  
== Zugriff auf den Samba Server ==
+
== Access the Samba Server ==
Die Dreambox(en) sollten im Normalfall automatisch in den jeweiligen Dateimanagern oder Netzwerkumgebung der verschiedenen Betriebssysteme angezeigt werden. Ihr könnt auch nach den Boxen suchen (z.B. mit <code>\\ip_der_box</code> unter Windows), wenn ihr sie nicht findet. Unter Windows ist sicher das Stichwort "Netzlaufwerkverbindung" interessant, um die Dreambox im Windows Explorer zu integrieren.
+
The Dreambox(es) should be displayed automatically in the file browser or network overview of the different operating systems. It's also possible to search for the Boxes (e.g. with <code>\\ip_of_the_box</code> under Windows), if not displays automatically. Under Windows the option "Map network drive" is interesting, to integrate the Dreambox in the Windows Explorer.
 
<gallery>
 
<gallery>
 
Datei:GP3 sambaconfig win8.png|WindowsExplorer - Win8
 
Datei:GP3 sambaconfig win8.png|WindowsExplorer - Win8
 
Datei:GP3 sambaconfig ubuntu.png|Nautilus - Ubuntu
 
Datei:GP3 sambaconfig ubuntu.png|Nautilus - Ubuntu
Datei:GP3 sambaconfig Netzlaufwerk.png|Netzlaufwerk Win8
+
Datei:GP3 sambaconfig Netzlaufwerk.png|Network drive Win8
 
</gallery>
 
</gallery>
  
== Deinstallation ==
+
== Command via command line ==
Deinstallation erfolgt über die Kategorie '''Gemini Plugins''' in den [[GP3 Addons|Addons]]. Wählt das <code>geminisambaconfig</code> Plugin mit der {{Taste|OK}} Taste und startet die Deinstallation mit der {{Green|grünen}} Taste. Führt nach der Deinstallationen einen [[Enigma2]] Neustart aus, oder startet die Dreambox neu. Oder deinstalliert das Plugin via [[Telnet]] oder [[SSH]]:
+
=== Up to OE 2.0 ===
 +
=== Stop Samba Server ===
 
<syntaxhighlight>
 
<syntaxhighlight>
opkg remove geminisambaconfig
+
/etc/network/if-down.d/01samba-kill
 
</syntaxhighlight>
 
</syntaxhighlight>
  
{{Hinweis|Der Samba Server (Paket <code>sambaserver</code>) wird dabei nicht deinstalliert. }}
+
=== Start Samba Server ===
 
 
== Befehle in der Kommandozeile ==
 
=== Samba Server stoppen===
 
<syntaxhighlight>
 
/etc/network/if-down.d/01samba-kill
 
</syntaxhighlight>
 
=== Samba Server starten ===
 
 
<syntaxhighlight>
 
<syntaxhighlight>
 
/etc/network/if-up.d/01samba-start  
 
/etc/network/if-up.d/01samba-start  
 
</syntaxhighlight>
 
</syntaxhighlight>
=== Samba Version anzeigen ===
+
 
 +
=== Show Samba Version ===
 
<syntaxhighlight>
 
<syntaxhighlight>
 
smbd --version
 
smbd --version
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
=== Since OE 2.2 ===
 +
==== Stop Samba Server ====
 +
<syntaxhighlight>systemctl stop samba</syntaxhighlight>
 +
 +
==== Start Samba Server ====
 +
<syntaxhighlight>systemctl start samba</syntaxhighlight>
 +
 +
==== Show status of Samba Server ====
 +
<syntaxhighlight>systemctl status samba</syntaxhighlight>
 +
 +
=== Since OE 2.5 ===
 +
==== Stop Samba Server ====
 +
<syntaxhighlight>systemctl stop smb.service</syntaxhighlight>
 +
 +
==== Start Samba Server ====
 +
<syntaxhighlight>systemctl start smb.service</syntaxhighlight>
 +
 +
==== Show status of Samba Server ====
 +
<syntaxhighlight>systemctl status smb.service</syntaxhighlight>
  
 
[[Kategorie:GP3 (en)]]
 
[[Kategorie:GP3 (en)]]

Aktuelle Version vom 4. Januar 2017, 21:36 Uhr

Deutsch.png - in Deutsch English.png - in English
Ambox GP3.png With Gemini Project 3.3 the plugin is installed by default. Keep also in mind, the samba servers package as of OE 2.2 is samba-base, before the name was sambaserver.
Global settings
Standard shares of the DMM Image

The geminisambaconfig Plugin is a configuration tool for the Samba Server. The Samba Server (Package sambaserver or samba-base), is installed together with the (sambaconfig) plugin, if not installed yet in the image. Following functions are offered:

  • Edit global settings
  • Create / change / delete shares

Keep in mind the standard sambaserver is not offering an authentication with an user name and password. Every user can access the configured shares on the Dreambox.

Installation / Deinstallation

The geminisambaconfig plugin can be installed / removed in different ways:

Hauptbeitrag.png see article: GP3 Addons - Category: Gemini Plugins
Hauptbeitrag.png see article: WebAdmin - Package name: geminisambaconfig
Hauptbeitrag.png see article: OPKG - Package name: geminisambaconfig

Restart Enigma2 after the installation, or reboot the Dreambox. The Plugin can be found in the Blue PanelDaemonsSamba Settings.

Operation

After opening the Plugins, it's possible to change the global settings of the Samba Servers, but the standard settings should work without any problem. The following list explains the color buttons, editing the shares en other settings, which can be changed. Saved settings are stored in the file smb.conf in the directory /etc/samba.

Input Description
save Saves the settings and closes the plugin.
Shares Opens the configuration menu of the shares. With the OK button, the existing shares can be opened to edit. With the green button a new share is creates and the red button deletes shares.
External devices (DVD, USB, CF, etc.) can be shared, of course the device needs to be mounted correctly before. The mount point (e.g. /media/cf) should be known, to create a share. Save the settings with the green button before closing the plugin. A restart of the Samba Server is not required.
workgroup It's also possible to change the name of the workgroup, as with other Windows computers in the network. This is not mandatory to access the Dreambox. It can take some minutes before the Dreambox is shown in the network, especially when multiple workgroups exist.
Ambox notice.png Same Boxes in the network
When using 2 similar Dreamboxes (e.g. two DM7020HD) with Samba Server in the network, a conflict happens. Because the host name exists twice. Transferring data is not possible in this case. So change the host name on one Dreambox. The configuration file is /etc/hostname.

Access the Samba Server

The Dreambox(es) should be displayed automatically in the file browser or network overview of the different operating systems. It's also possible to search for the Boxes (e.g. with \\ip_of_the_box under Windows), if not displays automatically. Under Windows the option "Map network drive" is interesting, to integrate the Dreambox in the Windows Explorer.

Command via command line

Up to OE 2.0

Stop Samba Server

/etc/network/if-down.d/01samba-kill

Start Samba Server

/etc/network/if-up.d/01samba-start

Show Samba Version

smbd --version

Since OE 2.2

Stop Samba Server

systemctl stop samba

Start Samba Server

systemctl start samba

Show status of Samba Server

systemctl status samba

Since OE 2.5

Stop Samba Server

systemctl stop smb.service

Start Samba Server

systemctl start smb.service

Show status of Samba Server

systemctl status smb.service