|
您的WebATM使用小幫手
- 在Linux上使用玉山WebATM服務的基本需求?
1.Linux 作業系統:Ubuntu 8.04 以上版本之 32/64 bits Linux 作業系統。
2.瀏覽器:Mozilla Firefox 3.0 以上版本。
3.讀卡機:有提供Linux 讀卡機驅動程式之PC/SC IC 讀卡機
或CCID相容的讀卡機。
4.需先安裝pcscd 套件,並確認已正常啟動。
5.讀卡機驅動程式需預先安裝好,並且用 pcsc_scan 指令確認讀卡機運作正常。
6.安裝玉山銀行Linux專用版 WebATM plugin。
TOP
- 如何安裝 pcscd 套件?
1.使用Synaptic套件管理程式
以 pcsc 關鍵字搜尋(ubuntu 9.04請用 pc/sc 關鍵字),選取如圖的 libccid、libpcsc-perl、pcscd、pcsc-tools四個套件,然後按下[套用]安裝即可。
2.使用終端機,分別輸入以下的指令
>sudo apt-get install pcscd
>sudo apt-get install libpcsc-perl
>sudo apt-get install pcsc-tools
>sudo apt-get install libccid
TOP
- 如何啟動 pcscd 服務?
正常來講 pcscd 服務會隨著電腦開機時一起啟動,但如果你是自行編譯 pcsclite套件的,可能不會自動執行,要手動執行。
>sudo /etc/init.d/pcscd restart
* Restarting PCSC Lite resource manager pcscd [ OK ]
如果你的電腦內沒有 /etc/init.d/pcscd 這個 shell script,請直接執行 pcscd 這個程式。
>pcscd -h
Usage: pcscd options
Options:
-a, --apdu log APDU commands and results
-c, --config path to reader.conf
-f, --foreground run in foreground (no daemon),
send logs to stderr instead of syslog
-h, --help display usage information
-H, --hotplug ask the daemon to rescan the available readers
-v, --version display the program version number
-d, --debug display lower level debug messages
--info display info level debug messages (default level)
-e --error display error level debug messages
-C --critical display critical only level debug messages
--force-reader-polling ignore the IFD_GENERATE_HOTPLUG reader capability
你可以加上 -f 參數,來看看啟動是否正常。
>sudo pcscd -f
00000000 pcscdaemon.c:295:main() pcscd set to foreground with debug send
to stderr
00047507 pcscdaemon.c:513:main() pcsc-lite 1.4.99 daemon ready.
00841909 hotplug_libusb.c:402:HPEstablishUSBNotifications() Driver
ezusb.bundle does not support IFD_GENERATE_HOTPLUG. Using active polling
instead.
00000514 hotplug_libusb.c:411:HPEstablishUSBNotifications() Polling
forced every 1 second(s)
45305261 hotplug_libusb.c:478:HPAddHotPluggable() Adding USB device:
002:003
00000250 readerfactory.c:1116:RFInitializeReader() Attempting startup of
CASTLES EZ100PU 00 00 using /usr/lib/pcsc/drivers/ezusb.bundle/Contents/Linux/ezusb.so
00000752 readerfactory.c:983:RFBindFunctions() Loading IFD Handler 3.0
TOP
- 如何確認讀卡機是否可正常運作?
請將讀卡機插入電腦並於終端機輸入 pcsc_scan 指令,如果所需的pcscd服務已經啟動,讀卡機驅動程式也正確安裝,將出現類似下面的畫面。
>pcsc_scan
PC/SC device scanner
V 1.4.14 (c) 2001-2008, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.4.99
Scanning present readers
0: CASTLES EZ100PU 00 00
Fri Jun 19 15:49:51 2009
Reader 0: CASTLES EZ100PU 00 00
Card state: Card removed,
Fri Jun 19 15:50:22 2009
Reader 0: CASTLES EZ100PU 00 00
Card state: Card inserted,
ATR: 3B F7 11 00 00 81 71 FE 42 00 00 63 95 01 01 90 00 CC
TOP
TOP
- 如何確認WebATM plug-in 已經安裝成功?
請於firefox的網址列輸入 about:plugins 即可(如下圖)。
TOP
若您尚有其他使用問題∼
請直接至本行訪客留言版留言,將有專人為您解答。
|