what error (logs) appears when they are trying to connect on your server?
Posts by bigup
-
-
Ten
is this Smargo ready?
-
i don`t know, i am solved that with other port but it`s externally.tell me that, port in oscam is not same as in cccam?and did it`s port 13001?
cccam and newcamd ports are of course different, internal im using prt 10001, external i like no to say but not the common port of 12000! it is not 13001 either
just doing more tests now with different versions of oscam and all the same
disconnect the receiver suddenly then reconnect, OSCAM thinks its a dupe login (uniq =1, dropdups =1), after 9 attempts to connect, oscam lets it connect, i would expect this to reconnect instantly!
i will try uniq =3, dropdups =1 now to see what happens.
-
thanks
i only have one port open externally which has been port forwarded through my router to my server
the other port is only internal for newcamd for entitlements, this does not go external
ive had no issue with the external port with cccam only, i cant see this being an issue with oscam?
-
Hi. What do you mean exactly?
Forward another port (2) or replace the port I'm using?
Do this for both cccam and newcamd? I use newcamd for Internal receiver to update entitlements. The others are all cccam.
-
Thanks mate
just tried oscam-svn7711-i686-pc-linux-webif-libusb-Distribution.tar.gz and issues still there for pc server :(
Code
Display More2012/10/14 17:37:59 7FF750 c xxxxx (0963&000000/0000/107D/62:B467): found (76 ms) by smartreader 2012/10/14 17:38:07 7FF750 c xxxxx (0963&000000/0000/107D/62:C824): found (75 ms) by smartreader 2012/10/14 17:38:15 7FF750 c xxxxx (0963&000000/0000/107D/62:DACF): found (75 ms) by smartreader 2012/10/14 17:38:56 801130 c client(7F311624E700) duplicate user 'xxxxx' from 192.168.1.37 (current 192.168.1.37) set to fake (uniq=1) 2012/10/14 17:38:56 801130 c xxxxx disconnected from 192.168.1.37 2012/10/14 17:38:59 802B10 c client(7F311624E700) duplicate user 'xxxxx' from 192.168.1.37 (current 192.168.1.37) set to fake (uniq=1) 2012/10/14 17:38:59 802B10 c xxxxx disconnected from 192.168.1.37 2012/10/14 17:39:10 801130 c client(7F311624E700) duplicate user 'xxxxx' from 192.168.1.37 (current 192.168.1.37) set to fake (uniq=1) 2012/10/14 17:39:10 801130 c xxxxx disconnected from 192.168.1.37 2012/10/14 17:39:22 802B10 c client(7F3116266700) duplicate user 'xxxxx' from 192.168.1.37 (current 192.168.1.37) set to fake (uniq=1) 2012/10/14 17:39:22 802B10 c xxxxx disconnected from 192.168.1.37 2012/10/14 17:39:33 801130 c client(7F311624E700) duplicate user 'xxxxx' from 192.168.1.37 (current 192.168.1.37) set to fake (uniq=1) 2012/10/14 17:39:33 801130 c xxxxx disconnected from 192.168.1.37 2012/10/14 17:39:45 802B10 c client(7F311624E700) duplicate user 'xxxxx' from 192.168.1.37 (current 192.168.1.37) set to fake (uniq=1) 2012/10/14 17:39:45 802B10 c xxxxx disconnected from 192.168.1.37 2012/10/14 17:39:56 801130 c client(7F3116266700) duplicate user 'xxxxx' from 192.168.1.37 (current 192.168.1.37) set to fake (uniq=1) 2012/10/14 17:39:56 801130 c xxxxx disconnected from 192.168.1.37 2012/10/14 17:40:08 802B10 c client(7F311624E700) duplicate user 'xxxxx' from 192.168.1.37 (current 192.168.1.37) set to fake (uniq=1) 2012/10/14 17:40:08 802B10 c xxxxx disconnected from 192.168.1.37 2012/10/14 17:40:19 801130 c encrypted cccam-client 192.168.1.37 granted (xxxxx, au=on (1 reader)) 2012/10/14 17:40:23 801130 c xxxxx (0963&000000/0000/107D/62:9E5C): found (75 ms) by smartreader
as you can see i pulled the plug just after 17:38:15, receiver booted up to a channel, server thought it was a dupe connection, so rejected it, then at 17:40:19 it allowed it on.....
seems like the dm500 is sorted though! no idea why or how!!!
-
Great. Another case solved.
thanks for your help mate!
did the testing on a dm500,
so will load up latest version of oscam on ubuntu server, i take it i can just copy the oscab bin over and give chmod 775 yeh?
-
just trying OSCAM 1.20-unstable_svn build #7712 (built date 14/10/2012) and looks like the issue has gone......for now!
trying vigorously to test it
seems like something has changed since #7701 that has fixed this issue (well for me anyway!)
-
yep, tried the latest build for dm500 and also tried dropdups = 1 and dropdups = 0, with uniq = 1 and uniq = 0
protocol ive used is cccam and newcamd in oscam, happens to both :(
only way ive got it to work near perfect is using the clientmaxidle = 10s
-
I would set it to 0. Just disable the timeout...
i briefly tested this mate, setting to 0 turns it off but that means the clients never disconnect from idle which holds on to the connection, so it still sees it as a duplication connection
having it set to a number forces the time out which i what i want i think?
having a look at cccam does that have a clientmaxidle of 10secs?
-
Hi all
been having some issues with oscam and many disconnected issues, see thread: http://linuxsat-support.com/os…disconnected-failban.html
ive been testing server today and tried all sorts but have just tried changing clientmaxidle from its default 120 seconds to 10 seconds
now i think my earlier issue has gone, when i pull plug from receiver and it reconnects to server it connects almost instantly
i just wanted to know if there were any implications of having clientmaxidle set to 10s? i mean it must of been det to 120secs default for a reason!
thanks in advance!
-
http://linuxsat-support.com/os…et-fake-oscam-server.html
you are aware of the above thread because you posted on it earlier - read the latest post by rikjaard-real might help - i get this occasionally but not enough to worry about!
thanks, yeh i tyried 3 but no good, so gone back to uniq =1
ive been doing some reading
would this help me?
ccckeepalive =1
-
i hope this isnt just me
ive been testing out a Dm500/white sly card as oscam only server (standalone server), so far all is ok but last few weeks ive been noticing some strange activities from few clients (my good friends), saying duplicate user, anonymous disconnected......they are 100% not using 2 accounts and also not moving their receivers to different location.
when i turn on failban they get banned so i have to un ban them - this process is getting like a full time job! as its all random and im not sure who it will ban next!
oscam used here was 6574)
so i did a test this evening....
updated to latest oscam-svn7692-powerpc-tuxbox-old-webif-Distribution on pli maxvar image on server
i have a dm500s that i use as receiver, i turn on to a premium channel,. pull the plug on the receiver and plug it back in again
i wait till the server/webif sees the receiver and all of a sudden all 5 clients on server disconnect and it goes crazy with fake user/duplicate user/ anonymous disconnected, few minutes later it settles down
now i mean all of that because i rebooted my receiver? surely that cant be right?
configs looks good, nothing out of place, nice and clean
i have gone back to cccam only for the time being as for me it is/was rock solid
any ideas? i noticed a post from lfc4ever saying a similar thing: http://linuxsat-support.com/os…sage-oscam.html#post51194
anyone know how i can sort this? how come cccam doesn't act like this ?
Configs
oscam.conf
Code
Display More[global] logfile = /tmp/oscam.log nice = -1 preferlocalcards = 1 saveinithistory = 1 dropdups = 1 [monitor] hideclient_to = 15 appendchaninfo = 0 [newcamd] port = xxxxx@0963:000000 key = 0102030405060708091011121314 [cccam] port = xxxxx reshare = 0 version = 2.0.11 stealth = 1 [webif] httpport = xxxxx httpuser = xxxxx httppwd = xxxxx httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255 httphideidleclients = 1
oscam.server
Code
Display More[reader] label = cardslot enable = 1 protocol = internal device = /dev/sci0 caid = 0963 detect = cd ident = 0963:000000 group = 1 emmcache = 1,3,2 blockemm-g = 1 blockemm-unknown = 1 lb_weight = 101 ecmwhitelist = 0963@000000:3E,4F,42,44,45,47,4E,53,54,56,61,67,62 ,68,69,6A,6B,6E,6D,6F,71,72,73,77,78,74,79,7A,7C,7 D,7E,80,8B,85
oscam.user
Code[account] user = user pwd = pass disabled = 0 uniq = 1 group = 1 au = cardslot caid = 0963:000000
any help much appreciated
thanks
-
1) clear all in: crontab -e
2) put the same line in /etc/crontab
(edit with nano /etc/crontab)(just like advised yesterday :36_002: )
thanks mate
have tried this and still doesn't work
then did dos2unix and wala! started working
damn windows formatting!!!
thanks mate
-
hi guys
messng with a ubuntu server with oscam only, got it all working with a check script which works manually but when i enter it as a cron job it doesn't run
i did crontab -e logged in as root, entered the below line and saved and exit, when i do crontab -l it shows the line fine
set it for 2 mins for testing and it doesn't seem to run
any ideaS?
-
thanks mate
got it working, had to use dos2unix on the script and it started working!
many thanks for your help mate, it was much appreciated!
-
....
Are you really really sure you saved correctly ?
I got the same error as you in the script, and when modified it works..do a nano /usr/local/bin/oscheck to verify..
(CTRL-X to save/exit)
My output:
Coderoot@OSC-CACHE:~# /usr/local/bin/oscheck oscam is running - no need to restart root@OSC-CACHE:~#
Script:
1000% sure mate
saved it and when i run its the same error as above!
this is driving mad lol
-
do the following:
sudo chmod 777 /usr/local/bin/oscheck <enter>
oscheck <enter>and show output here.
root@ubuntu:/usr/local/bin# sudo chmod 777 /usr/local/bin/oscheck
root@ubuntu:/usr/local/bin# oscheck
/usr/local/bin/oscheck: line 7: syntax error near unexpected token `fi'
/usr/local/bin/oscheck: line 7: `fi'
root@ubuntu:/usr/local/bin# -
Please follow my instructions..
Roll back...
That also means.. removing the file from that folder..
Put it in /usr/local/bin. After copy, do a chmod 755 on the file.
Then, start from scratch, as explained in my previous post.
thanks mate
did as you said exactly
cant seem to run the script,
bash: /usr/local/bin/oscheck: line 7: syntax error near unexpected token `fi'
bash: /usr/local/bin/oscheck: line 7: `fi'not very good with linux so not sure what im doing wrong?
-
Can you roll that all back ?
Then, first test the script.. by shutting down oscam.. and run the script to check the startup..
i changed it a bit:
Code[FONT=courier new]if ! ps x |grep -v grep |grep -c "oscam -b" >/dev/null then echo "oscam was not running! - restarting.." /bin/oscam -b -r 2 elif echo "oscam is running - no need to restart" fi [/FONT]
After verification, put this line in /etc/crontab (as root):
*/2 * * * * root /your/path/to/./oscam-checker >/dev/nulltried to run the script
i get:
./etc/cron.hourly/oscheck
result is:
bash: ./etc/cron.hourly/oscheck: No such file or directory
the file is definitely in the right folder
any ideas? tried sudo, tried sh. , tried root too to run the file
should the script have an extension? like.sh?