popss, you have to set the correct settings (Net ID / FREQ) for your area then you will get a signal.
Posts by contemptx
-
-
oscript.sh seems to have a few syntax errors.
also it refers to oscam.x86, however the file included is just named oscam.also unsure if its because im using ubuntu, but i got a libssl issue so had to install those manually.
do you also have a list of the crontabs?
Thanks!
-
see my post here: http://linuxsat-support.com/li…rfox0786-4.html#post43548
These are the edits to fix crontab. -
madhatter,
install tofromdos: apt-get install tofrodos
then run:
fromdos /tmp/serverinstall.sh
fromdos /tmp/linux_softcam_pack/LogCleanUp.sh
fromdos /tmp/linux_softcam_pack/configupdate.sh -
For those wanting to keep there dns updated install: sudo apt-get install ddclient
and follow the prompts ;) -
OK,
I dont know whats up with the cccam binary provided in your script, but it wont boot for toffie!
I copied over the cccam binary from my other server & bingo! all working ;)I have attached it to this post.
-
Other Issues:
CRONTAB:
Looking over the crontab section of the install, there are some errors:echo "making crontabs in /etc/crontab, remember no crontab -e..."
echo "Please Wait..."
sleep 3
echo "55 05 * * * root killall CCcam.x86" >> /etc/crontab
echo "55 05 * * * root pkill oscam.x86" >> /etc/crontab
echo "57 05 * * * root /var/script/configupdate.sh" >> /etc/crontab
echo "58 05 * * * root /var/script/keyupdater.sh" >> /etc/crontab
echo "59 05 * * * root /usr/local/bin/oscam.x86 -b -c /var/etc/config" >> /etc/crontab
echo "59 05 * * * root touch /media/card/camlogs/CCcam/CCcam.log && /usr/local/bin/CCcam.x86 -d >> /media/card/camlogs/CCcam/CCcam.log" >> /etc/crontab
echo "*/6 * * * * root /var/script/OscamCheck.sh" >> /etc/crontab
echo "*/6 * * * * root /var/script/CCcamCheck.sh" >> /etc/crontab
echo "05 06 * * 7 root /var/script/LogCleanUp.sh >> /media/card/camlogs/CleanUp.log" >> /etc/crontab
sleep 2
echo "Installing Server required software..."Update to:
echo "making crontabs in /etc/crontab, remember no crontab -e..."
echo "Please Wait..."
sleep 3
echo "55 05 * * * root killall CCcam.x86" >> /etc/crontab
echo "55 05 * * * root killall oscam.x86" >> /etc/crontab
echo "57 05 * * * root /var/script/configupdate.sh" >> /etc/crontab
echo "58 05 * * * root /var/script/keyupdater.sh" >> /etc/crontab
echo "59 05 * * * root /usr/local/bin/oscam.x86 -b" >> /etc/crontab
echo "59 05 * * * root /usr/local/bin/CCcam.x86" >> /etc/crontab
echo "*/6 * * * * root /var/script/OscamCheck.sh" >> /etc/crontab
echo "*/6 * * * * root /var/script/CCcamCheck.sh" >> /etc/crontab
echo "05 06 * * 7 root /var/script/LogCleanUp.sh >> /var/cccamlogs/CleanUp.log" >> /etc/crontab
echo "45 04 * * * /etc/init.d/ddclient --force" >> /etc/crontab
sleep 2
echo "Installing Server required software..."I have added: 45 04 * * * /etc/init.d/ddclient --force
This for to update dns clients such as: dyndns (when installed).... more on that later ;)To manually edit, run: sudo crontab -e
then paste:
55 05 * * * root killall CCcam.x86 >> /etc/crontab
55 05 * * * root killall oscam.x86 >> /etc/crontab
57 05 * * * root /var/script/configupdate.sh >> /etc/crontab
58 05 * * * root /var/script/keyupdater.sh >> /etc/crontab
59 05 * * * root /usr/local/bin/oscam.x86 -b >> /etc/crontab
59 05 * * * root /usr/local/bin/CCcam.x86 >> /etc/crontab
*/6 * * * * root /var/script/OscamCheck.sh >> /etc/crontab
*/6 * * * * root /var/script/CCcamCheck.sh >> /etc/crontab
05 06 * * 7 root /var/script/LogCleanUp.sh >> /var/cccamlogs/CleanUp.log >> /etc/crontab
45 04 * * * /etc/init.d/ddclient --force-
RC.LOCAL
Has a couple of /folder paths/ change to:
sleep 5
/usr/local/bin/oscam.x86 -b -c /var/etc/config &
sleep 1
/var/camlogs/CCcam/CCcam.log &
sleep 5
/usr/local/bin/CCcam.x86 -d >> /var/camlogs/CCcam/CCcam.log &
exit 0
-
CCcamInfo:
I noticed in config.php that there are multiple arrays open:
//$CCCamWebInfo[] = array("localhost","12345","user","pass"); // for CCcam webinterface with user and pass
$CCCamWebInfo[] = array("192.168.1.10","16001"); // for CCcam webinterface with different port than default and without user and pass
$CCCamWebInfo[] = array("localhost"); // for CCcam webinterface with all defaultsChange to:
//$CCCamWebInfo[] = array("localhost","12345","user","pass"); // for CCcam webinterface with user and pass
$CCCamWebInfo[] = array("localhost","16001"); -
At first I thought it was my config, however after tampering, it seems cccam is not starting.
I'm going to double check my config against my server that is running & compare crontab aswell.OScam is running.
I have a totally fresh install and until later next week this box is a spare, so I can do any testing if required ;)
I also noticed that in config.php for cccaminfo, this has 2 config options uncommented which would probably cause issues with it connecting to cccam, however this is only a minor edit ;)
-
I noticed some people are having a couple of issues with the files after they have edited them.
install: apt-get install tofrodos
then run:
fromdos /tmp/serverinstall.sh
fromdos /tmp/linux_softcam_pack/LogCleanUp.sh
fromdos /tmp/linux_softcam_pack/configupdate.sh -
also, just to point out in your instructions:
Place the extracted ubuntu_cccam_package folder and the UbuntuInstall.sh into root/tmp/
I assume this should be updated to: Place the extracted linux_softcam_pack folder and the installserver.sh into root/tmp/
-
Im currently installing a fresh Ubuntu 10.4 LTS server and ive decided to test out your script.
I have not run the script yet, getting to that in a moment as I'm installing openssh, proftpd etc.. manually first as its easier to carry on the install via my main computer and put the system on the network then continue.While doing this I have noticed that the following is incorrect:
Command: apt-get install libusb-1.0
Error: Couldn't find package libusb-1.0I'm unsure, but running: apt-get install libusb-dev
should install the requirements needed.or I would replace this part to download and compile from source.
wget Download libusb from SourceForge.net
tar xjf libusb-1.0.8.tar.bz2
cd libusb-1.0.8
./configure; make; make install