Here you're:
- During the debian sw-installation choose for your system "base" and "webserver".
- Assign a static IP by editing in /etc/network/interfaces
iface eth0 inet static
address 192.x.x.x
netmask 255.255.255.0
broadcast 192.x.x.x
gateway 192.x.x.x
- restart your network and check the correct ip using "ifconfig"
- install SSH, putty and an ftp server
- create some directories for cccam and don't forget the chmod!
/emu
/emu/scripts
/emu/cccam
/var/etc
/var/keys
- upload CCcam***.x86 and CCcam.cfg to /emu/cccam
- use chmod 755 for both files
- create in /scripts/ a cccam start-stop script like:
Code:
#!/bin/sh
CAMNAME="CCcam"
start_cam ()
{
/emu/cccam/CCcam.x86 &
sleep 3
}
stop_cam ()
{
pkill CCcam.x86
}
case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAME"
start_cam
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
stop_cam
;;
restart)
echo "Restaring $CAMNAME"
stop_cam
start_cam
;;
*)
"$0" stop
exit 1
;;
esac
exit 0
- test if your script works with these commands
cccam start
cccam stop
cccam restart
- now autostart for CCcam by adding in /etc/rc.local
/bin/cccam start &
- use in your .cfg /dev/ttyS0 for com1 and /dev/ttyS1 for com2
like -> SERIAL READER : /dev/ttySx
HTH