Posts by philthy

    You need to change the range of ip addresses allowed to connect. The range I've entered in red, allows every ip address.


    Code
    [webif]
    httpport = ******
    httpuser = ****
    httppwd = ********
    httprefresh = 15
    httpallowed = [COLOR='#FF0000']1.1.1.1-256.256.256.256[/COLOR]
    hideclient_to = 15
    httpdyndns = *******************.no-ip.org

    I've been reading already, and it seems flashing isn't a problem, so where do I go from here?


    General info really.
    Is it simply a case of sticking a drive into an esata caddy and plugging it into the esata port so I can record?
    Which image to flash for my technophobe wife, who would like a good epg?
    How can I tell which sim version it is?
    Is CCcam already installed?


    All basic stuff I'm guessing?
    I've got a tri lnb setup, so will be tinkering with the multisat settings.


    Over to you guys, and thanks in advance.

    I had no idea there was no such library, maybe it is created by this?


    Open terminal, and enter this:


    nano /etc/opensc/opensc.conf
    Hit enter.


    Scroll down, and find:
    reader_drivers = ctapi; edit it to look like:
    reader_drivers = pcsc, ctapi;


    There are two instances of:
    reader_drivers = ctapi; I edited the first one, and left the second as it was.


    Scroll down further, and find:
    try_emulation_first = yes; it has a hash # in front of it, remove it, to make the line active.


    Scroll down again, until you find:
    #lock_login = true;, and change it to lock_login = false; Remove the hash, and set the value to false.


    Scroll down quite a long way, and you will find something like:
    #provider_library = /libpcsclite.so.1 I forget if it has the hash in front of the line, if so remove it, and add the /lib/ to the front of the library.


    To search while in nano, hit ctrl and w (it stands for "where"). Enter "libpcsclite" in the search box and hit enter. It should take you straight to the corresponding line to edit. If you are having difficulties, just scroll down very slowly, and read every line until you find it.


    Hit ctrl x then y when prompted to save, and enter when it displays the filename.


    Reboot, and try that with the new oscam.user settings.


    This line:

    Code
    provider_library = /lib/libpcsclite.so.1 (this line needs editing to add /lib/ in front of it


    Is in that file mate, you need to scroll down quite a bit though. You can search for it, by hitting Ctrl and w, and enter something like "pcsclite". You are right, it doesn't have the extra /lib/, so you will have to add it. Just make it identical to the instructions. Then hit Ctrl and x, and it will ask you if you want to save. Hit y, and when asked what filename to save, just hit enter (it's already named correctly).


    As for your oscam.server settings, try something like:


    Using device = 0 for the first reader, and device = 1 for the second, and presumably dev = 2 for the third etc, worked for me. I had tried using device = /dev/ttyUSB0, which worked for just one reader, but seemed to cause problems when I added the second.


    Hope this helps?

    Have you had any luck with this?
    I might be going over old ground for you, but did you do your install from the tutorial here?
    I made a very simple error, which had a similar result to the one you're getting. During the install, you have to edit the /etc/init.d/pcscd file



    I had not removed the # from in front of this line, once I realised, and removed it, it solved my omnikeys not being seen on reboot.


    Another thought, how are you pointing at your omnikeys in oscam.server?
    I have seen:
    device = 0
    device = /dev/ttyUSB0
    device = 002:003


    For me, dev = 0 for first card dev = 1 for second etc etc

    I had this problem as well.
    I had installed a second omnikey, and set it all up using the device = 0 device =1 in the oscam.server file. It was reading perfectly, unti I restarted oscam, and it couldn't find either of my omnikey readers.
    For the record, this was part of the log:

    Code
    2013/04/01 12:38:49 B77396C0 s waiting for local card init 
    2013/04/01 12:38:49 B6DFEB40 r reader thread started (thread=B6DFEB40, label=omni2, device=1, detect=cd, mhz=357, cardmhz=357) 
    2013/04/01 12:38:49 B75FFB40 r reader thread started (thread=B75FFB40, label=Omni1, device=0, detect=cd, mhz=357, cardmhz=357) 
    2013/04/01 12:38:54 B75FFB40 r PCSC failed establish context (8010001d) 
    2013/04/01 12:38:54 B75FFB40 r Cannot open device: 0 
    2013/04/01 12:38:54 B6DFEB40 r PCSC failed establish context (8010001d) 
    2013/04/01 12:38:54 B6DFEB40 r Cannot open device: 1


    I thought I had done the edits correctly. I had edited the DAEMON_ARGS="-error" to DAEMON_ARGS="-e", but I had forgotten to remove the hash from in front of the line.
    Removed the hash, rebooted, perfect.
    Thanks

    If you haven't installed cccam, (and it doesn't sound like you have?), download it, and install it. Once you've done that, configure cccam.conf to set the port etc, and you should be able to see it. The default port is 16001.

    Just a thought, I tried installing a couple of times when I had problems, and got the exact same problem as you. The server rebooted, and wouldn't find the readers. It turned out, that the multiple installs had duplicated those commands in the cron tab that masterg has pointed out.

    The easiest way to start from fresh, is as solo1 says, by inserting the ubuntu disc, and formatting during installation.
    Using two omnikeys shouldn't be a problem? I would start by using pcsc as the protocal, and set the devices as /dev/ttyUSB0 and /dev/ttyUSB1 in your oscam.server config. There are several tutorials for setting up the omnikeys, which I found a little unclear. Post back here if you have a problem?
    If you have followed the installs from this site, oscam is installed already. All you have to do then, is set the config file for which other protocols you'd like to support. If it is cccam, set the config, and then set your CCcam.cfg file to share as you want. CCam connects to oscam, and then can be set to reshare etc.

    Copy and paste the results here please.


    Also, go back and put the config settings in oscam from my earlier post. Once you've done that, you will be able to see if there are any entitlements showing, or ifthe reader is working correctly. Just copy and paste the settings I posted earlier in the thread.

    You will need to configure the oscam files before the card reader will read the card, and show you its entitlements.
    I changed my instructions on how to edit the files, go back a few pages, and do those again.

    Steve67474 has a point with his post. This is the bit that applies to you:


    Ubuntu way:


    Code:
    sudo apt-get install opensc pcscd libccid
    Next command:


    Code:
    nano /etc/opensc/opensc.conf
    And change these lines by removing # from in front of them, and editing the other lines.


    reader_drivers = pcsc, ctapi; (there are two instances of ctapi, edit the second one to look like this)


    try_emulation_first = yes; (I think this is just removing the hash #)


    lock_login = false; (this is set to true, change it to false as it is here)


    provider_library = /lib/libpcsclite.so.1 (this line needs editing to add /lib/ in front of it, just enter it as it is here)


    If that is done hit from keyboard ctrl+o and enter, then ctrl+x to exit


    Next give command:


    Code:
    opensc-tool ?list-readers
    And you should see your reader there present like so, but with your reader info. Examlpe:


    Readers known about:
    Nr. Driver Name
    0 pcsc Omnikey 1020


    How to disable pcscd never ending loggin to /var/log/messages what can write your /var partion full after some time.
    Please enter next commands under putty or over terminal command line as root:
    nano /etc/init.d/pcscd


    There look next lines:
    # if you need to pass arguments to pcscd you should edit the file
    # /etc/default/pcscd and add a line
    # DAEMON_ARGS=??your-option?


    And please change it to:
    # if you need to pass arguments to pcscd edit to:
    # /etc/default/pcscd and add a line
    DAEMON_ARGS="-e"
    And hit from the keyboard ctrl+o and enter to save the changes and ctrl+x to exit


    Next command to restart pcsc:
    Code:
    /etc/init.d/pcscd restart
    Done. No more log from pcsc except start up log if you restart the PC and if there is error


    It appears that your card is reading, as it is showing some entitlements. Do the stuff above, just to make sure it is doing it properly.


    Next question is, how are you trying to connect. What device have you entered the cline into (ie dreambox), and where is it located (ie on the bench next to the server, or in your mates house down the road on a different network).
    Have you allowed the port you set for cccam in the oscam.config settings through your router if you are trying to connect someone from a different address?

    Try these:


    oscam.conf


    oscam.user


    oscam.server


    You then give your mates a cline. In the example above, it would be:


    Code
    C: yourdydns.org 12345 testuser1 test1


    If you connect via the webif, you can simply cut and paste these settings into that. Just click"files" then the file you want to edit ie oscam.conf, paste it in, and hit save. Dont forget to replace ***uk in these settings with something of your choice (this site automatically removes the letter s and k and y when placed together ;) )
    If your omnikey reader is working, it will show "CARDOK" as its status.


    Hope this helps?