Thread: Raspberry Pi and Oscam


Forum: CAMS / CARDS / PROGRAMMERS

After much mucking about and pulling of hair, today I successfully got Oscam running on my Raspberry Pi. Yay me! Had to build it from scratch as I failed to find any ARM binaries o

Page 1 of 5 123 ... LastLast
Results 1 to 10 of 44
  1. #1
    DW Senior Member chopps's Avatar
    Join Date
    Sep 2011
    Posts
    322
    DW Cash
    27
    Downloads
    5
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Raspberry Pi and Oscam

    After much mucking about and pulling of hair, today I successfully got Oscam running on my Raspberry Pi. Yay me! Had to build it from scratch as I failed to find any ARM binaries out there that work.

    Only tested with constcw reader so far as I don't have a usb reader yet - but it runs great!

    Might write a little tutorial if anyones interested?

    Also would be very useful if I could find the YMOD source, anyone please?

    Cheers



  2. #2
    VIP Member jamesyboyjim's Avatar
    Join Date
    Jan 2008
    Location
    CWS =
    Posts
    5,134
    DW Cash
    351
    Downloads
    46
    Uploads
    1
    Mentioned
    23 Post(s)
    Tagged
    0 Thread(s)
    Awesome! Im sure a tutorial would help many members out

  3. #3
    VIP Member
    Join Date
    Apr 2007
    Posts
    1,015
    DW Cash
    26
    Downloads
    25
    Uploads
    0
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Raspberry Pi and Oscam

    how i got oscam running on the raspberry pi using omnikey 3121
    # installed debian sqeeze to sd card from raspberry pi website
    # user = pi password = raspberry

    sudo update-rc.d ssh defaults
    sudo /etc/rc2.d/*ssh start



    # now ssh in to

    sudo apt-get install update-manager-core
    sudo apt-get update
    sudo apt-get update
    sudo apt-get install proftpd

    sudo chown pi /usr/local/bin
    sudo chown pi /usr/local/etc

    sudo apt-get install openssl
    sudo apt-get install libssl-dev
    sudo apt-get install cmake build-essential
    sudo apt-get install gcc g++ cmake libpcsclite1 libpcsclite-dev subversion
    sudo wget h**p://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.8/libusb-1.0.8.tar.bz2 #replace ** with tt
    sudo tar xjvf libusb-1.0.8.tar.bz2
    cd libusb-1.0.8
    sudo ./configure --enable-shared=no
    sudo make
    sudo make install
    cd /usr/src
    sudo svn co h**p://www.oscam.to/svn/oscam/trunk oscam #replace ** with tt
    cd oscam
    sudo mkdir build
    cd build
    sudo cmake -DWEBIF=1 ..
    sudo make
    sudo cp oscam /usr/local/bin
    sudo chmod 755 /usr/local/bin/oscam

    # put oscam files in /usr/local/etc
    cd

    sudo apt-get install pcscd
    sudo apt-get install pcsc-tools

    # test card reader
    cd
    pcsc_scan

    #start oscam
    cd /usr/local/bin
    sudo oscam -b


    only checked with one client so far but ecm times at 90ms working great

    #oscam files

    #oscam.conf

    [global]
    logfile = stdout
    disablelog = 0
    disableuserfile = 0
    usrfileflag = 0
    clienttimeout = 5000
    fallbacktimeout = 2500
    clientmaxidle = 120
    failbantime = 30
    cachedelay = 120
    bindwait = 120
    netprio = 0
    clientdyndns = 0
    resolvedelay = 30
    unlockparental = 0
    nice = -1
    serialreadertimeout = 1500
    maxlogsize = 50
    waitforcards = 1
    preferlocalcards = 1
    saveinithistory = 1
    readerrestartseconds = 5
    lb_mode = 1
    lb_save = 0
    lb_nbest_readers = 2
    lb_nfb_readers = 1
    lb_min_ecmcount = 5
    lb_max_ecmcount = 500
    lb_reopen_seconds = 900
    resolvegethostbyname = 0
    failbantime = 10
    double_check = 0

    [newcamd]
    port = 34000@0963:000000
    key = 0102030405060708091011121314
    allowed = 1.0.0.0-255.255.255.255
    keepalive = 1
    mgclient = 0

    [cccam]
    port = 12000
    reshare = 1
    version = 2.1.3
    stealth = 1

    [webif]
    httpport = 8888
    httpuser = user
    httppwd = password
    httprefresh = 10
    httpallowed = 127.0.0.1,192.168.0.1-192.168.0.111
    httphideidleclients = 1
    httpreadonly = 0

    [monitor]
    port = 988
    aulow = 120
    monlevel = 2
    NoCrypt = 192.168.0.1-192.168.0.111



    #oscam.server

    [reader]
    label= Foxtel
    protocol = pcsc
    enable = 1
    device = 0
    detect = cd
    cardmhz = 357
    caid = 0963
    boxid = 00000000
    group = 1
    emmcache = 1,3,2
    ecmcache = 1
    blockemm-unknown = 1
    blockemm-g = 1
    lb_weight = 101



    #oscam.user

    [account]
    user = user
    pwd = password
    monlevel = 0
    uniq = 0
    group = 1,2
    au = 1
    caid = 0963

    [account]
    user = monitor
    pwd = monitor
    monlevel = 2

    #just added cline as normal to client
    c: raspberrypi 12000 user password
    Last edited by havelln; 30th May 2012 at 12:16.

  4. #4
    VIP Member calisto's Avatar
    Join Date
    Feb 2006
    Posts
    1,005
    DW Cash
    97
    Downloads
    170
    Uploads
    0
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Raspberry Pi and Oscam

    Quote Originally Posted by chopps View Post
    After much mucking about and pulling of hair, today I successfully got Oscam running on my Raspberry Pi. Yay me! Had to build it from scratch as I failed to find any ARM binaries out there that work.

    Only tested with constcw reader so far as I don't have a usb reader yet - but it runs great!

    Might write a little tutorial if anyones interested?

    Also would be very useful if I could find the YMOD source, anyone please?

    Cheers
    Have got my PI turning up in a few days & would like to see a tut please

    Thanks

  5. #5
    DW Senior Member chopps's Avatar
    Join Date
    Sep 2011
    Posts
    322
    DW Cash
    27
    Downloads
    5
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Raspberry Pi and Oscam

    Nice one Havelin. Essentially the same here. Im struggling to add or modify users in the web interface, but other than that its all looking good. Just need the omnikey now.

  6. #6
    VIP Member
    Join Date
    Apr 2007
    Posts
    1,015
    DW Cash
    26
    Downloads
    25
    Uploads
    0
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Raspberry Pi and Oscam

    been playing around with this running very stable cpu load not more than 5% not using more than 50mb of memory
    also if you want to set staic ip and have oscam run obn boot

    # set static ip

    sudo nano /etc/network/interfaces
    #change the dhcp to static then under it put like this but chaneg to your addresses you want
    address 192.168.0.2
    netmask 255.255.255.0
    broadcast 192.168.0.2
    gateway 192.168.0.1

    # save by pushing ctrl x

    # setup oscam to auto start

    sudo nano /etc/rc.local

    # add this line just above exit

    /usr/local/bin/oscam -b

    # save by pushing ctrl x

  7. #7
    VIP Member Mark_The_Yid's Avatar
    Join Date
    Jan 2006
    Posts
    3,369
    DW Cash
    259
    Downloads
    19
    Uploads
    0
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: Raspberry Pi and Oscam

    I was thinking about having a go at this only last week. Now I've read this thread I am glad I didn't bother. Bit over my head

  8. #8
    Global Moderator + Napster's Avatar
    Join Date
    Aug 2003
    Location
    West Midlands
    Posts
    15,021
    DW Cash
    1,679
    Downloads
    210
    Uploads
    7
    Mentioned
    250 Post(s)
    Tagged
    0 Thread(s)

    Re: Raspberry Pi and Oscam

    What the hell is a raspberry PI when its all at home ?

  9. #9
    DW Senior Member
    Join Date
    Apr 2010
    Posts
    483
    DW Cash
    83
    Downloads
    18
    Uploads
    0
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

    Re: Raspberry Pi and Oscam

    Quote Originally Posted by Napster View Post
    What the hell is a raspberry PI when its all at home ?
    one of those new bare bones computers that costs 25.00 or so...

  10. #10
    Global Moderator + Napster's Avatar
    Join Date
    Aug 2003
    Location
    West Midlands
    Posts
    15,021
    DW Cash
    1,679
    Downloads
    210
    Uploads
    7
    Mentioned
    250 Post(s)
    Tagged
    0 Thread(s)

    Re: Raspberry Pi and Oscam

    Quote Originally Posted by kegnkiwi View Post
    one of those new bare bones computers that costs 25.00 or so...
    computer for 25 quid that cant be right ?



Page 1 of 5 123 ... LastLast

Similar Threads

  1. Delays dog Raspberry Pi project
    By snapman in forum Main site news
    Replies: 0
    Last Post: 29th March 2012, 18:32
  2. Replies: 0
    Last Post: 26th March 2012, 17:55
  3. Replies: 0
    Last Post: 23rd June 2011, 18:17
  4. oscam oscam.srvid file
    By jfish in forum Dreambox Receiver Discussion
    Replies: 0
    Last Post: 22nd April 2011, 20:19
  5. Big raspberry
    By Tommy Harris in forum General Chat
    Replies: 113
    Last Post: 28th July 2004, 02:21

User Tag List

Tags for this Thread

View Tag Cloud

Important Keywords:

910, auto, card, client, computer, computers, config, dedicated, desktop, download, ecm, entitlements, error, free, google, hdmi, help, home, linux, memory, nano, net, network, oscam, password, problems, raspberry, raspberry pi, reboot, report, restart, r

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
  •