PDA

View Full Version : How to get working a cheap ID cardreader Omnikey o



me1960
27-09-09, 02:17
How to get working a cheap ID cardreader Omnikey or SCM with NewCs under linux

'' How to get ID cardreader Omnikey 1020, 3021, 3121 or SCM SCR3310 to work as sat smartcard reader with newcs.

1: A cheap USB identity cardreader Omnikey or SCM both works fine. I self have tested they. And they cost around 6.- to 9.- euro. But they are not working with other cams!

2:You need "pcsc" version of newcs. Exmple u have PC linux server, then you need newcs.i686.pcsc Download link: Index of /arsiv/cardsharing/newcs (http://www.freeproxy.ro/index.php?q=http%3A%2F%2Fwww.eurocardsharing.com%2Fredirect-to%2F%3Fredirect%3Dhttp%253A%252F%252Fwww.skystar.org%252Farsiv%252Fcardsharing%252Fnewcs%252F)

3: Next we need install drivers for these readers.
OpenSC install under Ubuntu/Debian

Fedora Core way:
su -
yum install opensc pcsc-lite ccid
chkconfig pcscd on
service pcscd start

Debian way:
apt-get install opensc pcscd libccid

Ubuntu way:
sudo apt-get install opensc pcscd libccid

Next command:
nano /etc/opensc/opensc.conf
And change thise lines by removing # from front and reader_drivers lines u delete one comand too:
reader_drivers = pcsc, ctapi;
try_emulation_first = yes;
lock_login = false;
If that is done hit from keyboard ctrl+o and enter, then ctrl+x to exit

Next give command:
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

4: Sample newcs.xml config:
<?xml version="1.0"?>
<newCSconfig>
<readers name="Omnikey">
<device>
<name>Omnikey</name>
<type>pcsc</type>
<mhz>368</mhz>
<node>pcci</node>
<parity>odd</parity>
<reset>normal</reset>
<export>Yes</export>
<enabled>Yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<blockC0>Yes</blockC0>
<carddetect>no</carddetect>
<newcamd_port>15050</newcamd_port>
<autosid>Yes</autosid>
<pincode>0000</pincode>
<priority>round</priority>
</device>
</readers>
<radegastserver>
<enabled>Yes</enabled>
<port>10001</port>
<allow>
<hostname>localhost</hostname>
</allow>
</radegastserver>
<cache>
<emm>20</emm>
<ecm>-1</ecm>
</cache>
<httpd>
<server>
<port>8080</port>
<enabled>yes</enabled>
</server>
<user>
<name>newcs</name>
<password>newcs</password>
<accesslevel>admin</accesslevel>
</user>
</httpd>
<debug>
<password>NewCSpwd</password>
<mode>simple</mode>
<level>internal</level>
<type>all</type>
<output>console,tcp</output>
<tcp_port>1001</tcp_port>
<tcp_options>normal,init</tcp_options>
</debug>
<newcamdserver>
<enabled>Yes</enabled>
<name>newcs</name>
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<user>
<name>dummy</name>
<password>dummy</password>
<au>on</au>
<sidoverride>off</sidoverride>
<spider>No</spider>
<cardlevel>1</cardlevel>
</user>
</newcamdserver>
<chameleon2>
<server>
<port>1234</port>
<enabled>yes</enabled>
<realm>myShares</realm>
</server>
<peer>
<hostname>remote</hostname>
<port>1234</port>
<name>myname</name>
<password>mypassword</password>
<realm>myShares</realm>
</peer>
<user>
<name>myname</name>
<password>mypassword</password>
<realm>myShares</realm>
</user>
</chameleon2>
</newCSconfig>

Note:
<node>pcci</node> you use if u have ID reader and smargo same time attached to same PC, then ID reader uses path pcci. Other way smargo does not work anymore!
<node>0</node> , <node>1</node> what usb port u use. If u have ID reader without a smargo attached. Yes u can add more as one ID reader to your system then just adjust correct usb node path to new reader. To determine correct new attached reader path use command:
lsusb

Example setting if in CCcam is smargo and in newcs is ID reader:
SERIAL READER : /dev/ttyUSB0 smartreader+
Then ID reader goes to usb2 and with
<node>pcci</node>
If u do so then your both readers as smargo in CCcam and ID reader in newcs come up.

ID readers can mostly overclock up to 9mhz same way as smargo or reciver internal reader. ''

tambuto
28-09-09, 01:17
hello
why do we need to insall opensc?
the reader works without it.
Are you sure you can clock the reader? if yes please tell us in wich way you do it
regards