Test Samba Server Version 3.3.9 for CoolStream HD1
-------------------------------------------------- ----
) Stand: 10.01.2010 (U94
! Experimental - intended only for trial use!
The version provides a pure samba server for the CoolStream HD1.
CIFS shares were tested with the following clients:
1. Windows Vista Business, e.g. \ \ \ tmp
2. Kubuntu 9.04 e.g. mount-t cifs / / / tmp / tmp / mnt-o username = root, password = CoolStream
3. Triple Dragon neutrino e.g. mount-t cifs / / / tmp / tmp / mnt-o username = root, password = CoolStream
4. LG BD390 (GUI mount)
At the following pre-defined configuration values are set.
Username: Password: root CoolStream
Available shares: tmp (attests to / tmp the CoolStream)
-------------------------------------------------- -----
A. Requirements
-------------------------------------------------- -----
A certain basic knowledge about Linux is assumed. The installation and configuration requires a little know-how.
The usage is currently only available with an external USB stick (be mounted on / tmp/sda1).
-------------------------------------------------- -----
B. Installation
-------------------------------------------------- -----
The description is based on a USB flash drive, mounted on / tmp/sda1. Hard work for the automatic start over, unfortunately rcS.local
not (yet), because the necessary libraries at boot will not be read by the mount point / tmp/sdb1 /.
1. Create a directory on the USB stick for Binary
++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++
cd / tmp/sda1
mkdir bin
Sda1/sda1_bin.tar copying the file via ftp to / tmp/sda1/bin
Extract the TAR file
cd / tmp/sda1/bin
tar xvf sda1_bin.tar
Ensuring the rights
cd / tmp/sda1/bin
chmod 755 *
2. Storing the necessary libraries
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++
Sda1/sda1_lib.tar copying the file via ftp to / tmp/sda1 /
Extract the TAR file
cd / tmp/sda1
tar xvf sda1_lib.tar
It will create a new subdirectory tmp/sda1/lib /
3. System configuration
++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++
Etc_samba.tar copying the file via ftp to / etc
Extract the TAR file
cd / etc
tar xvf etc_samba.tar
It creates a new subdirectory / etc / samba, in which the configuration files, eg smb.conf are stored.
4. Appendix of the log directories
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++
cd / var
mkdir samba
5. Einfuegen the automatic start
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++
Via ftp to copy the file etc / init.d / rcS.local after
/ etc / init.d
Ensuring the rights
cd / etc / init.d
chmod 755 rcS.local
-------------------------------------------------- -----
C. Notes
-------------------------------------------------- -----
The manual start can be made wiefolgt over telnet.
cd / tmp/sda1/bin
export LD_LIBRARY_PATH = / tmp/sda1/lib
. / smbd-d 0
. / nmbd-d 0 (for netbios connections)
Whether the Samba server is running, we shall examine over
ps | grep-i smbd
e.g. ->
430 root 2716 S / tmp/sda1/bin/smbd-d 0
441 root 2232 S / tmp/sda1/bin/smbd-d 0
Other tools have been provided:
smbpasswd - for changing the passwords and user
smbclient - connect to server
testparm - check the configuration
-------------------------------------------------- -----
D. Things to Do
-------------------------------------------------- -----
1. Optimization (size)
2. Possibly Change customer directories for log.
3. We'll see
&
I enclose another small plug-in script, so you can restart the Samba server can be scripted.
This can also be used to start the Samba server in the absence of a USB stick from a hard drive too. Simply both files to / lib / tuxbox copy / plugins and set the rights
cd / lib / tuxbox / plugins
chmod 755 restart_samba.sh
Gracias a Ulster94