You need to change the range of ip addresses allowed to connect. The range I've entered in red, allows every ip address.
Posts by philthy
-
-
EPG wise m8 i would recommend openj pli 2.1 really good. For sim version you will have to look on dm when arrives and same as CCcam
version 2.1
24th September 2012?
No improvements in 6 months? -
Tanks hit ;)
I presume the sim version and CCcam version are displayed in the webif then?
-
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.
-
Keep trying, and let us know how you get on?
-
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.
-
Hi phility, done the "-e" bit as well
rangers19873 pointed out about
provider_library = /lib/libpcsclite.so.1 (this line needs editing to add /lib/ in front of it
but looking there is no such place, What did you do here??
this is my configs for pcsc.
device = 0
device = /dev/ttyUSB0
device = 002:003
for 1st device what about 2nd, i am doing
protocol = pcsc
device = 0 (1st)protocol = pcsc
device = 1 (2nd)
any help welcome and ta for the info m8..This line:
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:
Code
Display More[reader] label = ***uk protocol = pcsc device = 0 caid = 0963 detect = cd mhz = 357 cardmhz = 357 ident = 0963:000000 group = 1 emmcache = 1,3,2 blockemm-unknown = 1 blockemm-g = 1 lb_weight = 101 [reader] label = Omni2 protocol = pcsc device = 1 caid = 0500 detect = cd mhz = 357 cardmhz = 357 ident = 0500:000000 group = 2 emmcache = 1,3,2 blockemm-unknown = 1 blockemm-g = 1 lb_weight = 101
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 fileCode
Display MorePlease 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
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:003For 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:Code2013/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. -
Time for me to bow out to the expertise of others, I didn't get that far.
Oh, by the way, open terminal, and run pcsc_scan. You can put the card in and out while it's running.
-
Nice one.
85 mS is a good read time as well.
Now you're up and running, have a poke around in the various functions of the oscam webif, there is some useful data in there.
-
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. -
You do realise, that is the 64bit install?
-
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 1020How 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/pcscdThere 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 exitNext 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 errorIt 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
Code
Display More[global] logfile = /var/local/oscam.log cachedelay = 60 nice = -1 maxlogsize = 500 preferlocalcards = 1 saveinithistory = 1 readerrestartseconds = 4 lb_mode = 10 lb_savepath = /var/local/loadbalance.log [cccam] port = 12345 #or whatever you want to set the port as reshare = 2 version = 2.1.3 [webif] httpport = 8888 httpuser = admin httppwd = admin httpallowed = 127.0.0.1,1.1.1.1-192.168.254.254
oscam.user
Code
Display More[account] user = testuser1 pwd = test1 group = 1 uniq = 2 monlevel = 1 au = ***uk caid = 0963 ident = 0963:000000 [account] user = testuser2 pwd = test2 group = 1 au = ***uk cccmaxhops = 2 cccreshare = 0 [account] user = testuser3 pwd = test3 group = 1 au = ***uk cccmaxhops = 2
oscam.server
Code
Display More[reader] label = ***uk protocol = pcsc device = /dev/ttyUSB0 caid = 0963 boxkey = XXXXXX #whatever your boxkey is, although oscam doesn't appear to need this? detect = cd mhz = 357 cardmhz = 357 ident = 0963:000000 group = 1 emmcache = 1,3,2 blockemm-u = 0 blockemm-s = 0 blockemm-unknown = 1 blockemm-g = 1 saveemm-u = 1 saveemm-s = 1 lb_weight = 101
You then give your mates a cline. In the example above, it would be:
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?