1 HTTP server
Already on the box. Problem is that content is deleted every boot, must change content in /tmp_orig or change location…
…. to be done….
2 TV streaming over HTTP
Execute as root:
ln -s /usr/local/etc/hdd/livepause/DVD_RTAV /var/www/stream
If not permanent timeshifting is switched on already:
Now go to input video (on the MovieCube).
Press the "Timeshift" button on the remote-control to start recording.
Now open mPlayer or Windows Media Player on your pc.
open "file"
click on "load URL"
input this
http://<name/ip>/stream/VR_MOVIE.VRO
Now you have streaming tv on your pc :)
3 Samba
Samba conf is stored in /usr/lib… I'm used to have it in /etc. So simply create a link
ln -s /usr/lib/smb.conf smb.conf
Example of my extended smb.conf file
/ # cat /usr/lib/smb.conf
[global]
load printers = no
disable spoolss = yes
syslog = 1
security = share
dns proxy = no
debug level = 0
netbios name = NAS
workgroup = local.net
server string = NAS Emtec Samba Server
[FAT32]
guest ok = yes
comment = HDD Partition 1
path = /usr/local/etc/hdd/volumes/HDD1
writable = yes
read only = no
[NTFS]
guest ok = yes
comment = HDD Partition 2
path = /usr/local/etc/hdd/volumes/HDD2
writable = yes
read only = no
[root]
guest ok = yes
comment = NAS Root read only
path = /
writable = no
read only = yes
[liverecording]
guest ok = yes
comment = NAS live recording read only
path = /usr/local/etc/hdd/livepause/DVD_RTAV
writable = no
read only = yes
[recordings]
guest ok = yes
comment = NAS Recordings
path = /usr/local/etc/hdd/dvdvr/DVD_RTAV
writable = yes
read only = no
[USB_devices]
guest ok = yes
comment = USB devices
path = /mnt/usbmounts
writable = yes
read only = no
4 FTP server
Coming soon…. based on bftpd installation of http://rtd1261.wikidot.com, but the configuration listed there is too unsecure for me….
The incomplete part:
mkdir /ftp
mkdir /ftp/tmp
cp /usr/local/etc/hdd/volumes/HDD1/ftp_1000s+startscript/* /ftp/tmp/
cd /ftp/tmp
chmod +x bftpd
Create user section to not allow passwordless anonymous:
user root {^M
ANONYMOUS_USER="no"^M
ROOTDIR="/"^M
}^M
#Edit the very unsecure config
/ftp/tmp/bftpd.conf
- start daemon
./bftpd -d -c /ftp/tmp/bftpd.conf
Add startup script:
#ftp stream tcp nowait root /usr/sbin/ftpd ftpd -u 100
ftp stream tcp nowait root /ftp/tmp/bftpd -d -c /ftp/tmp/bftpd.conf
To activate: Reboot the box by executing 'reboot'
5 NFS server
To be continued…..