Dreambox not connecting to server

There are 45 replies in this Thread which was already clicked 5,085 times. The last Post () by Bean.

  • Hi,


    I will start this by stating I am a complete novice at this but I have managed to get a good bit done (I think!).


    I have an old desktop which I have installed Ubuntu on and also CCcam/Oscam. I have a **y white card connected with an omnikey 3021 and when I run webif it shows the card, my shares and servers but nothing in clients. I have created a Dyndns hostname and have added this to my box in our living room with the following cline -
    C: xxxxxxxxxx.dyndns.org 10000 user pass


    Is there a way of checking that the box is connecting to the Dyndns address?


    The following is my CCcam.cfg file -



    I have a public IP which I have linked to my hostname in Dyndns, is this correct? I have port 10000 assigned to my server for these requests. Do I tell it in Dyndns somewhere to go to this port? If so where? The port is in the cline on my dreambox so is this how it gets passed to Dyndns?


    I have been at this with nearly a week and I am completely confused so if anybody could please take the time to help me I would greatly appreciate it.


    Also when I try to load the oscam webif it tells me 403 Forbidden - Access Denied


    These are the errors I am getting in oscam.log -





    As I said any help would be greatly appreciated.


    Thanks,


    Bean

    • Official Post
    Quote

    I have created a Dyndns hostname and have added this to my box in our living room with the following cline -


    When testing an internal share on your own network use the ip address of the server, not the hostname. ( C: 192.168.1.88 10000 user pass )


    Quote

    I have a public IP which I have linked to my hostname in Dyndns, is this correct?


    Yes, put the dynamic hostname details in your router or use the dyndns updater client..


    Quote

    I have port 10000 assigned to my server for these requests. Do I tell it in Dyndns somewhere to go to this port?


    Open a port in the router assigned to the ip address of the server (the port to open is SERVER LISTEN PORT in CCcam.cfg).. Do not use 10000, use something less obvious to a hacker, like 54672..


    Quote

    Also when I try to load the oscam webif it tells me 403 Forbidden - Access Denied


    These are the errors I am getting in oscam.log -


    Use the attached configs, then show us another oscam log..


  • -------------------------------------------------------------------------------
    >> OSCam << cardserver log switched at Tue Apr 1 17:24:20 2014
    -------------------------------------------------------------------------------
    2014/04/01 17:24:20 FB49D0 r ***uk [mouse] Cannot open device: /dev/sci0
    2014/04/01 17:24:20 0 >> OSCam << cardserver log switched, version 1.20-unstable_svn, build r8917 (x86_64-linux-gnu-libusb-pcsc)
    2014/04/01 17:25:20 FB49D0 r ***uk [mouse] ERROR: Opening device /dev/sci0 (errno=2 No such file or directory)
    2014/04/01 17:25:20 FB49D0 r ***uk [mouse] Cannot open device: /dev/sci0
    2014/04/01 17:26:20 FB49D0 r ***uk [mouse] ERROR: Opening device /dev/sci0 (errno=2 No such file or directory)
    2014/04/01 17:26:20 FB49D0 r ***uk [mouse] Cannot open device: /dev/sci0
    2014/04/01 17:27:20 FB49D0 r ***uk [mouse] ERROR: Opening device /dev/sci0 (errno=2 No such file or directory)
    2014/04/01 17:27:20 FB49D0 r ***uk [mouse] Cannot open device: /dev/sci0
    2014/04/01 17:28:20 FB49D0 r ***uk [mouse] ERROR: Opening device /dev/sci0 (errno=2 No such file or directory)
    2014/04/01 17:28:20 FB49D0 r ***uk [mouse] Cannot open device: /dev/sci0
    2014/04/01 17:29:20 FB49D0 r ***uk [mouse] ERROR: Opening device /dev/sci0 (errno=2 No such file or directory)
    2014/04/01 17:29:20 FB49D0 r ***uk [mouse] Cannot open device: /dev/sci0
    2014/04/01 17:30:20 FB49D0 r ***uk [mouse] ERROR: Opening device /dev/sci0 (errno=2 No such file or directory)
    2014/04/01 17:30:20 FB49D0 r ***uk [mouse] Cannot open device: /dev/sci0
    2014/04/01 17:31:20 FB49D0 r ***uk [mouse] ERROR: Opening device /dev/sci0 (errno=2 No such file or directory)
    2014/04/01 17:31:20 FB49D0 r ***uk [mouse] Cannot open device: /dev/sci0
    2014/04/01 17:32:20 FB49D0 r ***uk [mouse] ERROR: Opening device /dev/sci0 (errno=2 No such file or directory)
    2014/04/01 17:32:20 FB49D0 r ***uk [mouse] Cannot open device: /dev/sci0
    2014/04/01 17:33:20 FB49D0 r ***uk [mouse] ERROR: Opening device /dev/sci0 (errno=2 No such file or directory)
    2014/04/01 17:33:20 FB49D0 r ***uk [mouse] Cannot open device: /dev/sci0
    2014/04/01 17:34:20 FB49D0 r ***uk [mouse] ERROR: Opening device /dev/sci0 (errno=2 No such file or directory)
    2014/04/01 17:34:20 FB49D0 r ***uk [mouse] Cannot open device: /dev/sci0


    Just to confirm -
    [newcamd]
    port = 10001@0963:000000


    I have also opened port 10001 or should this be something else?


    /etc/tuxbox/config/tpl - This path does not exist. Might it be somewhere else in Ubuntu?


    Thanks,


    Bean

    • Official Post
    Quote

    FB49D0 r ***uk [mouse] Cannot open device: /dev/sci0


    You are not using the configs that i gave you.. This log is looking for an internal card reader. My configs are for omnikey..


    oscam configs should be in - /usr/local/etc
    CCcam.cfg should be in - /var/etc


    Quote

    I have also opened port 10001 or should this be something else?


    The only port you need to open is the SERVER LISTEN PORT in CCcam.cfg, nothing else.. Open port 10001 if you intend on giving out N lines from oscam..


    Quote

    /etc/tuxbox/config/tpl - This path does not exist. Might it be somewhere else in Ubuntu?


    You can remove that entry from the config, it`s for oscam CSS skins on an enigma2 receiver..


    Stop oscam & CCcam

    Code
    killall -9 oscam
    killall -9 cccam_2.1.3


    Start oscam & CCcam

    Code
    /usr/local/bin/oscam -b
    /usr/local/bin/cccam_2.1.3


    To update CCcam, FTP CCcam.cfg to /var/config then use this command.

    Code
    /var/script/configupdate.sh
  • Hi,


    Apologies I gave you the wrong oscam.log details -



  • Hi,


    I think I am finally getting somewhere. I have 1 connected client now as we speak. Should I also have an active client? Don't have at the moment.


    Bean

  • Hi,


    Sorry for the delay responding.


    I now have an active client showing and client and have the following in the CCcam.cfg on my box but it does not seem to be picking anything up -


    C: xxxxxxxxxxxx.dyndns.org XXXXX user pass


    I am using the blackhole image and when you select a channel if you press ok twice you can normally see the cline details on the bottom of the screen but it is not showing anything.


    In oscam I have server and http - OK


    Client is showing green and - OK


    Readers is showing a cream colour and the following - r 1 ***uk ON OFF 127.0.0.1 0 pcsc 02.04.14 09:41:35 00:06:17 0000:0000 no data 00:06:17 CARDOK (10 entitlements)


    I think we are really close to having it going.


    Thanks,


    Bean

    • Official Post
    Quote

    C: xxxxxxxxxxxx.dyndns.org XXXXX user pass


    Is this an internal or external client ? If it`s internal i already gave you the solution in post #2.


    Quote

    I have created a Dyndns hostname and have added this to my box in our living room with the following cline -


    When testing an internal share on your own network use the ip address of the server, not the hostname. ( C: 192.168.1.88 port user pass )

  • Hi,


    This is an external client. I have the server set up in my office on a separate broadband line to my house so I presume this would be an external link?


    Bean

    • Official Post

    Would need to see a log of when the client is trying to view some premium channels.. Can the client view any channels ? Is this a new card or has it been in the official receiver recently ?


    Quote

    Client is showing green and - OK


    Is this the N line user linuxsat or the external client you setup ?

  • Hi,


    If I insert the card directly into my dreambox it works fine. I don't have all the premium channels on this card yet but have some. Does this mean the card is ok?


    Where can I get you a log and I will post it?


    Bean

  • The N line is as follows -


    N: 127.0.0.1 10001 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256


    My F line is as follows -


    F: user pass 2 0 0 { 0:0:2 } (user/pass correspond to the C line on the box)



    I have changed the user and password to my own and changed it in all oscam files with a user/password


    Bean

  • Got it!!


    I changed the N: line to -


    N: xxxxxxxxxxx.dyndns.org 10001 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    This user and password are the user and password I have in dyndns.com account.
    I also created this user/password in oscam


    Thanks a million for your patience and all your help. I will most likely have a few more questions in the future if you don't mind?


    Thanks,


    Bean

    • Official Post

    Hi,


    If I insert the card directly into my dreambox it works fine. I don't have all the premium channels on this card yet but have some. Does this mean the card is ok?


    Where can I get you a log and I will post it?Bean


    If it works in the dreambox then it hasn`t been paired to an official receiver..


    In your browser type http://ip.address.of.server:16001 to access CCcamInfo. Do you see the client connected here ?

    • Official Post

    Got it!!


    I changed the N: line to -


    N: xxxxxxxxxxx.dyndns.org 10001 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    Thanks,
    Bean


    Glad you got it sorted buddy.. Just to clarify what is actually happening here..


    This N line you are using is what was setup to connect oscam to CCcam on your server.. Any new clients were supposed to be created in the CCcam.cfg as an F line, they receive a C line.


    If you want to give out N lines only, create new clients in oscam.user [account] and don`t use the separate CCcam and CCCam.cfg.

  • Hi,


    Just to confirm if I want to give my brother a connection I put the following in CCcam.cfg on the server - F: XXX XXXXXXXX 2 0 0 { 0:0:2 }


    And on his box - C: XXXXXXXXXXX.dyndns.org 51230 XXX XXXXXXXX


    Is this correct?

    • Official Post


    If you are going to use CCcam as server then that would be the correct way of doing it buddy.. But, as you are using the N line that was setup to connect oscam to CCcam in the Dreambox instead of the server CCcam will not work properly now.. You must have a separate [account] setup for both N lines.. Or stop using the N line in the other dreambox and create an F line in the CCcam.cfg for it.

  • Forgive my stupidity now but that went right over my head.


    So with my current setup how do I add him? Is it better to use oscam and cccam together or what is the best option?


    Basically the card will be permanently connected to the server here in my office and I only want to give out single connections to friends and family.

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!