Page 1 of 10 12345678910 LastLast
Results 1 to 20 of 208

Thread: Oscam-ubuntu

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member jtc2005's Avatar
    Join Date
    Mar 2008
    Location
    Perth, Sydney
    Age
    35
    Posts
    273
    Thanks
    11
    Thanked 77 Times in 42 Posts
    Rep Power
    212
    Reputation
    353

    Default Oscam-ubuntu

    Since many have been trying to get OSCAM working on UBUNTU with no luck, decided to write up a quick tutorial for getting it to work.

    (I have had this running for a couple of days now on ubuntu server, with an ORANGE sub (096c), glitch free)

    Code:
    cd /lib/
    sudo ln -s libcrypto.so.0.9.8e libcrypto.so.0.9.8
    sudo apt-get install yum
    cd /usr/local/bin/
    sudo apt-get install subversion
    sudo svn co http://oscam.ump2002.net/svn/oscam/trunk oscam-svn
    cd oscam-svn/
    sudo apt-get install cmake
    sudo mkdir build_dir
    cd build_dir
    sudo cmake /usr/local/bin/oscam-svn
    sudo make
    sudo make install
    now make your configuration files and place them in /usr/local/etc

    oscam.server
    Code:
    [reader]
    label    = fx
    protocol = mouse
    detect   = CD
    device   = /dev/ttyUSB0
    mhz = 600
    EMMCache = 1,1,2
    Group = 1
    caid     = 096c
    boxid = ********
    oscam.conf
    Code:
    [global]
    nice	      = -19
    WaitForCards  = 1
    [monitor]
    port	      = 988
    aulow	      = 120
    monlevel      = 0
    [newcamd]
    key           = 0102030405060708091011121314
    port          = 10000@096c:000000;
    oscam.user
    Code:
    [account]
    user       = test
    pwd        = test
    uniq       = 1
    group      = 1
    au         = fx
    ident      = 096c:000000
    caid       = 096c
    now back to terminal:
    Code:
    sudo oscam -b
    now check /var/log/oscam.log for the news..

    also,

    to calculate boxkey for the new orange sub:
    1. get your 11 digit box serial (101*******5)
    2. remove the last digit ONLY (101*******) and type it in the windows cal in dec mode
    3. click hex. this will give you the exact 8 digit hex to put in your oscam.server.

    Also,
    I have tested the windows version of oscam which requires cygwin (using usb phoenix 6 mhz), and its too slow. Ecm transaction takes 1300ms compared to 300 ms on dm internal compared to 205 ms on ubuntu with usb phoenix running 6 mhz.

    JTC
    Last edited by jtc2005; 07-03-10 at 04:22 PM.
    Datalane -

  2. The Following 18 Users Say Thank You to jtc2005 For This Useful Post:

    + Show/Hide list of the thanked

    aceycv8 (15-03-10),Ararat (22-03-10),best4less (07-06-12),bigboy (04-04-10),bloggs (07-03-10),carrpet (07-04-10),cobra679 (06-12-10),esky (28-04-10),frisbee (18-08-10),gl007 (07-03-10),ident (09-05-10),oscillator_1 (24-03-10),OSIRUS (20-03-10),poiuytrewq (07-03-10),sat_info (16-03-10),ssnb (13-03-10),statesmanjeff (07-03-10),theriddler_1 (10-03-10)

  3. Look Here ->
  4. #2
    Senior Member mborkp's Avatar
    Join Date
    Feb 2008
    Posts
    1,121
    Thanks
    526
    Thanked 300 Times in 163 Posts
    Rep Power
    263
    Reputation
    1466

    Default

    nice post also use:
    tail -f /var/log/oscam.log in another terminal to monitor what's going on.

    Cheers

  5. #3
    Senior Member oyama's Avatar
    Join Date
    Jan 2008
    Location
    SA
    Age
    58
    Posts
    662
    Thanks
    305
    Thanked 286 Times in 85 Posts
    Rep Power
    247
    Reputation
    1399

    Default

    nicely done jtc2005, i not a Linux man seems ubuntu the way to go.

  6. #4
    Senior Member gado's Avatar
    Join Date
    Jan 2008
    Posts
    880
    Thanks
    21
    Thanked 96 Times in 73 Posts
    Rep Power
    234
    Reputation
    356

    Default

    I tried all flavours of linux and Ubuntu 8.04 is the best a easiest to get up and running.
    DM500s Black with rear on/off switch $99 inc post , DM800 sim 82 $250 inc post, DM800SE $310 inc

  7. #5
    Member statesmanjeff's Avatar
    Join Date
    Jul 2008
    Location
    Newcastle
    Posts
    391
    Thanks
    95
    Thanked 31 Times in 20 Posts
    Rep Power
    213
    Reputation
    462

    Default

    Is that code for install correct.
    Loads up then says

    After this operation, 24.5MB of additional disk space will be used.
    Do you want to continue [Y/n]? Y
    Abort
    root@jeff-desktop:/lib#
    Aborts no matter what i try

  8. #6
    Member jtc2005's Avatar
    Join Date
    Mar 2008
    Location
    Perth, Sydney
    Age
    35
    Posts
    273
    Thanks
    11
    Thanked 77 Times in 42 Posts
    Rep Power
    212
    Reputation
    353

    Default

    which ubuntu are you trying it on?

    i tested ok on UBUNTU SERVER 9.10 64bit ed
    Datalane -

  9. #7
    Member statesmanjeff's Avatar
    Join Date
    Jul 2008
    Location
    Newcastle
    Posts
    391
    Thanks
    95
    Thanked 31 Times in 20 Posts
    Rep Power
    213
    Reputation
    462

    Default

    ubuntu 9 desktop.
    Couldnt find a server 64b with gui.


    Found only amd version.
    Installing now. will try entire process again.
    Last edited by statesmanjeff; 09-03-10 at 05:48 PM.

  10. #8
    Junior Member
    Join Date
    Mar 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Reputation
    10

    Default error

    what kind of problem is this...

    debian:/usr/local/bin/oscam-svn# cd build_dir
    debian:/usr/local/bin/oscam-svn/build_dir# sudo cmake /usr/local/bin/oscam-svn
    CMake Error: Error in cmake code at
    /usr/local/bin/oscam-svn/CMakeLists.txt:88:
    Parse error. Function missing ending ")". Instead found left paren with text "(".
    -- Configuring done

  11. #9
    Member jtc2005's Avatar
    Join Date
    Mar 2008
    Location
    Perth, Sydney
    Age
    35
    Posts
    273
    Thanks
    11
    Thanked 77 Times in 42 Posts
    Rep Power
    212
    Reputation
    353

    Default

    Quote Originally Posted by statesmanjeff View Post
    ubuntu 9 desktop.
    Couldnt find a server 64b with gui.


    Found only amd version.
    Installing now. will try entire process again.
    install ubuntu server (non gui version) then use:

    sudo apt-get install ubuntu-desktop
    sudo apt-get install gdm
    sudo /etc/init.d/gdm start
    sudo dpkg-reconfigure xserver-xorg

    Gnome is crossplatform and works with many other operating systems.
    Datalane -

  12. #10
    Junior Member
    Join Date
    Nov 2008
    Posts
    178
    Thanks
    31
    Thanked 9 Times in 7 Posts
    Rep Power
    193
    Reputation
    47

    Default

    thanks JTC2005 - i followed your instructions on Friday and got my system up and running fine. the only thing that was missing from your instructions was the need of g++ to compile oscam. and the other problem i had was my account i had setup didn't have permssions to write to a folder so i logged in as root and all was sweet after that. i was able to order a fbo movie from the website and i got it right away. this is using a orange running at 357mhz. so far it's been up for a couple of days without a problem.

    Is there a way to show your entitlements on the card without having to restart oscam?

    thanks for the write up!

  13. #11
    Member statesmanjeff's Avatar
    Join Date
    Jul 2008
    Location
    Newcastle
    Posts
    391
    Thanks
    95
    Thanked 31 Times in 20 Posts
    Rep Power
    213
    Reputation
    462

    Default

    got help
    Last edited by statesmanjeff; 15-03-10 at 10:32 PM.

  14. #12
    Member jtc2005's Avatar
    Join Date
    Mar 2008
    Location
    Perth, Sydney
    Age
    35
    Posts
    273
    Thanks
    11
    Thanked 77 Times in 42 Posts
    Rep Power
    212
    Reputation
    353

    Default

    the only thing that was missing from your instructions was the need of g++ to compile oscam
    had it already installed. lol


    Is there a way to show your entitlements on the card without having to restart oscam?
    I would assume the monitor version of oscam would allow u to c the entitlments, athough i havent had a chance to play with it.. will look at it on the weekends and will post more info.

    Regards,

    JTC
    Last edited by jtc2005; 16-03-10 at 06:41 PM.
    Datalane -

  15. #13
    Senior Member

    Join Date
    Jan 2008
    Location
    Location, Location
    Posts
    4,054
    Thanks
    1,170
    Thanked 930 Times in 532 Posts
    Rep Power
    418
    Reputation
    4290

    Default

    JTC,

    sounds interesting, and chance of a pic.... just curious about this...
    If you feed ducks at a pond, chances are your bound to feed a goose or two without even knowing it.

  16. #14
    Junior Member
    Join Date
    Mar 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Reputation
    10

    Default

    Thats not cmake i guess, because it can finish like this now:

    I paste this from terminal

    Code:
    Linking C static library libcscrypt.a
    [ 98%] Built target cscrypt
    Scanning dependencies of target oscam
    [100%] Building C object CMakeFiles/oscam.dir/oscam.o
    Linking C executable oscam
    [100%] Built target oscam
    debian:/home/oscam/oscam-svn/build# cd build/
    -bash: cd: build/: No such file or directory
    debian:/home/oscam/oscam-svn/build# NAME=$(exec ls|grep oscam*)
    debian:/home/oscam/oscam-svn/build# mv  oscam
    mv: target `oscam' is not a directory
    debian:/home/oscam/oscam-svn/build# cd /build
    -bash: cd: /build: No such file or directory
    debian:/home/oscam/oscam-svn/build# ls
    CMakeCache.txt  cmake_install.cmake  CPackSourceConfig.cmake  csctapi         libcsoscam.a    Makefile
    CMakeFiles      CPackConfig.cmake    cscrypt                  libcsmodules.a  libcsreaders.a  oscam
    debian:/home/oscam/oscam-svn/build# NAME=$(exec ls|grep oscam*)
    debian:/home/oscam/oscam-svn/build# mv  oscam
    mv: target `oscam' is not a directory
    debian:/home/oscam/oscam-svn/build#

  17. #15
    Junior Member
    Join Date
    Nov 2008
    Posts
    178
    Thanks
    31
    Thanked 9 Times in 7 Posts
    Rep Power
    193
    Reputation
    47

    Default

    thanks JTC2005.

  18. #16
    Member statesmanjeff's Avatar
    Join Date
    Jul 2008
    Location
    Newcastle
    Posts
    391
    Thanks
    95
    Thanked 31 Times in 20 Posts
    Rep Power
    213
    Reputation
    462

    Default Any ideas why this still wont install??

    jeff@ubuntu:~$ cd /lib/
    jeff@ubuntu:/lib$ sudo ln -s libcrypto.so.0.9.8e libcrypto.so.0.9.8
    ln: creating symbolic link `libcrypto.so.0.9.8': File exists
    jeff@ubuntu:/lib$ sudo apt-get install yum
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    yum is already the newest version.
    The following packages were automatically installed and are no longer required:
    linux-headers-2.6.31-14-generic-pae linux-headers-2.6.31-14
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    jeff@ubuntu:/lib$ cd /usr/local/bin/
    jeff@ubuntu:/usr/local/bin$ sudo apt-get install subversion
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    subversion is already the newest version.
    The following packages were automatically installed and are no longer required:
    linux-headers-2.6.31-14-generic-pae linux-headers-2.6.31-14
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    jeff@ubuntu:/usr/local/bin$ sudo svn co oscam-svn
    Checked out revision 1939.
    jeff@ubuntu:/usr/local/bin$ cd oscam-svn/
    jeff@ubuntu:/usr/local/bin/oscam-svn$ sudo apt-get install cmake
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    cmake is already the newest version.
    The following packages were automatically installed and are no longer required:
    linux-headers-2.6.31-14-generic-pae linux-headers-2.6.31-14
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    jeff@ubuntu:/usr/local/bin/oscam-svn$ sudo mkdir build_dir
    mkdir: cannot create directory `build_dir': File exists
    jeff@ubuntu:/usr/local/bin/oscam-svn$ cd build_dir
    jeff@ubuntu:/usr/local/bin/oscam-svn/build_dir$ sudo cmake /usr/local/bin/oscam-svn
    -- pthread found. Adding pthread support
    -- librt found (needed by libusb).
    -- no libusb 1.0 found. No smartreader support
    -- The CXX compiler identification is unknown
    CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
    CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
    --
    -- operating system: Linux
    -- system type: i686-pc-linux
    -- system: linux
    -- cpu: i686
    -- hw: pc
    -- use built-in aes functions
    -- use built-in sha functions
    -- use system pthread functions
    --
    -- Configuring incomplete, errors occurred!
    jeff@ubuntu:/usr/local/bin/oscam-svn/build_dir$ sudo make
    make: *** No targets specified and no makefile found. Stop.
    jeff@ubuntu:/usr/local/bin/oscam-svn/build_dir$ sudo make install
    make: *** No rule to make target `install'. Stop.
    jeff@ubuntu:/usr/local/bin/oscam-svn/build_dir$
    Last edited by statesmanjeff; 19-03-10 at 10:58 PM. Reason: complete log

  19. #17
    Junior Member
    Join Date
    Nov 2008
    Posts
    178
    Thanks
    31
    Thanked 9 Times in 7 Posts
    Rep Power
    193
    Reputation
    47

    Default

    make sure you have the g++ libaries downloaded and try to recompile again

  20. #18
    Member novica's Avatar
    Join Date
    Jan 2008
    Posts
    404
    Thanks
    147
    Thanked 80 Times in 49 Posts
    Rep Power
    233
    Reputation
    1117

    Default

    i am getting this error while trying to start oscam
    novica@ubuntuServer:~$ sudo oscam start
    Warning: OSCam compiled without Webinterface support.
    Warning: OSCam compiled without Webinterface support.
    Warning: OSCam compiled without Webinterface support.
    Warning: OSCam compiled without gbox support.
    Warning: OSCam compiled without gbox support.
    Warning: OSCam compiled without gbox support.
    Warning: OSCam compiled without gbox support.
    Warning: OSCam compiled without gbox support.
    Warning: OSCam compiled without gbox support.
    Warning: OSCam compiled without DVB API support.
    Warning: OSCam compiled without DVB API support.
    Warning: OSCam compiled without DVB API support.
    Warning: OSCam compiled without DVB API support.
    Warning: OSCam compiled without DVB API support.
    couldn't open logfile: /var/log/oscam/oscam.log (errno 2)
    WARNING: value 'gbox' in protocol-line not recognized, assuming MOUSE
    WARNING: value 'pcsc' in protocol-line not recognized, assuming MOUSE
    novica@ubuntuServer:~$
    its interesting why some can get it running and some don`t.....i find cccam much easier to set up .....oscam is pain in the a**
    Android TV boxes: Nvidia Shield U Box 4K, Rickomagic 808b, Rickomagic 802
    Raspberry Pi 2, Ouya
    AZbox Premium , dm8000 , VU+ Duo, Ultra Plus 900 and other none Linux boxes

  21. #19
    Member jtc2005's Avatar
    Join Date
    Mar 2008
    Location
    Perth, Sydney
    Age
    35
    Posts
    273
    Thanks
    11
    Thanked 77 Times in 42 Posts
    Rep Power
    212
    Reputation
    353

    Default

    looks like a problem with the config. post all the config files.
    Datalane -

  22. The Following User Says Thank You to jtc2005 For This Useful Post:

    novica (24-03-10)

  23. #20
    Junior Member
    Join Date
    Sep 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Reputation
    10

    Default

    Why this command line
    "sudo svn co http_//oscam.ump2002.net/svn/oscam/trunk oscam-svn"
    does not get the latest svn version?
    It is downloading svn 2090 but the latest is 3047.
    I tried sudo svn co http_//oscam.ump2002.net/svn/oscam/trunk oscam-svn -r 3047 but it cannot find this version.
    Is there a way to get the latest svn?

    And another question- is there a way to include all modules, protocols e.t.c while compiling?
    Last edited by mchris; 13-09-10 at 09:21 AM.

Similar Threads

  1. oscam
    By couchpotato in forum Dreambox
    Replies: 840
    Last Post: 20-08-11, 10:56 AM
  2. oscam Remote
    By dartronix in forum Dreambox
    Replies: 0
    Last Post: 16-02-10, 08:07 PM
  3. oscam ir
    By jtc2005 in forum Dreambox
    Replies: 2
    Last Post: 13-02-10, 06:57 PM
  4. Oscam HD
    By poiuytrewq in forum Dreambox
    Replies: 5
    Last Post: 07-02-10, 04:47 PM

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
  •