How enable samba server

phoenix01

Registered
Messages
7
After some digging I find out a solution:
You need a TD with hard disk and if you don't have usb storage the best way is

* found a old image with samba server files as tdimage_2007_02_03.zip
* extract tdimage.bin file and copy it to root of TD hard disk
* connect to td via telnet and to go where you put tdimage.bin
* create a temporary folder with command "mkdir tmp-disk"
* mount tdimage with command "mount /mnt/hd/tdimage.bin /mnt/hd/tmp-disk -o loop=/dev/loop/0"
* copy samba server file with commands:
o "cp /mnt/hd/tmp-disk/bin/smbd /mnt/hd/data/var/bin"
o "cp /mnt/hd/tmp-disk/bin/nmbd /mnt/hd/data/var/bin"
o "cp /mnt/hd/tmp-disk/bin/smbrun /mnt/hd/data/var/bin"
o "cp /mnt/hd/tmp-disk/bin/smbpasswd /mnt/hd/data/var/bin"
* make symbolic links
o "ln -s /mnt/hd/data/var/bin/smbd /var/bin/"
o "ln -s /mnt/hd/data/var/bin/nmbd /var/bin/"
o "ln -s /mnt/hd/data/var/bin/smbrun /var/bin/"
o "ln -s /mnt/hd/data/var/bin/smbpasswd /var/bin/"
* umount /mnt/hd/tmp-disk

That's all and the service is avalaible via extra menu.

Samba configuration file with shared folders is /etc/smb.conf

In case that you have moved /var folder to HD or usb device is enough to copy the files to /var/bin without make any symbolic links.

Un saluto

p.s.
anyone know how use the decoder as vlc client?
 
Top