pls i need help. i installed ubuntu automated with oscamccam with omnikey 3121. am having problem with my oscam, below is my log file. any help will be appreciated
2014/07/05 12:52:57 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build r9584 (x86_64-linux-gnu-libusb-pcsc)
2014/07/05 12:52:57 0 s creating pidfile /tmp/.oscam/oscam.pid with pid 2048
2014/07/05 12:52:57 0 s services reloaded: 0 services freed, 25 services loaded, rejected 0
2014/07/05 12:52:57 0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2014/07/05 12:52:57 0 s signal handling initialized
2014/07/05 12:52:57 0 s 887 service-id's loaded in 2ms
2014/07/05 12:52:57 0 s newcamd: initialized (fd=4, port=10000)
2014/07/05 12:52:57 0 s -> CAID: 0963 PROVID: 000000
2014/07/05 12:52:57 0 s uk [pcsc] creating thread for device 002:003
2014/07/05 12:52:57 0 s loadbalancer: can't read from file /tmp/.oscam/stat
2014/07/05 12:52:57 0 s waiting for local card init
2014/07/05 12:52:57 F02C60 r uk [pcsc] Wrong pcsc_reader index: 2
2014/07/05 12:52:57 F02C60 r uk [pcsc] Cannot open device: 002:003
2014/07/05 12:52:57 9C0008C0 h webif: decompressed 144321 bytes back into 353152 bytes
2014/07/05 12:52:57 9C0008C0 h HTTP Server running. ip=0.0.0.0 port=8888
2014/07/05 12:53:27 9C0008C0 h Reader uk restarted by WebIF from 192.168.1.31
2014/07/05 12:53:57 F02C60 r uk [pcsc] Wrong pcsc_reader index: 2
2014/07/05 12:53:57 F02C60 r uk [pcsc] Cannot open device: 002:003
2014/07/05 12:54:57 F02C60 r uk [pcsc] Wrong pcsc_reader index: 2
2014/07/05 12:54:57 F02C60 r uk [pcsc] Cannot open device: 002:003
2014/07/05 12:55:57 F02C60 r uk [pcsc] Wrong pcsc_reader index: 2
2014/07/05 12:55:57 F02C60 r uk [pcsc] Cannot open device: 002:003
2014/07/05 12:56:57 F02C60 r uk [pcsc] Wrong pcsc_reader index: 2
2014/07/05 12:56:57 F02C60 r uk [pcsc] Cannot open device: 002:003
2014/07/05 12:57:57 F02C60 r uk [pcsc] Wrong pcsc_reader index: 2
2014/07/05 12:57:57 F02C60 r uk [pcsc] Cannot open device: 002:003
2014/07/05 12:58:57 F02C60 r uk [pcsc] Wrong pcsc_reader index: 2
2014/07/05 12:58:57 F02C60 r uk [pcsc] Cannot open device: 002:003
2014/07/05 12:59:57 F02C60 r uk [pcsc] Wrong pcsc_reader index: 2
2014/07/05 12:59:57 F02C60 r uk [pcsc] Cannot open device: 002:003
2014/07/05 13:00:57 F02C60 r uk [pcsc] Wrong pcsc_reader index: 2
2014/07/05 13:00:57 F02C60 r uk [pcsc] Cannot open device: 002:003
2014/07/05 13:01:57 F02C60 r uk [pcsc] Wrong pcsc_reader index: 2
2014/07/05 13:01:57 F02C60 r uk [pcsc] Cannot open device: 002:003
[reader]
label = uk
description = ***uk
protocol = pcsc
device = 002:003
caid 0963
ecmwhitelist = blahh blahh
detect = cd
mhz = 480
cardmhz = 500
ident 0963:000000
group = 1
emmcache = 1,3,2
blockemm - unknown = 1
blockemm - g = 1
lb-weight = 101
Tutorial - Ubuntu Server 11.10, 12.xx, 13.04 x32/x64 - Auto Oscam/CCcam 2.1.3 Install
-
- Article
- thatfellow
- Thread is marked as Resolved.
-
-
try device 0 or 1 or 2 depending on how many readers u using instead of 002:003
-
-
i have installed this today with ubu13.04 runs well have 2 omni readers & works great until every 25mins or so oscam stops & wait 5mins will re init cards & great again till next time wat is causing this or how i fix?
many thnx -
Installed Oscam r9584 with this guide today on ubuntu and working well but trying to install my omni key reader and its having none of it,any ideas chaps please?
Followed the info here http://linuxsat-support.com/showthread.php?t=1712
Which seems to Fail installing on the steps
I see from the logs it shows
Reader-0 [pcsc] Cannot open device: -
omni just plugs in & works with this u just need oscam files set rite
-
will reinstall as i think I overlooked that and just went ahead and tried to install them from the link which may of made things worse
-
Quote
Installed Oscam r9584 with this guide today on ubuntu and working well but trying to install my omni key reader and its having none of it,any ideas chaps please?
Followed the info here http://linuxsat-support.com/showthread.php?t=1712
Which seems to Fail installing on the steps
I see from the logs it shows
Reader-0 [pcsc] Cannot open device:As mentioned above no need to follow above tutorial (It is based on older drivers & is obsolete with latest drivers) all the required omnikey tools & packages are installed with script..
Post your oscam.server
& also post results of running pcsc scan from terminal so we can confirm that your omnikey is connected & recognised by system:Quotewill reinstall as i think I overlooked that and just went ahead and tried to install them from the link which may of made things worse
Reinstall from script will be messy, all the crontab stuff will be doubled up as well as a few other issues..
This script is best suited for fresh OS install unless you are prepared to clean up yourself afterwards..
I think a lot of the problems posted are down to the fact that people are running script 2-3 times..
I will make a clean-up script to undo previous install and post it later..You could also try to completely remove & reinstall all pcsc drivers
Log in as root user
Then reboot system
Then reinstall whats necessaryCodeapt-get update apt-get install libssl-dev libpcsclite1 libpcsclite-dev apt-get install pcscd pcsc-tools
TF
-
As mentioned above no need to follow above tutorial (It is based on older drivers & is obsolete with latest drivers) all the required omnikey tools & packages are installed with script..
Post your oscam.server
& also post results of running pcsc scan from terminal so we can confirm that your omnikey is connected & recognised by system:Reinstall from script will be messy, all the crontab stuff will be doubled up as well as a few other issues..
This script is best suited for fresh OS install unless you are prepared to clean up yourself afterwards..
I think a lot of the problems posted are down to the fact that people are running script 2-3 times..
I will make a clean-up script to undo previous install and post it later..TF
Thanks for taking the time to help,Ok I think this is the info needed
# oscam.server generated automatically by Streamboard OSCAM 1.20-unstable_svn SVN r9584
# Read more: http://www.streamboard.tv/svn/…/doc/txt/oscam.server.txt[reader]
label = s*yuk
description = Omnikey Reader
protocol = pcsc
device = 2
caid = 0963
detect = cd
mhz = 365
cardmhz = 365
ident = 0963:000000
group = 1,2,3
emmcache = 1,3,2
blockemm-unknown = 1
blockemm-g = 1
lb_weight = 101When i ran the scan command it was not installed so tried to install with given command and this is result
root@ubuntubig:~# pcsc_scan
The program 'pcsc_scan' is currently not installed. You can install it by typing:
apt-get install pcsc-tools
root@ubuntubig:~# apt-get install pcsc-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pcsc-tools
root@ubuntubig:~#
root@ubuntubig:~# root@ubuntubig:~# pcsc_scan
The program 'pcsc_scan' is currently not installed. You can install it by typing:
apt-get install pcsc-tools
root@ubuntubig:~# apt-get install pcsc-tools
Reading package lists... Done
Building dependency treeand not sure if this helps when scanning the usb on oscam under Readers I get this info
USB Devices
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
iProduct 2 EHCI Host Controller
iSerial 1 0000:00:02.1
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
iProduct 2 OHCI Host Controller
iSerial 1 0000:00:02.0
Bus 002 Device 002: ID 076b:3021 OmniKey AG CardMan 3121
iProduct 2 Smart Card Reader USB
iSerial 0
Bus 002 Device 003: ID 0000:0000
iProduct 2 SE USB Device
iSerial 3 60033D808D42F2
Reading state information... Done
E: Unable to locate package pcsc-tools -
try device = 0
not 2 -
try device = 0
not 2thank you tried that but still same after rebooting
2014/07/08 16:25:07 8D3A710 h HTTP Server running. ip=0.0.0.0 port=8888
2014/07/08 16:25:12 B7300588 r ***uk [pcsc] PCSC failed establish context (8010001d)
2014/07/08 16:25:12 B7300588 r ***uk [pcsc] Cannot open device: 0 -
Read post #308 Above, uninstall & reinstall pcsc drivers & tools
Then post results of pcsc_scanQuoteYou could also try to completely remove & reinstall all pcsc drivers
Log in as root user
Then reboot system
Then reinstall whats necessary -
Read post #308 Above, uninstall & reinstall pcsc drivers & tools
Then post results of pcsc_scanNot really sure where I have gone amiss but this results in this msg
root@ubuntubig:~# apt-get update
E: Type 'http://webmin.mirror.somersettechsolutions.co.uk/repository' is not known on line 66 in source list /etc/apt/sources.list
E: The list of sources could not be read.
root@ubuntubig:~# apt-get install libssl-dev libpcsclite1 libpcsclite-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libpcsclite-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another sourceE: Unable to locate package libssl-dev
E: Package 'libpcsclite-dev' has no installation candidate
root@ubuntubig:~# apt-get install pcscd pcsc-tools -
Did you first uninstall all the packages as requested above?
Is this a modified light ubuntu or normal ubuntu server?
You seem to have added repositorys to /etc/apt/sources.listYou have still not posted result of:
Can you also tell us the version & release of Ubuntu so I can test?
e.g. Ubuntu Server 12.04 LTS (x64) -
Did you first uninstall all the packages as requested above?
Is this a modified light ubuntu or normal ubuntu server?
You seem to have added repositorys to /etc/apt/sources.listYou have still not posted result of:
Can you also tell us the version & release of Ubuntu so I can test?
e.g. Ubuntu Server 12.04 LTS (x64)thank you for reply again,Ive just installed a new Version of ubuntu which is 13.04 and followed the Tut guide again and all now seems well I had missed some steps before by mistake or the version of ubuntu was just not happy with the commands used.
Now Its allowing me to login to oscam with default info I am wanting to set up the card reader again and can see this info showing
Bus 002 Device 002: ID 413c:3200 Dell Computer Corp. Mouse
iProduct 2 Dell USB Mouse
iSerial 0
Bus 002 Device 003: ID 076b:3021 OmniKey AG CardMan 3121
iProduct 2 Smart Card Reader USB
iSerial 0
Bus 002 Device 004: ID 0000:0000
iProduct 2 SE USB Device
iSerial 3 60033D808D42F2
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
iProduct 2 EHCI Host Controller
iSerial 1 0000:00:02.1
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
iProduct 2 OHCI Host Controller
iSerial 1 0000:00:02.0Would you be able to explain how to add the reader with correct configs please
-
now all sorted many thanks for the Guides and help guys.
Feels good to learn even more -
Hello. I have a small but very big problem with this script. I install to my pc ubuntu 12.04.0 LTS 64bit to this virgin os I installed this automated oscam/cccam app. The installation ran without any problem
and after reboot my computer. My big problem this script or app change something in the users login and the user password too, because after reboot ubuntu appear login page but my password which I
set under ubuntu installation is not working (I know 100% my pass but is not work) I try to login as guest but also cannot, so now I have an unuseful machine with login page.... Anyone have same experience or
solution why change my pass this app or what/why changed my login settings and pass this app ???
This is strange because in the login page if I type my pass ubuntu not say "wrong password" only the screen goes black for few seconds and ubuntu drop back again to the login page, same situation if i try to login
as guest.... -
You can open the script up in an editor like notepad++, there is nothing in the script to change passwords.
This script has been tested countless times with 12.04 LTS x64/x32
EDIT: Re-testing on 12.04 LTS x64, I will report back asapEDIT 2: Script ran smoothly and no problems logging in as original user.
Are you using Ubunty Server or Ubuntu Desktop?
-
Hello I use desktop 12.04.0 LTS 64 bit not sever because I have problem server or 13.04 or 14.04 on my machine(shuttle XS36VL) really slow windows moving. I had to reinstalled ubuntu I try it again and again same problem. I also tried change CCcamOscamInstall.sh the OWNER=...... line change to OWNER=root but same problem when I install script I need to "sudo -i" or not need as "root user" I also try to do this but I really disappointed to reinstal buntu again 4th time I think I give
up, I found on the net another auto file (Multics cccam-oscam Ubuntu x32-x64.zip) I try to do with that... :( -
Thanks for great tutorial, one question from me, my oscam always auto restart every day at 6-7 am, how to change this time? thanks for your answer
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!