Posts by jackhulk

    No old server is not active. Only mentioned to confirm port is 100% working and open.


    No other external clients are trying to connect. I used my actual cccam.cfg just to test if anyone could connect (which they couldn't), and apart from that, I've been using simple cccam.cfg as shown above.


    EDIT!!


    PRAISE CRISPS AND BEER, I'M CONNECTED!!!


    Are you ready for a face palm???


    It..............just............took............a..............reboot!!! :beated:


    I had been simply restarting via Oscam Webif up until this point, which in my defence worked for everything else but this.


    I still need to test to make sure other clients can connect, but can't see that being a problem. For now I need to give my brain a rest and go have a chicken burger! Thanks for all you help guys, it's really much appreciated! :thumbsup:


    I do still have one questions outstanding? Why have Oscam simply as a reader and not allow it to do everything? What advantages (if any) is there of using separate cccam? Setting up Oscam to use the built in cccam protocol is far simpler to do as I found about half a day ago now!

    Yep I have everything correct then with regards to c and fline. 256 was missing in post, but it's actually there and as I understand shouldn't make a difference to whether client can connect or not, only how local is shown.


    I can confirm port used in Cline is the SERVER LISTEN PORT:, but still no client can connect, no client is shown within CCcam.info, so something is missing here. Can someone please confirm...


    Quote

    Perhaps I'm missing the whole point of Oscam? As it stands then, Oscam is simply acting as a card reader, nothing more. CCcam when set up correctly should run exactly as normal, ie servers will show up under servers (which I currently have working just fine), and clients will show up under clients (which I do not have currently work, no one can connect). Is this correct?


    Also does my picture look correct in post #22?


    Anyone, any idea why clients cannot connect please? I can confirm the port I using is open and 100% working using cccam alone (on old server).


    To make things simpler to ensure there isn't a conflict, here are those lines again. These are not my actual port numbers, but an example to show that two different ports are being used.


    Quote

    Debian CCCam.cfg
    N: 192.168.0.9 14253 linuxsat support 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    F: linuxsat1 support1


    SERVER LISTEN PORT : 12000


    Quote

    AZBOX CCcam.cfg
    C: 192.168.0.9 12000 linuxsat1 support1

    I already have that, all be it a different user (linuxsat1) and password (support1).


    Perhaps the port number is incorrect? Should the portnumber in the cline be that of newcamd or cccam?


    Perhaps I'm missing the whole point of Oscam? As it stands then, Oscam is simply acting as a card reader, nothing more. CCcam when set up correctly should run exactly as normal, ie servers will show up under servers (which I currently have working just fine), and clients will show up under clients (which I do not have currently work, no one can connect). Is this correct? I've literally been at this now for over 5 hours! :dribble:

    howdy, looks like you are getting there, its a great feeling when you get it working. just thought i would let you know, that i too have the same card, and the only issue i have is that when your year sub runs out this config does not activate the renewal. the only way i could get it to re-activate was oscam with mgcamd in my duo. i am not sure if there is a way you can do this in the current setup but just thought i would spread the info i have gathered.



    I will bare this in mind, but shouldn't be a problem as I normally update via my AZBOX anyways. I am getting there, just need to figure out the above now.


    Currently I believe oscam is connected to cccam...



    ...but I still cannot connect AZBOX to cccam as doesn't show up in client.


    Can someone please look at my configs in post 19 to see where I might be going wrong?

    Just a typo buddy, im sure he meant "You only need to open the newcamd port if you are going to use CCcam as server"
    If using oscam only you dont need newcamd unless you want to give your peers nlines.


    Ok thank you. So to be clear, I need do an newcamd port open and an nline within cccam.cgf to connect oscam to cccam? Currently have this but I still cannot clear local this way.


    Here are my configs...


    oscam.conf
    [global]
    nice = -1
    logfile = /dev/null
    clienttimeout = 5000
    fallbacktimeout = 2500
    clientmaxidle = 120
    cachedelay = 120
    bindwait = 120
    resolvedelay = 30
    serialreadertimeout = 1500
    maxlogsize = 10
    waitforcards = 1
    preferlocalcards = 1
    saveinithistory = 1
    keepalive = 1


    [webif]
    httpport = 8888
    httpuser =
    httppwd =
    httprefresh = 5
    httphideidleclients = 0
    httpallowed = 192.168.0.0 - 255.255.255.255
    debug = 255


    [newcamd]
    key = 0102030405060708091011121314
    port = *****@0500:fff920,42400,42410


    oscam.user
    [account]
    user = linuxsat
    pwd = support
    monlevel = 0
    uniq = 0
    group = 1
    au = JSC
    caid = 0500
    ident = 0500:fff920,42400,42410


    Debian CCcam.cfg
    N: 192.168.0.9 ***** linuxsat support 01 02 03 04 05 06 07 08 09 10 11 12 13 14 <<<< This port number is different to that of cccam port.
    F: linuxsat1 support1


    SERVER LISTEN PORT : ***** <<<< I can confirm this is different port to that of Nline.


    AZBOX CCcam.cfg
    C: 192.168.0.9 ***** linuxsat1 support1


    ***** = SERVER LISTEN PORT.


    Can someone please explain what benefits linking oscam to separate cccam has over simply using oscam as all in one server/reader. I know the former is the universal preferred way, but why?


    EDIT:

    I said " You only need to open the newcamd port if you are going to use oscam as server ", i didn`t say to remove the N line from CCcam.cfg.


    So you should have this in the debians CCcam.cfg..


    Code
    N: 192.168.0.9 ***** linuxsat support 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    F: linuxsat1 support1



    But if that N line is within CCcam.cfg so cccam (server) can connect to oscam (reader), surely the newcamd port needs to be open that is separate to that of CCcam's port? I'm not trying to be picky here (as without you guys I would continue to be clueless), just trying to understand everything which is confusing enough. I know this all seems very simple to you, as it will to me just as soon as I 'get it'! :)


    I trying things this way, but now I get nothing, no servers show in cccam.info. I'm guessing because now cccam isn't connected to oscam, so therefore how can it read my local. I think the above has really confused me as the guide states newcamd is required to connect to cccam, but then master G said above it's only needed if I wish to use Oscam as server? Still trying to figure out why use separate cccam when oscam has this protocol already built in, and so far is the only way I've managed to get everything running as it was a simply case of adding the cccam protocal to oscam.config.

    I opened newcamd port as per your 'how to connect oscam with cccam' guide. I'm confused as in that guide it say nline is need for Oscam to connect to cccam, but above you said newcamd is only needed if oscam is to be used as server?


    Currently (before I saw your post) I've been able cleared my local by simply adding the following to oscam.conf...



    Further more I've hashed out newcamd from oscam.conf as not needed as Oscam is using cccam protocol. So at the moment it seems I have Oscam set up as server and reader, which keeps things nice and simple. Unless I am missing something here, why bother complicating things with separate cccam if Oscam already has cccam built in and can do it all? As above what are the benefits please?


    I've got that link thanks musogeek. I've used cccam for many years so understand F and clines, just didn't quite understand how these translate to Oscam, but now know clines are 'reader' and flines are 'user'. Cccam was fairly straight forward to understand for a newbie, but Oscam is quite confusing, mostly (at least for me) trying to understand it's relation to cccam, and how to set that up, and more importantly why.

    And we have lift off! :smile: Changing protocol and device did the trick, thank you!


    I now have Omnikey working, and can see card entitlements. Next step, setting up so my AZBOX can clear my local.


    Here is what I've done...


    1. Opened new port for newcamd and updated oscam.conf with new port number.


    2. My CCcam.cfg for Debian is situated in /var/etc/. It consists of just one line exactly (no configs present) which reads....

    Quote

    N: 192.168.0.9 ***** linuxsat support 01 02 03 04 05 06 07 08 09 10 11 12 13 14


    3. My CCcam.cfg for AZBox reads...

    Quote

    C: 192.168.0.9 ***** linuxsat support


    Both oscam/users and cccam.info/servers show connected, but I cannot clear local on my AZBOX. Where am I going wrong please?


    I have been told that Oscam actually has cccam protocol built in and that it's easier to use instead of trying to connect oscam to cccam, but all the guides I've found only advise how to connect oscam to cccam. Using Oscam inbuilt cccam protocol then seems a better choice to me as no point in going around the houses to achieve the same outcome, so is there any advantages of connecting Oscam to cccam?

    Thank you, after running that command I now see the following...


    Quote


    0 pcsc OmniKey CardMan 3121 00 00


    My 'Device' reads /dev/sci0 as per config I downloaded (see above). I tried setting it to 0 as suggested but I still don't see an entitlements and serial still shows as '0000000000000000'. Have no idea if this has any baring, but it still doesn't seem as if the card is being read. Please advise?

    Thanks guys. Right so I finally got a space day to try this again. One problem has been solved, as the OSCAM JSC config files I downloaded were in etc/tuxbox directory which I simply FTP'ed, but now I know the OSCAM config files should be in /usr/local/etc (thanks master G). So at least now I know the files are in the right place. As a side note, what is tuxbox?


    I'm starting from scratch. Here is what's I've followed so far....


    Automated Oscam/CCcam 2.1.3 Install Package For Debian 6


    How to: Oscam Server or Cardreader with CCcam2.1.3 Al Jazeera Sport Viaccess 4.0 IPK
    I have no idea what 'DVAPI' is so I used the 'Oscam + CCcam 2.1.3 config'. Can someone explain DVAPI please?


    How to install Omikey reader on Linux PC
    After runing 'opensc-tool --list drivers' command I do not see...


    Reader known about:
    Nr. Driver Name
    0 pcsc Omnikey 1020


    Not sure why I don't see this as I have doubled checked i've followed the guide correctly. I've already checked that the drivers are installed by trying to install them again, and was advised they are already up to date.


    Here are my configs. I understand I need to change ports etc for cccam, but for now I'm just concentrating on getting the Omnikey to work.


    [global]
    nice = -1
    logfile = /dev/null
    clienttimeout = 5000
    fallbacktimeout = 2500
    clientmaxidle = 120
    cachedelay = 120
    bindwait = 120
    resolvedelay = 30
    serialreadertimeout = 1500
    maxlogsize = 10
    waitforcards = 1
    preferlocalcards = 1
    saveinithistory = 1
    keepalive = 1


    [webif]
    httpport = 8888
    httpuser =
    httppwd =
    httprefresh = 5
    httphideidleclients = 0
    httpallowed = 192.168.0.0 - 255.255.255.255
    debug = 255


    [newcamd]
    key = 0102030405060708091011121314
    port = 15001@0500:42400


    [reader]
    label = JSC
    Protocol = internal
    detect = CD
    device = /dev/sci0
    Group = 1
    EMMCache = 1,3,2
    CAID = 0500
    ident = 0500:42400


    [account]
    user = linuxsat
    pwd = support
    monlevel = 0
    uniq = 0
    group = 1
    au = JSC
    caid = 0500
    ident = 0500:42400


    First think I need to get working then is the Omnikey. Under webif I can see under Reader 'JSC' but when I click on entitlements, it's empty and serial is '0000000000000000'. If I 'scan usb' I can see....


    Quote


    USB Devices
    Bus 004 Device 002: ID 076b:3021 OmniKey AG CardMan 3121
    iProduct 2 Smart Card Reader USB
    iSerial 0


    How do I get Omnikey working please?


    Thank you

    I've also noticed that the change I make to files do not appear in the OSCAM webif.


    My files are here /var/etc/tuxbox


    If for example I add user to oscam.user, I'd expect to see new user on OSCAM webif when I click on 'users', however, any changes I make to oscam.user do not appear. On top of that, I have no idea what 'users' relate to? Are user clients or servers?!


    Also...


    oscam.conf

    Code
    [newcamd]
    Key = 0102030405060708091011121314
    Port = ****@0500:42400


    Should the port relate to port I've opened for port forward OR a separate port just for cccam??

    Please can someone help, this is doing my head in. There seems to be to many variables that need to 100% correct in order for anything to work, so although I'm not actually an idiot, I do need a complete idiots guide.


    First I'd simply like to add clines and take it from there.

    Hello


    I've been running debian 5 server with cccam and smargo reading JSC viaccess card. After being plagued with 'buffer overflow' problems and not finding a solution, I got myself a omnikey and decided to upgrade.


    Installed by following Ten Below's excellent guide 'Automated Oscam/CCcam 2.1.3 Install Package For Debian 6' (thanks TB!), which went smoothly, however I'm completely stumped as to how to setup Oscam to read card, add clients and servers. I've read various tutorial, but still none the wiser.


    Please can someone example or link to guide on how to do the following...


    1. Add server, ie cline?
    Tutorials I've already followed...
    How to connect oscam with cccam? <<< I have no idea if this relates to cline or fline. I undestand oscam uses nlines, but again, no idea if this relates to client side or server?


    2. Add client, ie fline?
    Tutorials I've already followed...
    How to connect oscam with cccam? <<< I have no idea if this relates to cline or fline. I undestand oscam uses nlines, but again, no idea if this relates to client side or server?


    3. Set up omnikey to share my local (JSC viaccess)?
    Tutorials I've already followed...
    How to install Omnikey readers on Linux PC
    How to : Oscam Server or Cardreader with CCcam2.1.3 Al Jazeera Sport Viaccess 4.0 IPK


    Any help will be much appreciated, thank you

    Hi Jeffzapp


    I have this very same problem and wondering if you managed to solve it please? Or did you install Oscam and if so did you find an step by step idiots guide you care to sure? :)