GP3 sambaconfig (en): Unterschied zwischen den Versionen
Mfgeg (Diskussion | Beiträge) |
|||
Zeile 5: | Zeile 5: | ||
[[Datei:GP3 sambaconfig.png|right|thumb|400px|Global settings]] | [[Datei:GP3 sambaconfig.png|right|thumb|400px|Global settings]] | ||
[[Datei:GP3 sambaconfig Freigaben.png|right|thumb|400px|Standard shares of the DMM Image]] | [[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)]]. The Samba Server (Package <code>sambaserver</code>) is installed | + | The <code>geminisambaconfig</code> Plugin is a configuration tool for the [[Samba Server (en)|Samba Server]]. The Samba Server (Package <code>sambaserver</code>) is installed together with the (sambaconfig) plugin, if not installed yet in the image. Following functions are offered: |
− | * Edit | + | * Edit global settings |
* Create / change / delete shares | * Create / change / delete shares | ||
Zeile 13: | Zeile 13: | ||
== Installation == | == Installation == | ||
− | Install the <code>geminisambaconfig</code> Plugin via [[GP3 Addons (en)|Addons]] in the Blue Panel. The package is in the category '''Gemini Plugins'''. After installing the plugin an [[Enigma2]] restart or reboot of the Dreambox is required. It's also possible to install the plugin via [[Telnet (en)]] or SSH with the following command. | + | Install the <code>geminisambaconfig</code> Plugin via [[GP3 Addons (en)|Addons]] in the Blue Panel. The package is in the category '''Gemini Plugins'''. After installing the plugin an [[Enigma2]] restart or reboot of the Dreambox is required. It's also possible to install the plugin via [[Telnet (en)|Telnet]] or SSH with the following command. |
<syntaxhighlight> | <syntaxhighlight> | ||
opkg update && opkg install geminisambaconfig | opkg update && opkg install geminisambaconfig | ||
Zeile 21: | Zeile 21: | ||
== Operation == | == Operation == | ||
− | After opening the Plugins, it's possible to change the | + | 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" | ||
Zeile 37: | Zeile 37: | ||
|} | |} | ||
− | {{Hinweis|'''Same Boxes in the network'''<br/>When using 2 similar | + | {{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>.}} |
== Access the Samba Server == | == 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 <code>\\ip_of_the_box</code> under Windows), if not | + | 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 | ||
Zeile 48: | Zeile 48: | ||
== Deinstallation == | == Deinstallation == | ||
− | Removing the plugin is done via [[GP3 Addons (en)|Addons]]. In the category '''Gemini Plugins''' select <code>geminisambaconfig</code> with the {{Taste|OK}} button and start the deinstallation with the {{Green|green}} button. After installing the plugin an [[Enigma2]] restart or reboot of the Dreambox is required. It's also possible to remove the plugin via [[Telnet (en)]] or SSH: | + | Removing the plugin is done via [[GP3 Addons (en)|Addons]]. In the category '''Gemini Plugins''' select <code>geminisambaconfig</code> with the {{Taste|OK}} button and start the deinstallation with the {{Green|green}} button. After installing the plugin an [[Enigma2]] restart or reboot of the Dreambox is required. It's also possible to remove the plugin via [[Telnet (en)|Telnet]] or SSH: |
<syntaxhighlight> | <syntaxhighlight> | ||
opkg remove geminisambaconfig | opkg remove geminisambaconfig | ||
Zeile 55: | Zeile 55: | ||
{{Hinweis|The Samba Server (Package <code>sambaserver</code>) will not be removed. }} | {{Hinweis|The Samba Server (Package <code>sambaserver</code>) will not be removed. }} | ||
− | == | + | == Command via command line == |
=== Stop Samba Server === | === Stop Samba Server === | ||
<syntaxhighlight> | <syntaxhighlight> |
Version vom 30. Dezember 2012, 23:28 Uhr
- in Deutsch | - in English |
The geminisambaconfig
Plugin is a configuration tool for the Samba Server. The Samba Server (Package sambaserver
) 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.
Inhaltsverzeichnis
Installation
Install the geminisambaconfig
Plugin via Addons in the Blue Panel. The package is in the category Gemini Plugins. After installing the plugin an Enigma2 restart or reboot of the Dreambox is required. It's also possible to install the plugin via Telnet or SSH with the following command.
opkg update && opkg install geminisambaconfig
The Plugin can be found in the Blue Panel → Daemons → Samba 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. |
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.
Deinstallation
Removing the plugin is done via Addons. In the category Gemini Plugins select geminisambaconfig
with the OK button and start the deinstallation with the green button. After installing the plugin an Enigma2 restart or reboot of the Dreambox is required. It's also possible to remove the plugin via Telnet or SSH:
opkg remove geminisambaconfig
The Samba Server (Package sambaserver ) will not be removed.
|
Command via command line
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