SambaSwitcher


Special thanks to AGMS for checking my translation.


System: Zeta

Table of Contents
  
Installation and configuration - Installation and configuration of the SambaSwitcher and Samba.
Using SambaSwitcher Using SambaSwitcher to Start Samba Server
Zeta Client settings - Connecting the Samba server from Zeta.
Windows Client settings -Connecting the Samba Server from Windows.
SambaSwitcher Themes - How to change and create SambaSwitcher themes.
Info & Help - Information and helpful tips for using SambaSwitcher and Samba.


 

Installation and configuration

The SambaSwitcher is a script to start and control a Samba server, in order to create a network between two or more computers.



After installing the SambaSwitcher you will find four new icons on the Desktop. They are the startscript to start and stop the Samba server (Samba_OFF), the shared folder named SambaShare (copy all files you want to share between the server and the client computer into this folder) and two links to configfiles for the Samba server (network and smb.conf). This two configfiles need to be changed, before you can use the Samba server.



The first step is to change the network configfile; open it with a editor like StyledEdit and change all the blue parts.

The Hostname is the name of the computer that the server is running on.

With MSWORKGROUP you define the Microsoft Workgroup

Save your changes using the file menu and close the networkconfigfile.



Next we open the smb.conf file with a editor (StyledEdit)) and change all the blue parts here too.

In the server string you define a name for the computer in the network.

Change the name of the workgroup that you are working on (see network config).

At allow host enter the IP address from which you are connecting to the network. Dont write the last number of the IP address, so that all computers which have the same IP address without the last number can connect to the server.

If you want to allow Networkprinters, change load printers to yes.

At the netbios name you declare a name for the computer in the network.

Save your changes using the file menu.



The next step is to give the Server an IP- Address. We open the networkconfig from Zeta (Zetamenu) and change to manual and set the IP- Address by Domainname Server. After this we save the settings and restart the network.

If you use a Router with DHCP, SambaSwitcher will find out you current IP address and display it after starting the Samba server.

back to Table of Contents
 

Using Samba Server



To start the Samba Server, double click on the Samba_OFF icon. When the server is running, the icon will change to Samba_ON and a window show you all the important information for connecting from a client computer to the server.

Finaly your server is activated.

Attention!!! - If you stop the server before the client computers have disconnected, they will crash.

back to Table of Contents
 

Zeta Client settings

After the server is running you can connect to the server using CifsMounter. You find CifsMounter in the Software menu under Network.



In CifsMounter we enter the network information from the server's information window. At Share Name we enter the name of the server, and at Server IP Address we enter the IP of the server. We need to enter a password to connect with the server, but this password is not used, so enter anything you want.

After this, click on Mount Network Drive to connect to the server. When the connection is ready, you will see a new folder on the desktop (named SambaShare).

back to Table of Contents

 

Windows Client settings

To connect from a Windows client computer to the Zeta machine running Samba server is only possible by searching for the IP address of the server.



To find the Samba server, open the network folder in Windows, type the IP address of the Server and press enter. The Windows search engine will start up to find your request.



After searching for the IP address, the results will appear in the search results window. Beside the IP address, the results show the name of the Workgroup that your server is in.



Next, double click on the server that the search engine found. Then you will see the shared folder of the Samba server, called sambashare. Open that folder and move or copy the files you want to share between the computers.

back to Table of Contents
 

SambaSwitcher Themes

At the themes area, you can change SambaSwitcher's appearance. If you don't like the current theme you can change it to another one or create your own.

Change into SambaSwitcher's install folder (/boot/apps/network/SambaSwitcher). In this folder are the themes for SambaSwitcher and in the CurrentTheme folder you can find the current theme.

To change the theme you just have to delete the current theme from the CurrentTheme folder and copy a new theme into this folder. It will take effect the next time you start SambaSwitcher.

If you want to create your own theme, you can look at one of the existing themes with a editor like StyledEdit. You can find help elsewhere about writing scripts and when you have more experience, you can create your own theme.

back to Table of Contents
 

Info & Help

1. The shared folder is named SambaShare and is located in your Home folder..



2. If SambaSwitcher doesn't work, check that all network services are deactivated. The services are under the Zeta menu in Preferences/Network/Services.

3. CifsMounter: If you have problems connecting to the server with CifsMounter, it can be due to the cifs Filesystem Add-On. The current version of cifs has some problems, to change this use an older version like cifs from Zeta RC2. There is no official download location for cifs, so you need to contact YellowTAB to get it.

3.1. This Script fix the cifs problem: SambaSwitcherClient

* You can find this documentation after the installing in the Zeta menu under Documentation.

back to Table of Contents


Documentation by Christian Albrecht (Lelldorin) Juni 2005
Project supported by BeSly, the BeOS & Zeta Knowledgebase.