Thanks Thanks:  41
Likes Likes:  22
Dislikes Dislikes:  0
Page 1 of 6 12345 ... LastLast
Results 1 to 15 of 85

Thread: Raspberry Pi

  1. #1
    Standard RSP member techcenter's Avatar
    Join Date
    02 Feb 2008
    Posts
    446
    Mentioned
    1 Post(s)
    Rep Power
    61

    Default Raspberry Pi

    de ieri, am intrat in posesia "computerului" de 100 de lei.
    am instalat osc@m-ul cu 2 cititoare (un smargo si un pcsc reader de la HID) - focus si HD+. revin cu detalii.














    succesuri!

  2. #2
    Golden Member wambertos's Avatar
    Join Date
    27 Jul 2007
    Posts
    379
    Mentioned
    0 Post(s)
    Rep Power
    63

    Default

    Baga mare!
    Si al meu a venit de vreo 3 saptamini, dar nu am avut inca timp si chef sa-l iau in functie.
    Mi-am comandat in schimb o carcasa draguta pt. el din UK.

  3. #3
    Standard RSP member techcenter's Avatar
    Join Date
    02 Feb 2008
    Posts
    446
    Mentioned
    1 Post(s)
    Rep Power
    61

    Default

    l-am bagat in "paine". din pacate, am reusit (gratie tutorialelor de pe alt forumuri) doar sa pornesc oscam-ul cu 2 cititoare (focu$ si HD+), si ceva clienti/readere 3cam. ma uit cum merge si nu-mi revin. nu pornesc X-ul. n-am nevoie de grafica. merge in command line si se misca incredibil!
    pe cel de-al 2-lea, vreau sa-l "muncesc" cu XBMC-ul (partea de media player). pana una-alta, ma declar satisfacut de investitie. trebuie sa-mi gasesc un incarcator din care sa scot 5V (undeva la 1000mA) dar sa am si back-up pe baterie. trebie sa inventez ceva. revin cu detalii. acum sunt la munte und eam un receptor amiko 8330 care-i legat la el. n-a "sughitat' nicio clipa. daca s-ar putea rezolva si problema 3cam-ului, ar fi genial! ma rog... eu astept si alte cam-uri sa mearga pe el (sbox, de exemplu).


    succesuri!

    p.s. astept sa "se ingroase" comunitatea!

  4. #4
    RSP Enigma Team
    Join Date
    28 Aug 2009
    Location
    Departe
    Posts
    437
    Mentioned
    0 Post(s)
    Rep Power
    56

    Default

    Felicitari! Daca ai timp, poate mai postezi niste detalli despre ce si cum ai instalat, m-ar interesa si pe mine.
    ---

    Apropos de XBMC, eu am instalat RaspBMC (http://www.raspbmc.com/). Mai are ceva limitari, dar per ansamblu merge surprinzator de bine. Anyway, asta a un alt topic.
    Last edited by proteus; 28-07-12 at 14:07.

  5. #5
    Standard RSP member techcenter's Avatar
    Join Date
    02 Feb 2008
    Posts
    446
    Mentioned
    1 Post(s)
    Rep Power
    61

    Default

    sigur ca postez! am incropid un HOW TO bazat pe informatiile gasite pe alte forumuri si usor adaptat ultimei versiuni de debian (modificat). incerc sa-l traduc in limba romana si sa-l atasez la acest post. sper sa se mareasca numarul de utilizatori al acestui produs!

    succesuri!

    p.s. nu vreau sa fac reclama, dar sunt de parere ca ar trebui sa postez modalitatea de achizitie. astept OK-ul moderatorilor.

  6. #6
    Standard RSP member SuperSonic's Avatar
    Join Date
    29 Nov 2008
    Location
    Cu capu' in nori
    Posts
    2,709
    Mentioned
    0 Post(s)
    Rep Power
    77

    Default

    Nu vad nicio problema in postarea acelei informatii, am facut si eu comanda pentru acest mini-pc, dar mai am de asteptat destule saptamani.
    Succes la teste.

  7. #7
    Standard RSP member techcenter's Avatar
    Join Date
    02 Feb 2008
    Posts
    446
    Mentioned
    1 Post(s)
    Rep Power
    61

    Default

    pentru cei interesati in achizitia acestui microPC, pasii sunt urmatorii:

    se acceseaza acest link: http://export.farnell.com/rp/order/
    i
    n aceasta pagina, se selecteaza tara. in cazul nostru Romania. (acest lucru este foarte important, deoarece are legatura cu destinatia de livrare si limba de corespondenta).
    dupa acest pas, in functie de preferinte (daca aveti firma si vreti sa-l importati asa) selectati Bussiness sau Consumer, apasand butonul ORDER NOW! din dreptul fiecarei selectii.
    urmatorul pas cere completarea datelor personale, a adresei si modalitaii de plata.

    urmeaza un email de conformare de la info-ro@farnell.com. si-apoi....asteptarea. comenzile sunt multe si asteptati-va la 3-4 saptamani pentru livrare. in momentul in care aveti produsul gata pentru livrare, veti mai primi un email cu aceasta informatie si, dupa caz, un tracking number la DHL.

    apoi, urmeaza distractia. pregatesc (asa cum am scris si mai devreme), un tutorial pas cu pas, cu pregatirea cardului de memorie cu sistemuld e operare si, tema experimentului nostru, isntalarea OSCAM-ului cu suport pentru cititoarele tip smargo si PCSC. eu am un HID OMNIKEY 3111, pe care il folosesc impreuna cu OSCAM-ul de foarte mult timp. asta este un alt subiect pe care il pot dezvolta cu alta ocazie.

    pentru inceput, puteti studia pagina comunitatii: http://www.raspberrypi.org/

    canalul youtube dedicat: http://www.youtube.com/user/raspberrypitutorials?feature=results_main

    cred ca veti putea sa va faceti o idee despre capabilitatile si flexibilitatea acestui dispozitiv.

    succesuri!

  8. #8
    Standard RSP member maximuss's Avatar
    Join Date
    12 Aug 2007
    Posts
    614
    Mentioned
    0 Post(s)
    Rep Power
    65

    Default

    Pretul final care este ? Am vazut 2 oferte pe okazii la sume destul de mari .

  9. #9
    Standard RSP member techcenter's Avatar
    Join Date
    02 Feb 2008
    Posts
    446
    Mentioned
    1 Post(s)
    Rep Power
    61

    Default

    a inceput "bisnita", deja. eu am platit 22.19 de lire sterline exclusiv TVA. taxa de transport este 20 de lei. faceti socoteala si vedeti pretul real. cei de pe mocazii profita de termenul mare de livrare.

    succesuri!

  10. #10
    Standard RSP member
    Join Date
    04 Apr 2009
    Posts
    570
    Mentioned
    8 Post(s)
    Rep Power
    58

    Default

    pare ca a ajuns la 33 de lire sterline cu transport inclus intre timp. pentru cei care au avut si miniPC android si raspberry, cum e treaba? e mai potent (hardware vorbind) ca pe partea de soft e clar ca e mai versatil raspberry.

  11. #11
    Standard RSP member maximuss's Avatar
    Join Date
    12 Aug 2007
    Posts
    614
    Mentioned
    0 Post(s)
    Rep Power
    65

    Default

    Am gasit la un pret destul de mic aici sper ca sant si seriosi .

  12. #12
    RSP Enigma Team
    Join Date
    28 Aug 2009
    Location
    Departe
    Posts
    437
    Mentioned
    0 Post(s)
    Rep Power
    56

    Default

    Quote Originally Posted by techcenter View Post
    sigur ca postez! am incropid un HOW TO bazat pe informatiile gasite pe alte forumuri si usor adaptat ultimei versiuni de debian (modificat). incerc sa-l traduc in limba romana si sa-l atasez la acest post.
    Cred ca majoritatea de pe aici inteleg engleza fara probleme. Dar daca vrei, pot sa ajut cu traducerea. Da-mi un semn pe PM daca vrei.

  13. #13
    Standard RSP member techcenter's Avatar
    Join Date
    02 Feb 2008
    Posts
    446
    Mentioned
    1 Post(s)
    Rep Power
    61

    Default

    un prim tutorial, de pe canalul oficial, raspberry pi:

    COPIEREA SISTEMULUI DE OPERARE, pe SD card. da, hard disk-ul acestui micro computer, este unSd card. personal, am folosit un SDHC de 8GB, relativ no-name (producator:HAMA).




    Comentariu original:
    Code:
    Links used in this tutorial:
    Raspberry Pi Operating System Downloads:http://www.raspberrypi.org/downloads
    Win32DiskImager: https://launchpad.net/win32-image-writer/+download
    MD5 & SHA-1 Checksum Utility: http://download.cnet.com/MD5-SHA-1-C...-10911445.html
    
    The Raspberry Pi is a £15/$25 computer that runs GNU/Linux. Seehttp://www.raspberrypi.org/ for more info.
    
    I plan to provide Linux tutorials for those who are new to it, configuration tutorials once the Raspberry Pi is out, and programming tutorials following that.
    succesuri!

    ---------- Post added at 02:07 ---------- Previous post was at 00:48 ----------

    Compilation Oscam for Smargo / reader PCSC and Smartreader on Raspberry Pi under Raspbian

    This tutorial will explain how to compile a Oscam Raspberry PI. The PC from which this tutorial is done in Windows so I'm referring to programs for Windows (putty and Win32DiskImager). Refer to the documentation of Raspberry Pi if you use another system to create your bootable SD card.

    Install an image Raspbian "Wheezy"

    Check the following link and choose the image Raspbian "Wheezy".

    http://www.raspberrypi.org/downloads

    Download: Win32-Disk-Imager and unzip.
    Insert an SD card (2GB minimum) in your SD card reader and launch Win32DiskImager, check that it has selected the letter of your SD card, select the file containing the image Raspbian and click Write.
    Eject the SD card properly on your PC and install it in the Raspberry PI.
    Connect your Raspberry PI on the computer network (LAN) and connect the AC adapter / micro usb to start it.
    I use the Raspberry Pi pure server, so I do not install a keyboard or mouse and I did not resort to the graphical interface of the RPi.
    You must find the IP address of your IP Raspberry, the easiest way is to connect the router and watch what is the last IP address assigned.

    Therefore we will download and install putty (if not already) on your PC.
    Download putty.(putty download link)

    Start Putty, type the IP address of your IP Raspberry, take as connection type: SSH (port 22).
    In the left window to Window - Translation and choose Remote Character set: UTF-8
    Click in the left window on session and then right into the fields: Saved Session define a name and click Save.
    There you have a shortcut to putty to connect quickly to your Raspberry Pi

    Click Open and accepting the key.
    You are on the prompt:
    Login: pi
    password: raspberry


    Code source
    1
    2
    login as: pi
    pi@xxx.xxx.xxx.xxx's password: raspberry



    There I would suggest doing a rapi-config:


    Code source
    1 sudo raspi-config



    You can take: expand root-fs
    You can configure the rest according to your preferences (keyboard, the local timezone).
    At timezone take for example: Europe - Bucharest
    End up with an upgrade, it will update your distribution to the latest versions of packages and then leave Raspi-config.
    I suggest to reboot. Type:


    Code source
    1 sudo reboot



    Your Raspberry will restart, the memory card ready for use and take full account of any up-to-date.
    Reconnect via putty on your Raspberry.
    We will install the build environment:


    Code source
    1
    2
    3
    4
    sudo apt-get -y install build-essential libssl-dev libpcsclite-dev mercurial cvs subversion libncurses5-dev cmake dialog pcsc-tools
    sudo apt-get -y install opensc pcscd libccid pcscd
    sudo apt-get -y install libusb-dev
    sudo apt-get -y install libusb-1.0-0-dev


    It will ask you again the password of the user ft (default raspberry).
    We will create a symbolic link to the compilation of Oscam find libusb library.

    Code source
    1 sudo ln -s /usr/lib/arm-linux-gnueabihf/libusb-1.0.a /usr/local/lib/libusb-1.0.a


    We will create a user to compile our useroscam Oscam and isolate oscam and our environment.
    Code source
    1
    2
    sudo adduser useroscam
    sudo adduser useroscam sudo


    We create user useroscam and then we add it to the group sudo (so he can run the sudo command).

    It will ask you the password for that user 2 times, then various questions not mandatory. Finish by answering y (yes).


    pi@raspberrypi ~ $ sudo adduser useroscam
    Adding user `useroscam' ...
    Adding new group `useroscam' (1002) ...
    Adding new user `useroscam' (1001) with group `useroscam' ...
    Creating home directory `/home/useroscam' ...
    Copying files from `/etc/skel' ...
    Enter new UNIX password:
    Retype new UNIX password:
    passwd: password updated successfully
    Changing the user information for useroscam
    Enter the new value, or press ENTER for the default
    Full Name []: OscamUser
    Room Number []:
    Work Phone []:
    Home Phone []:
    Other []:
    Is the information correct? [Y/n] Y

    pi@raspberrypi ~ $ sudo adduser useroscam sudo
    Adding user `useroscam' to group `sudo' ...
    Adding user useroscam to group sudo
    Done.
    We will connect via that user.


    Code source
    1 logout


    Reconnect with Putty but this time the utilsant utilsateur useroscam with the password you set.
    We will download and compile our Oscam.

    Code source
    1
    2
    3
    4
    5
    6
    7
    cd
    svn co http://streamboard.de.vu/svn/oscam/trunk oscam-svn
    cd oscam-svn/
    mkdir build
    cd build
    cmake -DHAVE_LIBUSB=1 -DHAVE_PCSC=1 -DWEBIF=1 -DHAVE_LIBCRYPTO=1 -DWITH_SSL=1 ..
    make



    The first compilation will take longer, since all modules will be compiled later if you do a daily update, only the modified modules will be recompiled. Consider also that the processor of your Raspberry Pi is limited in power and therefore the compilation takes longer than on a PC.

    Example of the compilation:


    Scanning dependencies of target csmodules
    [ 1%] Building C object CMakeFiles/csmodules.dir/module-webif-pages.o
    [ 2%] Building C object CMakeFiles/csmodules.dir/module-anticasc.o
    [ 3%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-stapi.o
    [ 4%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-coolapi.o
    [ 6%] Building C object CMakeFiles/csmodules.dir/module-stat.o
    [ 7%] Building C object CMakeFiles/csmodules.dir/module-camd33.o
    [ 8%] Building C object CMakeFiles/csmodules.dir/module-monitor.o
    [ 9%] Building C object CMakeFiles/csmodules.dir/module-cccshare.o
    [ 10%] Building C object CMakeFiles/csmodules.dir/module-dvbapi-azbox.o
    [ 12%] Building C object CMakeFiles/csmodules.dir/module-csp.o
    [ 13%] Building C object CMakeFiles/csmodules.dir/module-constcw.o
    [ 14%] Building C object CMakeFiles/csmodules.dir/module-webif-lib.o
    [ 15%] Building C object CMakeFiles/csmodules.dir/module-serial.o
    [ 16%] Building C object CMakeFiles/csmodules.dir/module-webif.o
    [ 18%] Building C object CMakeFiles/csmodules.dir/module-pandora.o
    [ 19%] Building C object CMakeFiles/csmodules.dir/module-camd35.o
    [ 20%] Building C object CMakeFiles/csmodules.dir/module-lcd.o
    [ 21%] Building C object CMakeFiles/csmodules.dir/module-radegast.o
    [ 22%] Building C object CMakeFiles/csmodules.dir/module-gbox.o
    [ 24%] Building C object CMakeFiles/csmodules.dir/module-cccam.o
    [ 25%] Building C object CMakeFiles/csmodules.dir/module-dvbapi.o
    [ 26%] Building C object CMakeFiles/csmodules.dir/module-newcamd.o
    Linking C static library libcsmodules.a
    [ 26%] Built target csmodules
    Scanning dependencies of target svnversion-log
    [ 26%] Built target svnversion-log
    Scanning dependencies of target csoscam
    [ 27%] Building C object CMakeFiles/csoscam.dir/oscam-reader.o
    [ 28%] Building C object CMakeFiles/csoscam.dir/oscam-config.o
    [ 30%] Building C object CMakeFiles/csoscam.dir/oscam-chk.o
    [ 31%] Building C object CMakeFiles/csoscam.dir/oscam-simples.o
    [ 32%] Building C object CMakeFiles/csoscam.dir/oscam-garbage.o
    [ 33%] Building C object CMakeFiles/csoscam.dir/oscam-llist.o
    [ 34%] Building C object CMakeFiles/csoscam.dir/oscam-log.o
    Linking C static library libcsoscam.a
    [ 34%] Built target csoscam
    Scanning dependencies of target csreaders
    [ 36%] Building C object CMakeFiles/csreaders.dir/reader-tongfang.o
    [ 37%] Building C object CMakeFiles/csreaders.dir/reader-videoguard1.o
    [ 38%] Building C object CMakeFiles/csreaders.dir/reader-viaccess.o
    [ 39%] Building C object CMakeFiles/csreaders.dir/reader-cryptoworks.o
    [ 40%] Building C object CMakeFiles/csreaders.dir/reader-common.o
    [ 42%] Building C object CMakeFiles/csreaders.dir/reader-videoguard2.o
    [ 43%] Building C object CMakeFiles/csreaders.dir/reader-dre.o
    [ 44%] Building C object CMakeFiles/csreaders.dir/reader-irdeto.o
    [ 45%] Building C object CMakeFiles/csreaders.dir/reader-videoguard12.o
    [ 46%] Building C object CMakeFiles/csreaders.dir/reader-nagra.o
    [ 48%] Building C object CMakeFiles/csreaders.dir/reader-videoguard-common.o
    [ 49%] Building C object CMakeFiles/csreaders.dir/reader-bulcrypt.o
    [ 50%] Building C object CMakeFiles/csreaders.dir/reader-seca.o
    [ 51%] Building C object CMakeFiles/csreaders.dir/reader-conax.o
    Linking C static library libcsreaders.a
    [ 51%] Built target csreaders
    Scanning dependencies of target svnversion
    [ 51%] Built target svnversion
    Scanning dependencies of target csctapi
    [ 53%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_mp35.o
    [ 54%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_stapi.o
    [ 55%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_phoenix.o
    [ 56%] Building C object csctapi/CMakeFiles/csctapi.dir/io_serial.o
    [ 57%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_azbox.o
    [ 59%] Building C object csctapi/CMakeFiles/csctapi.dir/protocol_t1.o
    [ 60%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_smargo.o
    [ 61%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_smartreader.o
    [ 62%] Building C object csctapi/CMakeFiles/csctapi.dir/icc_async.o
    [ 63%] Building C object csctapi/CMakeFiles/csctapi.dir/atr.o
    [ 65%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_pcsc.o
    [ 66%] Building C object csctapi/CMakeFiles/csctapi.dir/protocol_t0.o
    [ 67%] Building C object csctapi/CMakeFiles/csctapi.dir/t1_block.o
    [ 68%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_cool.o
    [ 69%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_sc8in1.o
    [ 71%] Building C object csctapi/CMakeFiles/csctapi.dir/ifd_sci.o
    Linking C static library libcsctapi.a
    [ 71%] Built target csctapi
    Scanning dependencies of target algo
    [ 72%] Building C object algo/CMakeFiles/algo.dir/minilzo.o
    Linking C static library libalgo.a
    [ 72%] Built target algo
    Scanning dependencies of target cscrypt
    [ 73%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_print.o
    [ 74%] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_skey.o
    [ 75%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_ctx.o
    [ 77%] Building C object cscrypt/CMakeFiles/cscrypt.dir/mem.o
    [ 78%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_word.o
    [ 79%] Building C object cscrypt/CMakeFiles/cscrypt.dir/rc6.o
    [ 80%] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_cbc.o
    [ 81%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_sqr.o
    [ 83%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_div.o
    [ 84%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_exp.o
    [ 85%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_shift.o
    [ 86%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_asm.o
    [ 87%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_mul.o
    [ 89%] Building C object cscrypt/CMakeFiles/cscrypt.dir/aes.o
    [ 90%] Building C object cscrypt/CMakeFiles/cscrypt.dir/crc32.o
    [ 91%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_lib.o
    [ 92%] Building C object cscrypt/CMakeFiles/cscrypt.dir/des.o
    [ 93%] Building C object cscrypt/CMakeFiles/cscrypt.dir/i_ecb.o
    [ 95%] Building C object cscrypt/CMakeFiles/cscrypt.dir/md5.o
    [ 96%] Building C object cscrypt/CMakeFiles/cscrypt.dir/bn_add.o
    [ 97%] Building C object cscrypt/CMakeFiles/cscrypt.dir/sha1.o
    Linking C static library libcscrypt.a
    [ 97%] Built target cscrypt
    Scanning dependencies of target oscam
    [ 98%] Building C object CMakeFiles/oscam.dir/oscam.o
    Linking C executable oscam
    [ 98%] Built target oscam
    Scanning dependencies of target list_smargo
    [100%] Building C object utils/CMakeFiles/list_smargo.dir/list_smargo.o
    Linking C executable list_smargo
    [100%] Built target list_smargo
    Compilation we generated two files
    Code source
    1
    2
    ls -Fal oscam
    ls -Fal ./utils/list_smargo



    list_smargo

    list_smargo is a utility that allows you to quickly find the right configuration for your readers smargos.

    For a real SmartReader / Argolis / smargo reader:
    Code source
    1 sudo ./utils/list_smargo



    Sample output:
    Looking for smartreader with an out endpoint = 0x82 :
    bus 001, device 004 : 0403:6001 Smartreader (Device=001:004 EndPoint=0x82 insert in oscam.server 'Device = Serial:Reader 57')
    If you use a compatible player Smargo / Smartreader (typically a modified Smart Infinity USB mode Smargo) you must use an additional parameter that displays list_smargo you put your reader in Smargo mode.
    Code source
    1 sudo ./utils/list_smargo 0x81


    To detect and test your PCSC card reader you can use the command:

    Code source
    1 pcsc_scan


    It is available provided you have installed the packages mentioned earlier in this tutorial.
    To verify that your smart card readers are well recognized, you can type lsusb:

    Code source
    1 lsusb


    In this example we see a player type and Smargo reader PCSC.

    Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
    Bus 001 Device 006: ID 058f:9520 Alcor Micro Corp. EMV Certified Smart Card Reader
    Note: Tests with this reader PCSC were not conclusive, but I think the problem is the reader who does not support all cards.

    oscam


    Executable Oscam file you just created.
    Code source
    1 sudo ./oscam -h


    ___ ____ ___
    / _ \/ ___| / __|__ _ _ __ ___
    | | | \___ \| | / _` | '_ ` _ \
    | |_| |___) | |_| (_| | | | | | |
    \___/|____/ \___\__,_|_| |_| |_|

    OSCam cardserver v1.20-unstable_svn, build #7218 (arm-linux-gnueabihf)
    Copyright (C) 2009-2012 OSCam developers.
    This program is distributed under GPLv3.
    OSCam is based on Streamboard mp-cardserver v0.9d written by dukat
    Visit http://streamboard.de.vu/oscam/ for more details.

    Features : webif monitor ssl dvbapi irdeto-guessing anticascading debug smartreader pcsc loadbalancing
    Protocols : camd35_udp camd35_tcp newcamd cccam cccam_share pandora cache-exchange gbox radegast serial constcw
    Readers : nagra irdeto conax cryptoworks seca viaccess videoguard dre tongfang bulcrypt

    Usage: oscam [-a] [-b] [-c <config dir>] [-d <level>] [-g <mode>] [-h] [-p <num>] [-r <level>] [-S] [-s] [-t <tmp dir>] [-u] [-w <secs>]

    -a : write oscam.crash on segfault (needs installed GDB and OSCam compiled with debug infos -ggdb)

    -b : start in background

    -c <dir> : read configuration from <dir>
    default = /usr/local/etc

    -d <level> : debug level mask
    0 = no debugging (default)
    1 = detailed error messages
    2 = ATR parsing info, ECM, EMM and CW dumps
    4 = traffic from/to the reader
    8 = traffic from/to the clients
    16 = traffic to the reader-device on IFD layer
    32 = traffic to the reader-device on I/O layer
    64 = EMM logging
    128 = DVBAPI logging
    256 = Loadbalancer logging
    512 = CACHEEX logging
    1024 = Client ECM logging
    65535 = Debug all

    -g <mode> : garbage collector debug mode (1=immediate free, 2=check for double frees), these options are intended for debug only!

    -h : show this help

    -p <num> : maximum number of pending ECM packets, default:32, maximum:255

    -r <level> : restart level
    0 = disabled, restart request sets exit status 99
    1 = restart activated, web interface can restart oscam (default)
    2 = like 1, but also restart on segmentation faults

    -S : do not filter sensitive info (card serial numbers) from the logs

    -s : capture segmentation faults

    -t <dir> : tmp dir <dir>
    default = /tmp/.oscam

    -u : enable output of web interface in UTF-8 charset

    -w <secs> : wait up to <secs> seconds for the system time to be set correctly, default:60
    Sudo for this command is not necessary but later oscam need to high rights in order to start its web interface.
    We will always start oscam mode 'sudo'.

    For the next compilations we must be while logged in user useroscam:
    Code source
    1
    2
    3
    4
    5
    6
    cd
    cd oscam-svn
    svn up
    cd build
    cmake -DHAVE_LIBUSB=1 -DHAVE_PCSC=1 -DWEBIF=1 -DHAVE_LIBCRYPTO=1 -DWITH_SSL=1 ..
    make


    Start with Oscam on Raspberry Pi

    We'll place our executable and configuration files to a directory Oscam Oscam in the "home" directory of our User useroscam.
    Code source
    1
    2
    3
    4
    mkdir ~/OScam/
    cp ~/oscam-svn/build/oscam ~/OScam/
    cp ~/oscam-svn/build/utils/list_smargo ~/OScam/
    cd ~/OScam/


    Then you must create a file named oscam.conf in the ~ / Oscam / directory.
    Code source
    1
    2
    cd ~/OScam/
    touch oscam.conf


    which must contain the following:

    Note: If you are not familiier with editing file in Linux, it is probably easiest to take the empty file oscam.conf and edit on your PC using Notepad + + or CrimsonEditor. NEVER use the standard Windows Notepad to edit a file Linux.
    Code source
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    #
    # main configuration
    #

    [global]
    nice = -1
    WaitForCards = 1

    # logging

    logfile = /tmp/oscam.log
    usrfile = /tmp/oscamuser.log
    cwlogdir = /tmp/cw

    # monitor

    [monitor]
    port = 988
    aulow = 120
    monlevel = 1

    # web interface

    [webif]
    httpport = 8888
    httpuser = oscam
    httppwd = oscam
    httpallowed = 127.0.0.1,10.0.0.0-10.255.255.255,172.16.0.0-172.31.255.255,192.168.0.0-192.168.255.255

    # protocols

    [cs378x]
    port = 30000


    You can then restart your Oscam with the following command (as always useroscam):
    Code source
    1 sudo ~/OScam/oscam -c ~/OScam/ -b


    Your newly compiled Oscam is now active.
    You can manage it through its web interface:

    http://ip_of_your_raspberry:8888

    Login: oscam
    password: oscam

    Remarks:
    - For the specific configuration of Oscam, I suggest you watch the other tutorials in this forum.
    - If you débuttez in Oscam it is best to run it without the-b option to stop it more easily.
    - To kill Oscam once it is started with the-b option to:

    Code source
    1 sudo killall -9 oscam


    Tutorialul, nu-mi apartinere. Este adunat de pe web si tradus din limba franceza. Sper sa va fie util.


    Succesuri!

  14. #14
    Standard RSP member
    Join Date
    04 Apr 2009
    Posts
    570
    Mentioned
    8 Post(s)
    Rep Power
    58

    Default

    ma gandesc ca prin suportul linux ar putea deveni un reciever in toata regula folosind tunere dvb-c sau dvb-s pe usb. singura problema e ca acestea costa mai mult decat el

  15. #15
    Standard RSP member techcenter's Avatar
    Join Date
    02 Feb 2008
    Posts
    446
    Mentioned
    1 Post(s)
    Rep Power
    61

    Default

    acum, daca te gandesti sa faci un receptor satelit, se pare ca exista posibilitatea de a instala si combinatia XBMC + VDR si OScam cu DVBAPI. eu am oarecare rezerve privind combinatia asta, privind resursele microPC-ului. sunt de acord vis-a-vis de costurile tunerelor USB, cat si despre rezultate (performante). as merge pe varianta receptor linux "din fabrica", desi imi face placere sa experimentez tot felul de traznai! eu sunt in posesia unui tuner tv pe USB, de la Avermedia ce nu are suport pentru linux. asa ca, tocmai s-au terminat experimentele. daca-mi pica in mana un tuner USB (indiferent de standard), cu suport linux, promit sa-l pun la treaba!

    p.s. sunt la teste cu o categorie de dispozitive, destul de importanta in configuratia viitoare a microPC-ului: hub-urile USB. cu sau fara alimentare.
    apropos de alimentare, tineti cont de consumul dispozitivelor conectate pe porturile USB! sistemul rezerva (hardware!) 200mA pentru ambele porturi USB! conectarea consumatorilor "energofagi', duce la comportament instabil!

    succesuri!

Page 1 of 6 12345 ... LastLast

Tags for this Thread

Posting Permissions

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