Hi
I wasn’t able to update the firmware hence couldn’t get the reader number. However i did manage to get Oscam to recognise the card reader and card via:
device = 002:004
which i got from code:
lsusb
I know this changes each time the computer switches off but it’s something i’m willing to live with for now.
However, I still have bugs:
1. The CCcam server doesn’t recognise the card reader. Here is the CCcam.cfg info
SERVER LISTEN PORT : 12000
ALLOW TELNETINFO: yes
ALLOW WEBINFO: yes
WEBINFO USERNAME : **my user name**
WEBINFO PASSWORD : ** my password**
TELNETINFO USERNAME : **my user name**
TELNETINFO PASSWORD : ** my password**
TELNETINFO LISTEN PORT : 16000
WEBINFO LISTEN PORT : 16001
ZAP OSD TIME :0
OSD USERNAME :root
OSD PASSWORD :dreambox
OSD PORT :80
SHOW TIMING : yes
DEBUG : no
NEWCAMD CONF : no
SHOW EXTENEDED CLIENT INFO : yes
MINI OSD : no
CHANNELINFO FILE : /var/etc/CCcam.channelinfo
PROVIDERINFO FILE : /var/etc/CCcam.providers
CAID PRIO FILE : /var/etc/CCcam.prio
LOG WARNINGS : /tmp/warnings.txt
SOFTKEY FILE : /var/keys/SoftCam.Key
AUTOROLL FILE : /var/keys/AutoRoll.Key
#STATIC CW FILE : /var/keys/constant.cw
#BOXKEY:
SMARTCARD CLOCK FREQUENCY: /dev/ttyUSB2 4800000
SERIAL READER : /dev/ttyUSB0 smartreader+
SERIAL READER : /dev/ttyUSB1 smartreader+
SERIAL READER : /dev/ttyUSB2 smartreader+
SERIAL READER : /dev/ttyUSB3 smartreader+
SERIAL READER : /dev/ttyUSB4 smartreader+
SERIAL READER : /dev/ttyUSB5 smartreader+
N: **my server ip** 10000 user1 pass1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
N: **my server ip** 10000 user2 pass2 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
2. When I add the C/F line details in the ***box f5 under:
a. MGCamd Plug Setup
i. Manage Config Files
1. Newcamd.list
The OSCAM (1.20-unstable_svn build r8662) does recognise it but only for a shortwhile here is the code it produces:
2013/05/27 17:24:19 0 --- Skipped 7 duplicated log lines ---
2013/05/27 17:24:19 0 s [OSCAM] new event 1 occurred on fd 3 after 410 ms inactivity
2013/05/27 17:24:19 0 s start client thread action 26
2013/05/27 17:24:19 2372650 c data from add_job action=26 client c anonymous
2013/05/27 17:24:19 2372650 c client connected to 10000 port
2013/05/27 17:24:19 2372650 c nmr(): len=2, errno=0
2013/05/27 17:24:19 2372650 c nmr: autodetect: newcamd525 used
2013/05/27 17:24:19 2372650 c received 46 bytes from client
2013/05/27 17:24:19 2372650 00 00 E0 00 29 75 73 65 72 31 00 24 31 24 61 62
2013/05/27 17:24:19 2372650 63 64 65 66 67 68 24 6D 30 71 31 61 51 42 6B 73
2013/05/27 17:24:19 2372650 74 78 58 6E 66 4F 34 4D 37 47 77 65 30 00
2013/05/27 17:24:19 2372650 c account->usr=user1
2013/05/27 17:24:19 2372650 c account->pwd=$1$abcdefgh$m0q1aQBkstxXnfO4M7Gwe0
2013/05/27 17:24:19 2372650 c encrypted newcamd:10000-client 192.168.1.82 granted (user1, au=on (1 reader))
2013/05/27 17:24:19 2372650 c user user1 authenticated successfully (generic)
2013/05/27 17:24:19 2372650 c ***UK [videoguard2] EMM: caid 0963 has no provider
2013/05/27 17:24:19 2372650 c AU enabled for user user1 on reader ***UK
2013/05/27 17:24:19 2372650 c send 15 bytes to client
2013/05/27 17:24:19 2372650 00 0D 00 01 00 00 00 00 00 00 00 00 E1 00 00
2013/05/27 17:24:19 2372650 c nmr(): len=2, errno=0
2013/05/27 17:24:19 2372650 c received 5 bytes from client
2013/05/27 17:24:19 2372650 00 00 E3 00 00
2013/05/27 17:24:19 2372650 c client[7F371A856700].user1 nfilts=0, filt.caid=0963
2013/05/27 17:24:19 2372650 c newcamd: has cd
2013/05/27 17:24:19 2372650 c send 38 bytes to client
2013/05/27 17:24:19 2372650 00 24 00 00 00 04 00 00 00 00 00 00 E4 00 17 01
2013/05/27 17:24:19 2372650 09 63 00 00 00 00 02 DF 10 5D 01 00 00 00 00 00
2013/05/27 17:24:19 2372650 00 00 02 DF 10 00
2013/05/27 17:24:19 236C700 r ***UK [videoguard2] cardreader_do_checkhealth: reader->card_status = 2, ret = 1
2013/05/27 17:24:20 0 --- Skipped 1 duplicated log lines ---
2013/05/27 17:24:20 140008C0 h WebIf: Received stale header from **my IP** (nonce=bdb88f0e5310b7f27a57b80c9790cf23, expectednonce=ed2637ab643fbab9ec63c3528b6b0a2e, opaque=f470b7456c14d919a616c6cccb07bd62).
2013/05/27 17:24:20 140008C0 h WebIf: Origin checked. Result: access from **my IP** => allowed
2013/05/27 17:24:21 0 --- Skipped 1 duplicated log lines ---
2013/05/27 17:24:21 236C700 r ***UK [videoguard2] cardreader_do_checkhealth: reader->card_status = 2, ret = 1
And then it automatically kills the client:
2013/05/27 17:26:22 2372650 c add client job action 27 queue length 1 user1
2013/05/27 17:26:22 2372650 c user user1 reached 120 sec idle limit.
2013/05/27 17:26:22 2372650 c ending thread (kill)
Really confused now
Thank you
