Login to your dreambox with putty
Download mgcamd.zip
1
root@dm800:~# wget http://martin.stoll.se/wp-content/uploads/2011/06/mgcamd.zip
For DM600 you need another binary of mgcamd
1
root@dm800:~# wget http://martin.stoll.se/wp-content/uploads/2011/06/mgcamd.ppc
Unzip the file:
1
2
3
4
5
6
7
8
9
10
11
12
13
root@dm800:~#
root@dm800:~# unzip mgcamd.zip
Archive: mgcamd.zip
creating: mgcamd-1.35a/
inflating: mgcamd-1.35a/mg_cfg
inflating: mgcamd-1.35a/cccamd.list.example
inflating: mgcamd-1.35a/newcamd.list
inflating: mgcamd-1.35a/CAM_mgcamd_1.35a.sh
inflating: mgcamd-1.35a/replace.list.example
inflating: mgcamd-1.35a/ignore.list.example
inflating: mgcamd-1.35a/priority.list.example
inflating: mgcamd-1.35a/peer.cfg.example
inflating: mgcamd-1.35a/mgcamd_1.35a
Go to folder mgcamd-1.35a
1
2
root@dm800:~#
root@dm800:~# cd mgcamd-1.35a/
Copy mgcamd_1.35a to /usr/bin/ and rename it to mgcamd
1
root@dm800:~/mgcamd-1.35a# cp mgcamd_1.35a /usr/bin/mgcamd
Make mgcamd executable
1
root@dm800:~/mgcamd-1.35a# chmod +x /usr/bin/mgcamd
Create a startup-script thats make a symlink to /var/keys
1
2
root@dm800:~/mgcamd-1.35a# touch /etc/rcS.d/S88symlink
root@dm800:~/mgcamd-1.35a# chmod +x /etc/rcS.d/S88symlink
Edit S88symlink and put theese lines to the file
1
2
#!/bin/sh
ln -ns /usr/keys/ /var/keys
Reboot your dreambox
1
root@dm800:~/mgcamd-1.35a# reboot
Confirm that /var/keys/ exist
Copy all configfiles to /var/keys/
1
root@dm800:~/mgcamd-1.35a# cp * /var/keys/
Edit newcamd.list
1
root@dm800:~/mgcamd-1.35a# vi /var/keys/newcamd.list
Start mgcamd and confirm that it works
1
root@dm800:~/mgcamd-1.35a# /usr/bin/mgcamd
Put mgcamd in autostart
1
2
root@dm800:~/mgcamd-1.35a# cp CAM_mgcamd_1.35a.sh /etc/rcS.d/S99mgcamd
root@dm800:~/mgcamd-1.35a# chmod +x /etc/rcS.d/S99mgcamd
Reboot
1
root@dm800:~/mgcamd-1.35a# reboot
Done.