Samba for Coolstream HD1

Status
Not open for further replies.

elgeneral

Well Known Member
Messages
7,811
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. \ \ <IP Address> \ tmp
2. Kubuntu 9.04 e.g. mount-t cifs / / <IP-address> / tmp / tmp / mnt-o username = root, password = CoolStream
3. Triple Dragon neutrino e.g. mount-t cifs / / <IP-address> / 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
 

juli13

Staff member
Administrator
Messages
10,198
fix_samba-3.3.9.

14.01.2010

Here is the diff against the build system.

Whether this also needs to run another test jmd
 

juli13

Staff member
Administrator
Messages
10,198
15.01.2010

That's what it's changed:

--- tmp/.diff_dg9bT8 2010-01-15 21:49:51.267417008 +0100
+++ home/Gandharva/cs-neutrino/make/system-tools.mk 2010-01-15 21:49:40.334169613 +0100
@@ -142,7 +142,7 @@
$(PATCH)/samba-3.3.9.diff && \
cp $(PATCHES)/samba-3.3.9-config.site source/config.site && \
cd source && \
- export CONFIG_SITE=config.site && \
+ export CONFIG_SITE=./config.site && \
./autogen.sh && \
$(CONFIGURE) --build=$(BUILD) --host=$(TARGET) --target=$(TARGET) \
--prefix= --mandir=/.remove \
"make install" but is still in his pants. Since you have to either create missing directories before (make preqs) or single out everything you need to copy.
 
Status
Not open for further replies.
Top