HOW TO - CCcam+Oscam Automated Installation for Ubuntu

There are 133 replies in this Thread which was already clicked 53,845 times. The last Post () by afc876.

  • here is my cccam.cfg in var/etc:



    SERVER LISTEN PORT :
    ALLOW TELNETINFO: yes
    ALLOW WEBINFO: yes
    WEBINFO USERNAME :root
    WEBINFO PASSWORD :dreambox
    TELNETINFO USERNAME :root
    TELNETINFO PASSWORD :dreambox
    TELNETINFO LISTEN PORT : 16000
    WEBINFO LISTEN PORT : 16001
    ZAP OSD TIME :0
    OSD USERNAME :root
    OSD PASSWORD :dreambox
    OSD PORT :80
    SHOW TIMING : yes
    DEBUG : no
    NEWCAMD CONF : no
    #DISABLE EMM : yes
    #EXTRA EMM LEVEL : yes
    SHOW EXTENEDED CLIENT INFO : yes
    MINI OSD : no
    #MINIMUM DOWNHOPS: 1
    CHANNELINFO FILE : /var/etc/CCcam.channelinfo
    PROVIDERINFO FILE : /var/etc/CCcam.providers
    CAID PRIO FILE : /var/etc/CCcam.prio
    LOG WARNINGS : /tmp/warnings.txt
    SOFTKEY FILE : /var/keys/SoftCam.Key
    AUTOROLL FILE : /var/keys/AutoRoll.Key
    #STATIC CW FILE : /var/keys/constant.cw
    #BOXKEY:
    #SMARTCARD CLOCK FREQUENCY: /dev/sci0 6800000



    is this the only file required to be in this folder and what needs editing?

    VU Duo VIX OE3.0


    OSCAM 1.20-unstable_svn build #6059
    CCcam 2.1.3 server

  • no, i have edited that already. i am accessing the server from a windows laptop on the same network. would i be better wiping the whole thing and starting over again tomorrow step by step ten

    VU Duo VIX OE3.0


    OSCAM 1.20-unstable_svn build #6059
    CCcam 2.1.3 server

  • Code
    httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255


    above should do you if you are trying to access it on your local network or localhost - this allows most flexibility for most lan setups


    notice that the httpallowed flag can have single ip addresses separated by commas, and ranges (startip-endip) or a combination of both.

    If I take a while to respond, you can see why.....


    :red:

    • Official Post

    no, i have edited that already. i am accessing the server from a windows laptop on the same network. would i be better wiping the whole thing and starting over again tomorrow step by step ten


    No because i think we will end up stuck at the same place this time tomorrow, can you confirm how you are setting tunellier up & you have not changed the ssh port


  • Throw in this and access from anywhere even your local network. Be careful of public wifi hotspots as you don't want them to sniff out your tcp packets. But i use these settings to access from anywhere


    httpallowed = 127.0.0.1,0.0.0.0-255.255.255.255

    • Official Post

    Throw in this and access from anywhere even your local network. Be careful of public wifi hotspots as you don't want them to sniff out your tcp packets. But i use these settings to access from anywhere


    httpallowed = 127.0.0.1,0.0.0.0-255.255.255.255


    This is a freshly installed server lads, mack3rs is needing ssh access to setup the oscam/cccam side, until then adding webinfo parameters is not going to do anything.

  • ok folks been away for a bit. here are my files, i have edited them accordingly so can someone run the eye over them and see if theyre ok


    oscam.conf


    [global]


    nice = -1


    WaitForCards = 1


    pidfile = /var/run/oscam.pid


    logfile = /var/log/oscam.log


    usrfile = /var/log/oscamuser.log


    cwlogdir = /var/log/cw


    maxlogsize = 10000




    [newcamd]


    port = 10000@096C:000000


    key = 0102030405060708091011121314




    [webif]


    httpport = 8888


    httpuser = user


    httppwd = pass


    httprefresh = 0


    httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255


    httphideidleclients = 0


    httpreadonly = 0




    oscam.server



    [reader]


    label= use original Foxtel


    protocol=SmartReader


    detect=CD


    group=1


    emmcache=1,3,2


    ecmcache=1


    device=003:002


    caid=096C


    boxid=xxxxxxxxxx




    oscam.user



    [account]


    user=user1


    pwd=pass1


    group=1


    uniq=0


    au=use original Foxtel


    caid=096C


    ident=096C:000000 ???? not sure about this line



    Few small changes but not far off mine,


    Have you tried running oscam webif? your.static.ip:8888?


    sorry thoought you were using sly

    VU Duo VIX OE3.0


    OSCAM 1.20-unstable_svn build #6059
    CCcam 2.1.3 server

  • here is also my CCcam.cfg file which is havent edited as im not faimliar with this file, how should i edit this file folks?


    CCcam.cfg



    SERVER LISTEN PORT : 13000
    ALLOW TELNETINFO: yes
    ALLOW WEBINFO: yes
    WEBINFO USERNAME :root
    WEBINFO PASSWORD :dreambox
    TELNETINFO USERNAME :root
    TELNETINFO PASSWORD :dreambox
    TELNETINFO LISTEN PORT : 16000
    WEBINFO LISTEN PORT : 16001
    ZAP OSD TIME :0
    OSD USERNAME :root
    OSD PASSWORD :dreambox
    OSD PORT :80
    SHOW TIMING : yes
    DEBUG : no
    NEWCAMD CONF : no
    #DISABLE EMM : yes
    #EXTRA EMM LEVEL : yes
    SHOW EXTENEDED CLIENT INFO : yes
    MINI OSD : no
    #MINIMUM DOWNHOPS: 1
    CHANNELINFO FILE : /var/etc/CCcam.channelinfo
    PROVIDERINFO FILE : /var/etc/CCcam.providers
    CAID PRIO FILE : /var/etc/CCcam.prio
    LOG WARNINGS : /tmp/warnings.txt
    SOFTKEY FILE : /var/keys/SoftCam.Key
    AUTOROLL FILE : /var/keys/AutoRoll.Key
    #STATIC CW FILE : /var/keys/constant.cw
    #BOXKEY:
    #SMARTCARD CLOCK FREQUENCY: /dev/sci0 6800000

    VU Duo VIX OE3.0


    OSCAM 1.20-unstable_svn build #6059
    CCcam 2.1.3 server

  • you need to add the following to the CCcam.cfg based on your Oscam configs


    Code
    N: 127.0.0.1 10000 user1 pass1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256


    this is how you connect Oscam as a card reader to CCcam as a server, so CCcam uses your card as a local card

    If I take a while to respond, you can see why.....


    :red:

  • ok but i still dont see the web display when i enter my servers ip followed by the port 192.168.1.7:8888 would this affect it.


    also in that line above do i have to substitute the user1 and pass1 for my servers username and pw?


    TIA

    VU Duo VIX OE3.0


    OSCAM 1.20-unstable_svn build #6059
    CCcam 2.1.3 server

  • ok but i still dont see the web display when i enter my servers ip followed by the port 192.168.1.7:8888 would this affect it.


    also in that line above do i have to substitute the user1 and pass1 for my servers username and pw?


    TIA


    if you are typing the full address (including http://192.... etc:8888) - and the ip address is within the same network, and oscam is actually running, then you should be able to access it - not having the nline in CCcam.cfg shouldn't affect your access to webif.


    and yes substitute user1 pass1 for your server's user and pass

    If I take a while to respond, you can see why.....


    :red:

  • i have cut and pasted this code bbelow now my server is failing to run network settings?



    iface eth0 inet static
    address 192.168.1.7
    netmask 255.255.255.0
    network 192.168.1.1
    broadcast 192.168.1.255



    Is that it?


    Did you answer the 4 questions when running oscamcccam script?


    Static Ip?
    Subnet?
    Default Gateway?
    DNS?

    VU Duo VIX OE3.0


    OSCAM 1.20-unstable_svn build #6059
    CCcam 2.1.3 server

  • soz mate im confusing you, my server is connected via ethernet and my laptop which i use to ssh is wifi. atm my servers ethernet connection isnt working due to what i have cut and pasted?


    VU Duo VIX OE3.0


    OSCAM 1.20-unstable_svn build #6059
    CCcam 2.1.3 server

  • ok mate small prob sorted. i didnt add that top line and thats why my server couldnt connect. im now back up and running



    auto eth0
    iface eth0 inet static
    address 192.168.1.7
    netmask 255.255.255.0
    network 192.168.1.1
    broadcast 192.168.1.255

    VU Duo VIX OE3.0


    OSCAM 1.20-unstable_svn build #6059
    CCcam 2.1.3 server

Participate now!

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