Thanks and no hadn't came across it before as it just started happening. I could even use my laptop and it was ok, just seemed to be my PC. Thanks for the info.
Posts by bris
-
-
Hi
Having a weird problem but it's on this site only. Every time I try and download a RAR file from here it downloads as attachment.PHP instead of a RAR file and is useless as there is no way to use it.Any one else have this or no what the problem is, like I say it only happens to me on here.
-
Thanks for the suggestion, I already have the correct username but the second part didn't help, same error.
Edit
getting a different error now, before it was "no check file present???nothing to removeThis time its
no warning text present?/nothing to remove
check file present
check file present
/var/script/LogCleanUp.sh 54: Syntax error: end of file unexpected (expecting fi -
Hi, everything has been running well but i have hit a snag. The LogCleanUp.sh doesn't work. I now have huge log files that I can't clean. if anyone can look at the files below and see if they can spot anything wrong it would be a big help.
Sat Jun 23 04:03:01 BST 2012
No warning text present?!?!Nothing to remove
Check File present!
Check File present!Sat Jun 30 04:03:01 BST 2012
No warning text present?!?!Nothing to remove
Check File present!
Check File present!Sat Jul 7 04:03:01 BST 2012
No warning text present?!?!Nothing to remove
Check File present!
Check File present!#!/bin/sh
# Script to cleanup log files
# Originally written by: Youknowhoo (R.I.P) scripts combined by A.OWNER=xxxxxx
TARGETDIR_1=/tmp
TARGETDIR_2=/var/cccamlog
FILE_1=warning.txt
FILE_2=cccam.check
FILE_3=oscam.check
FILE_4=CCcam.log
FILE_5=Oscam.logecho && date
if test -f $TARGETDIR_1/$FILE_1 ; then
echo "warning text present!"
chown $OWNER $TARGETDIR_1/$FILE_1
rm $TARGETDIR_1/$FILE_1
else
echo "No warning text present?!?!Nothing to remove"
fiif test -f $TARGETDIR_2/$FILE_2 ; then
echo "Check File present!"
chown $OWNER $TARGETDIR_2/$FILE_2
rm $TARGETDIR_2/$FILE_2
else
echo "No Check File present?!?! Nothing to remove"
fi
if test -f $TARGETDIR_2/$FILE_3 ; then
echo "Check File present!"
chown $OWNER $TARGETDIR_2/$FILE_3
rm $TARGETDIR_2/$FILE_3
else
echo "No Check File present?!?! Nothing to remove"
fi
if test -f $TARGETDIR_2/$FILE_4 ; then
echo "CCcam Debug Log precent!"
chown $OWNER $TARGETDIR_2/$FILE_4
rm $TARGETDIR_2/$FILE_4if test -f $TARGETDIR_2/$FILE_5 ; then
echo "Oscam Debug Log precent!"
chown $OWNER $TARGETDIR_2/$FILE_5
rm $TARGETDIR_2/$FILE_5
else
echo "No! CCcam/Oscam Debug file present, CCcam/Oscam did run perfectly !!"
fi
exit# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#56 03 * * * root killall CCcam.x86
56 03 * * * root killall oscam
57 03 * * * root /var/script/configupdate.sh >> /var/cccamlog/configupdate.log
58 03 * * * root /var/script/keyupdater.sh
59 03 * * * root /usr/local/bin/CCcam.x86
59 03 * * * root /usr/local/bin/oscam -b
*/5 * * * * root /var/script/CCcamCheck.sh
*/5 * * * * root /var/script/OscamCheck.sh
03 04 * * 6 root /var/script/LogCleanUp.sh >> /var/cccamlog/CleanUp.log -
My ecm times halved from around 160-200 to 80-100 so certainly a big improvement for me, i have a belkin one.
-
Thanks all for the replies
The reason i asked was in the past i tried setting up an old laptop i have, it refused to boot with the smargo plugged in directly and had to be run through a powered hub.
The netbook worked without a prblem, no errors , just booted straight up.That will be your settings m8. When you power on the laptop go into set up and change the 1st boot device to the hard drive. That should sort it because boot priority will be looking for a usb device, it finds it but can't boot because nothing is on it.
-
I now know where I went wrong. Through trial and error I connected the clients one at a time successfully which pointed to a port error. I now know you need a different port for each client, something I must have missed on the tuts.
My newcamd protocol now looks like this.
port = x4000@0963:000000;x4001@0963:000000;x4002@0963:000000;x4003@0963:000000;x4004@0963:000000x4005@0963:000000;3006@0963:000000All clients now connected.
-
You server listening port and port used in line are the same and open i presume?
Have a look here for info
http://linuxsat-support.com/ca…nes-clines-beginners.html
and some extra info on CCcam here
The port is ok, I have been using CCcam for a while now and on it's own there is no problem. Trying to get it online with oscam seems to be where I am falling down. Thanks for the reply.
-
Libraries not installed mate
try the following
Open the terminal and use this command :
apt-get install libssl0.9.8:i386
After it will install try to start the oscam, it should start fine.
(GeorgeXL taught me that :)A big thanks for that i installed this 3 days ago now and couldn't get oscam to start, this was the problem.
Now I have it all up and running in my local network, but remote client is offline, can anyone tell me what the n line for a remote client is like. They show in webif but as offline the port is open, and we both have dns addresses so it must be something simple like the nline. But I just don't know how to get the remote user online, the top 2 users in the oscam.users is running ok, thanks in advance.
CCcam.cfg
ALLOW TELNETINFO: yes
ALLOW WEBINFO: yes
SERVER LISTEN PORT: 15000
TELNETINFO LISTEN PORT : 16000
WEBINFO LISTEN PORT: 16001
SOFTKEY FILE: /var/keys/SoftCam.Key
AUTOROLL FILE: /var/keys/AutoRoll.Key
STATIC CW FILE: /var/keys/constant.cw
CAID PRIO FILE: /var/etc/CCcam.prio
PROVIDERINFO FILE: /var/etc/CCcam.providers
CHANNELINFO FILE: /var/etc/CCcam.channelinfo
LOG WARNINGS: /tmp/warnings.txt
#BOXKEY: /dev/ttyUSB0 xx xx xx xx
#SERIAL READER: /dev/ttyUSB0 smartreader+
#SMARTCARD CLOCK FREQUENCY /dev/ttyUSB0 3690000
DISABLE EMM: no
EXTRA EMM LEVEL: no
SHOW TIMING: yes
F: family family1
F: jxxx jxxx
#F: cccam cccam
N: 127.0.0.1 12000 cccam cccam 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
N: 192.168.1.8 12000 family family1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
N: remote user 12000 jxxx jxxx1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256oscam.conf
[global]
nice = -1
WaitForCards = 1
logfile = stdout
preferlocalcards = 1
saveinithistory = 1[webif]
httpport = 8888
httpuser = xxxx
httppwd = xxxx
httpallowed = 127.0.0.1,192.168.1.1-192.168.255.255
#httprefresh = 3# protocols
[newcamd]
key = 0102030405060708091011121314
port = xxxxx@xxxx:000000;oscam.server
[reader]
label = xxxx
protocol = smartreader
detect = cd
device = 002:002
emmcache = 1,3,2
caid =xxxx
boxid = 12345678
blockemm-u = 0
blockemm-s = 0
blockemm-g = 1
blockemm-unknown = 1
mhz = 600
cardmhz = 600
ident = xxxx:000000
group = 1oscam.user
[account]
user = cccam
pwd = cccam
monlevel = 1
uniq = 1
group = 1,2
au = xxxxx
caid = xxxx
ident = xxxx:000000[account]
user = family
pwd = family1
monlevel = 1
uniq = 1
group = 1,2
au = xxxx
caid = xxxx
ident = xxxx:000000[account]
user = jxxx
pwd = jxxxx
monlevel = 1
uniq = 1
group = 1,2
au = xxxxx
caid = xxxx
ident = xxxx:000000