Results 1 to 17 of 17

Thread: OSCam in AZbox HD with original FW 5303: both server and client!!!

  1. #1
    V.I.P
    Join Date
    Dec 2010
    Posts
    757
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Icon14 OSCam in AZbox HD with original FW 5303: both server and client!!!

    I found this on AZboxHD.es

    OK, this works - tested with my Conax CD card CAS5!!! - both as a [Newcamd] card reader/server, as well as a [CCcam] client, so no need for any other Emus, thanx to various people for sharing info, like I am trying to do now...

    After plenty of testing, many different configurations on a couple of OSs [original FW and E2] and a couple of original FWs [4890, 5303, 5305 and 5306], as well as a few E2s [RC4, RC7, RTi 1 Fix and SPAZE Fix]...

    The version of OSCam I am using, fairly successfully, with all the stops, bumps, reboots and so on, is OSCAM 1.10rc-svn build #5755, with dvbapii!!! You can find it on OSCam forum, in AZbox HD section, the "sticky" thread with bin files... But I will attach it in this thread, if I can!

    FTP to AZbug HD [use the freeware FileZilla Client] and go to PLUGINS folder, then OpenXCAS and create a folder oscamCAS, then give it CHMOD to 755 [right click on the file -> File permissions -> 755 -> OK].

    On your PC you can create various files, using a freeware application Notepad++, which you will FTP to oscamCAS folder. All except oscam module itself, which you get from the net, as mentioned and then give CHMOD to 755, as above. If it is named differently -> right click on it -> rename it to oscam and hit Enter on your keyboard.

    So, here are the four main configuration files [do not deviate from them, for starters... later, try different ones...] - thanx primarily to B@mbi but also hperez, gianni, subnixonfire, Siri, belami etc. etc.:

    openxcas.conf

    Code:
    [module]
     name = oscamCAS
     daemon = oscam -d 255
     argument = c /PLUGINS/OpenXCAS/oscamCAS/
     version = 1.00
     api=Yes
     wait =5sec
     INFO = /tmp/ecm.info
     REFRESH = 2
    Note: the "-d 255" line is worth its weight in gold, so to speak... Now AZbug HD reads the card consistently and fairly efficiently! Thanx to Siri!

    oscam.conf

    Code:
    #oscam.conf generated automatically by Streamboard OSCAM 1.10rc-svn build #5755
      #Read more: http://streamboard.gmc.to/oscam/browser/trunk/Distribution/doc/txt/oscam.conf.txt
      
      [global]
      logfile                       = /tmp/oscam.log
      clientmaxidle                 = 9000
      cachedelay                    = 120
      unlockparental                = 1
      nice                          = 4
      maxlogsize                    = 100
      preferlocalcards              = 1
      saveinithistory               = 1
      lb_mode                       = 100
      
      [monitor]
      port                          = 988
      nocrypt                       = 127.0.0.1,192.168.1.1-192.168.1.253
      aulow                         = 120
      hideclient_to                 = 0
      monlevel                      = 4
      appendchaninfo                = 1
      
      [newcamd]
      port                          = xxxxxx@xxxx:xxxxxx
      key                           = 0102030405060708091011121314
      allowed                       = 
      keepalive                     = 1
      mgclient                      = 0
      
      [cccam]
      port                          = xxxxxx
      reshare                       = 2
      ignorereshare                 = 0
      forward_origin_card           = 0
      version                       = 2.2.1
      updateinterval                = 240
      minimizecards                 = 0
      keepconnected                 = 1
      stealth                       = 1
      reshare_mode                  = 0
      
      [dvbapi]
      enabled                       = 1
      au                            = 1
      boxtype                       = none
      user                          = azbox
      pmt_mode                      = 0
      request_mode                  = 0
      
      [webif]
      httpport                      = 80
      httphelplang                  = en
      httpuser                      = xxxxxx
      httppwd                       = xxxxxx
      httprefresh                   = 7
      httpallowed                   = 127.0.0.1,192.168.0.1-192.168.255.255
      httphideidleclients           = 0
      httpreadonly                  = 0
      httpsavefullcfg               = 0
    Note: xxxxxx = this you choose, whatever it is... ergo xxxxxx = whatever you desire or whatever the CAID of your smartcard...

    You will need to forward the ports here defined, in your modem/router. "Forwarding ports" means to open those ports up to your AZbug HD, so when your peers try to get to you the traffic will not be blocked and it will automatically be directed to AZbox HD, instead of any other device you have hooked onto your home network, via the same modem/router.

    oscam.server

    Code:
    [reader]
      label = azbox-internal
      enable = 1
      protocol = internal
      device = 0
      services = whichever_card_you_have
      caid = xxxx
      ident = xxxx:xxxxxx
      detect = cd
      mhz = 357
      cardmhz = 357
      group = 1
      emmcache = 1,1,2
      lb_weight = 500
      
      
      [reader]
      label = xxxxxx.dyndns.biz
      enable = 1
      protocol = cccam
      device = xxxxxx.dyndns.biz,17000
      user = xxxxxx
      password = xxxxxx
      lb_weight = 100
      #inactivitytimeout = 1
      reconnecttimeout = 30
      #audisabled = 1
      group = 2
      cccversion = 2.2.1
      cccmaxhops = 1
      ccckeepalive = 1
      #emmcache = 1,2,2
      #fallback = 1
      
      (...plus as many servers of your colleagues as you have, like the second   example above...)
    A note, to explain the name of the file: the first [reader] is your [internal or embedded card] reader, the "server" primarily for yourself, to which the OSCam client part hooks onto, internally, to open the channels.

    All the following ones are external [readers]. They are also servers but they are the servers of your peers, to which you hook onto, as a client. I.e. their readers read their cards, not just for themselves, but for you, too.

    Hence all are simply "readers", whether local [yours] or remote [virtual, via internet].

    The details marked xxxxxx in those you get from your colleagues/peers, like username, password, port and dyndns domain name. Those are necessary to be able to hook onto their servers.

    As a client in CCcam protocol one does not need to open various ports, Only servers [your colleagues/"peers" giving you access to their cards] need to do that.

    For now, let's just say that your embedded cardreader/internal reader/server should be in Group 1, whereas your CCcam peers should be in Group 2. If you have many C lines you can sub-divide them further, to make it all better optimised/efficient. Or you can add Newcamd ones in Group 3, GBox ones in Group 4 etc. etc. We shall come to that later.

    Here's an example:

    Code:
    http://streamboard.gmc.to/wiki/index.php/OSCam/en/examples/Sky_HD_and_MTV-Unlimited
    Many Original smartcards details are here:

    Code:
    http://streamboard.gmc.to:8001/wiki/CardsList
    oscam.user

    Code:
    [account]
      user       = azbox
      group      = 1,2
      au         = azbox-internal
      monlevel   = 4
      uniq       = 0
      services   = all
      betatunnel = 1833.FFFF:1702
      keepalive  = 1
      
      [account]
      user       = xxxxxx
      pwd        = xxxxxx
      monlevel   = 2
      uniq       = 1
      group      = 1
      au         = 1
      
      (...and so on, as many as you have...)
    Note: the file is called oscam.user because in it you are setting various "users" or "clients" to your "server". Each "user" in your file has an "account" with the server. I.e. a user will use your server/services, whether internally [the first one is you and you will hook onto your own card reader/server] or externally.

    Externally speaking: partially, you allow your peers access to your server right here, by setting up their username and password. The other parts to allow them access to your server, with which you create C (for your CCcam clients) or N (for your Newcamd clients) lines for your peers/colleagues, are from oscam.conf file, which we will discuss a little bit later, in the P.P.S.

    You can divide the [readers] and [accounts] into groups.

    For instance, your own internal server [the first "reader"] is in group 1.

    All the other "readers" of a certain protocol are in group 2. The next protocol goes to group 3, next one to Group 4 etc.

    The very first "account", i.e. "user" has to be in all the groups [for instance, 1,2,3,4], in order to hook both onto your own [internal] server/reader, as well as your colleague's [external] readers/servers. So, this first user [which is yourself] must hook onto both your internal reader/server [group 1], as well as external readers [groups 2, 3, 4 etc.].

    The other users/accounts are, in my case, Newcamd protocol clients of mine [me being a server, in this case, passing my smartcard to them], i.e. they are getting access solely to my smartcard [internal] reader/server by being placed in Group 1. That way they will not draw from anything but my smartcard/reader.

    Apparently, Newcamd server is meant for this purpose, so this is how it is supposed to be used. The N-lines you [partially] create from this file [oscam.user] and [partially] from Newcamd part of oscam.conf file, are to be given to your colleagues, people you trust. With those lines you pass only your card and nothing else and this is how it is done. These [users] are connected to my internal reader/server via Group 1 and thereby not connected to the CCcam protocol, which busy traffic is placed in Group 2.

    This is enough for you to be both a [Newcamd protocol] server, as well as [mainly CCcam] client. You give your card[s] in return for other people's cards. No need to pay for "CS services", run by our little CS entrepreneurs, spoiling the fun for us!!!

    I will attach the rest of the files here, including the module itself, so you don't have to search for it too much...

    A must info is here:

    Code:
    http://streamboard.gmc.to/wiki/index.php/OSCam/en
    Btw, don't be afraid to keep checking out the new versions...

    Cheers!

    P.S. More details, as to how to work with FileZilla Client and so on - in my "Alternative guide for AZ..."

    P.P.S. Thanx to B@mbi, how you create your N and C lines [my translation]:

    N-lines

    In relation to the parameters from oscam.conf file, one forms an N-line, for a user who uses a CS-server, capable of working with N-lines (like CCcam server, OSCam server…):

    Code:
    [newcamd]
      port = AAAAA@xxxx:000000
      key = xxxxxxxxxxxxxxxxxxxx
      …
    Ergo, N-lines, if you want to give those to anyone, are made like so:

    Code:
    N: your.dyndns.org AAAAA username1 password1  xxxxxxxxxxxxxxxxxxxx
    You must add a user with those details to your oscam.user configuration file, using the specified username1 and password 1.

    AAAAA is the port for your NewCamd server in OSCam and it must be opened/directed/forwarded in your router, towards AZbug HD's IP address.

    C-lines:

    Using the parameters from your oscam.conf file one forms a C-line for a user on CCcam or OSCam servers, using the C-line as a connection with remote cardreaders:

    Code:
    [cccam]
      port = BBBBB
      …
    Code:
    C: your.dyndns.org BBBBB username2 password2 no
    In your oscam.user file add a user with username2 & password2.

    So, BBBBB is a port for your CCcam server in OSCam and it has to be opened/directed/forwarded in your modem/router towards the AZbug HD's IP-address.
    Attached Files Attached Files
    Last edited by Blagi; 10-08-2011 at 10:48 AM.

  2. #2
    V.I.P Dig Deep's Avatar
    Join Date
    Nov 2006
    Location
    Stockholm
    Posts
    801
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Looks like great fun !

  3. #3
    Member
    Join Date
    Jan 2005
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Wow nice post m8.

  4. #4
    Junior Member
    Join Date
    Nov 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    works like charm! :bravo-009:

    I'm with local Conax CAS5 card and couple cccam and newcamd peers

  5. #5
    V.I.P
    Join Date
    Dec 2010
    Posts
    757
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Edited the top post, as changes have been made to the original post, where I found it...

  6. #6
    Black Hole Team sonic1's Avatar
    Join Date
    Dec 2004
    Location
    Kernow
    Posts
    4,969
    Thanks
    0
    Thanked 7 Times in 1 Post
    @Blagi,
    Great post but do you think you could put a copy of it in the Oscam section ?
    It would be of more use there and would maybe get a few more views.

  7. #7
    Member
    Join Date
    Sep 2010
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Superb post Bagi.Thanks!

  8. #8
    V.I.P
    Join Date
    Dec 2010
    Posts
    757
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Icon6

    Quote Originally Posted by sonic1 View Post
    @Blagi,
    Great post but do you think you could put a copy of it in the Oscam section ?
    It would be of more use there and would maybe get a few more views.
    Done!

  9. #9
    V.I.P
    Join Date
    Dec 2010
    Posts
    757
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Icon14

    Edited the top message.

    Guys, try this new, attached STABLE version 1.10!!!

    Simply remove the module and put in the new one, then test it - for recording and all and do tell, please...

    At my end it really is stable, much more so than any other version 'till now!:respect-062:
    Attached Files Attached Files

  10. #10
    V.I.P
    Join Date
    Nov 2008
    Posts
    725
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Plugins - Openxcas - download executeble - edit url to azupd.nl

    1.0 and 1.1 are there for download

  11. #11
    V.I.P
    Join Date
    Nov 2008
    Posts
    725
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Another "Hint"

    Rename a CCcam.prio into oscam.dvbapi and place it into the oscamCAS folder:respect-037:


    Now testing latests 1.10 stable build SVN 5766, looks OKE if everything OK it will be on azupd.nl ( now it's svn 5741 )

  12. #12
    Member
    Join Date
    Sep 2009
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    be carefull this may cause extensive cpu load , if the prio file is too big . check log for messages .

  13. #13
    V.I.P
    Join Date
    Nov 2008
    Posts
    725
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by nickman9271 View Post
    be carefull this may cause extensive cpu load , if the prio file is too big . check log for messages .

    I know but I always use my own file it's short and more then sufficient, all those online prio files are way overdone. here's mine:

    ___Oscam.dvbapi 02-08-2011___
    ================================= =
    P: 0100:00006A
    I: 0500:042500
    I: 1817:000000
    I: 1818:000000
    P: 0100:00006C
    P: 0100:004106
    P: 09CD:000000
    I: 0919:000000
    P: 1702:000000
    I: 09C4:000000
    P: 0963:000000
    I: 0960:000000
    I: 0961:000000
    P: 0500:042700
    P: 0500:042200
    P: 0500:042210
    ################################# ####

  14. #14
    V.I.P
    Join Date
    Dec 2010
    Posts
    757
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question

    How about this one?

    Code:
    # oscam.dvbapi - DVBAPI configuration file for OSCam - DVBAPI settings
    # ***** Ignore *****
    ##### Sky DE i ORF - 19.2E #####
    I: 09C4:000000
    #I: 1702:000000
    ##### Total TV - 16E #####
    #I: 091F:000000:0008
    ##### ignore every CAID that was not handled before #####
    #I: 0
    # ***** Priority *****
    ##### MTV-Networks - 19.2E #####
    P: 0B00:000000:6FF1
    P: 0B00:000000:6FFA
    P: 0B00:000000:6FEF
    P: 0B00:000000:6FEE
    P: 0B00:000000:6FFF
    P: 0B00:000000:6FF3
    P: 0B00:000000:6FF0
    ##### Sky DE i ORF - 19.2E #####
    #P: 09C4:000000
    P: 1702:000000
    ##### Sportdigital TV - 19.2E #####
    P: 1702::0045
    ##### Canal Sat France - 19.2E #####
    P: 0100:003315
    P: 0100:003311
    ##### TNT Sat France - 19.2E #####
    P: 0500:030B00
    ##### HRT - 13E #####
    P: 0500:020a00
    ##### Cifra+ - 13E #####
    P: 0100:000068
    ##P: 0100:000065
    ##### D+ - 19.2E #####
    P: 0100:004106
    ##### Sky Italija - 13E #####
    P: 093B:000000
    ##### KD - 23.6E #####
    #P: 1722:000000
    ##### HD+ - 19.2E #####
    #P: 1830:000000
    #P: 1830:003411
    # ***** Mapping *****
    ##### map caid 1830 always to provider 003411 - 19.2E #####
    #M: 1830 1830:003411

  15. #15
    Member
    Join Date
    Aug 2008
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Brilliant post , many thanks , working brilliantly here , much better than multicas so far

  16. #16
    V.I.P
    Join Date
    Nov 2008
    Posts
    725
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by pezz121 View Post
    Brilliant post , many thanks , working brilliantly here , much better than multicas so far

    stable-1.10-svn build 5766 is brilliant overhere it will be online tonight on azupd.nl addon server

    Only thing left is recording thats a bit buggy overhere

  17. #17
    Member
    Join Date
    Sep 2009
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    may i ask ...
    there are too many requests /sec for the greek provider . is there any way we can fix it ? i have tried camd357 , cccam , newcs . it is for lan share with a dm800 witch also runs an oscam as a server . it only happens with azbox.

Similar Threads

  1. Replies: 18
    Last Post: 26-11-2010, 02:45 PM
  2. Oscam in AZBOX HD, help needed?
    By hfmls in forum AZBox HD Newbie Questions
    Replies: 111
    Last Post: 30-09-2010, 09:46 AM
  3. Telesat's tools for AZbox HD...
    By goran in forum AZBox HD Tools
    Replies: 5
    Last Post: 17-01-2010, 09:59 PM
  4. DM500 CCcam Server + AZBox client
    By Burnham in forum AZBox HD Newbie Questions
    Replies: 7
    Last Post: 14-08-2009, 11:34 PM
  5. azbox as client db as server ?
    By aqa in forum AZBox HD Newbie Questions
    Replies: 8
    Last Post: 08-06-2009, 11:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •