Advertisement
Guest User

Untitled

a guest
Oct 17th, 2011
5,494
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.34 KB | None | 0 0
  1. Setup Dell Latitude E6510 - Broadcom 5880 SmartCard - in Linux (Ubuntu)
  2.  
  3. 1) Verify you have a Broadcom 5880 SmartCard usb installed.
  4. sudo lsusb -v | less
  5. Verify:
  6. Bus ### Device ###: ID 0a5c:5800 Broadcom Corp. BCM5880
  7. idManufacturer 1 Broadcom Corp
  8. idProduct 2 5880
  9.  
  10. 2) Install the following:
  11. yum install coolkey pcscd pcsc-tools opensc openct
  12.  
  13.  
  14. 3) Download the following CCID Driver:
  15. https://alioth.debian.org/frs/?group_id=30105&release_id=1540 (latest version)
  16.  
  17. 4) skip........
  18.  
  19. 5) Edit the following file:
  20. sudo gedit /lib/udev/rules.d/60-openct.rules
  21. ** the file might be in /etc/udev/rules.d/z60_openct.rules
  22.  
  23. 6) Search for =="usb". If it is found, then append the following line after it:
  24. # Broadcom 5880
  25. ENV{MODALIAS}=="usb:v0A5Cp5800*", RUN+="/lib/udev/openct_usb"
  26.  
  27. If it is not found, then append the following at the end of the file:
  28. SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0644"
  29. # Broadcom 5880
  30. ENV{MODALIAS}=="usb:v0A5Cp5800*", RUN+="/lib/udev/openct_usb"
  31.  
  32. 7) Save and exit.
  33.  
  34. 8) Edit the following file:
  35. sudo gedit /etc/openct.conf
  36.  
  37. 9) Search for ccid {. Once found, go to the end of the usb:###x... list and add the following:
  38. usb:0a5c:5801, # Broadcom 5880 Smartcard
  39.  
  40. 10) Save and exit.
  41.  
  42. 11) Type the following:
  43. sudo /etc/init.d/openct restart
  44.  
  45. 12) Insert the CAC now.
  46.  
  47. 13) To verify your card is being read correctly, type the following:
  48. sudo openct-tool atr
  49. ** If successful, the output should read something like:
  50. Detected CCID Compatible
  51. Card present, status changed
  52. ATR: ......
  53.  
  54. 14) To setup PCSC correctly, edit the following file:
  55. sudo gedit /etc/reader.conf.d/openct
  56.  
  57. 15) Verify the following file has uncommented:
  58. FRIENDLYNAME "OpenCT"
  59. DEVICENAME /dev/null
  60. LIBPATH /usr/lib/openct-ifd.so
  61. CHANNELID 0
  62.  
  63. 16) Save and exit.
  64.  
  65. 17) Type the following:
  66. sudo update-reader.conf
  67.  
  68. 18) To verify the correct reader settings, type:
  69. sudo gedit /etc/reader.conf
  70. ** Verify only the following are uncommented (without a leading #):
  71. FRIENDLYNAME "OpenCT"
  72. DEVICENAME /dev/null
  73. LIBPATH /usr/lib/openct-ifd.so
  74. CHANNELID 0
  75. 19) Save and exit.
  76.  
  77. 20) In the terminal type:
  78. which pcscd
  79. ** Remember the result
  80.  
  81. 21) Edit the following file:
  82. sudo vim /etc/init.d/pcscd
  83.  
  84. 22) Go to the line which states:
  85. DAEMON="..."
  86. ... and change it to ...
  87. DAEMON="xxx" ... where xxx = result from previous step
  88.  
  89. 23) Go to the line which states:
  90. DAEMON_ARGS="..." ... it may read as #DAEMON_ARGS="..."
  91. ... and change it to ...
  92. DAEMON_ARGS="-d -a"
  93.  
  94. 24) Save and exit.
  95.  
  96. 25) Restart PCSC by typing the following:
  97. sudo /etc/init.d/pcscd restart
  98.  
  99. 26) To verify CAC is setup correctly, remove CAC from system.
  100.  
  101. 27) Type the following:
  102. pcsc_scan
  103.  
  104. 28) Insert CAC into system.
  105. ** If correctly set, then pcsc_scan should pick up the CAC and output bytes and data to the screen.
  106.  
  107. 29) Press Ctrl+C to exit pcsc_scan.
  108.  
  109. 30) Open Firefox.
  110.  
  111. 31) In Firefox, select Edit -> Preferences.
  112.  
  113. 32) Click the Advanced icon.
  114.  
  115. 33) Select the Encryption tab.
  116.  
  117. 34) Click Security Devices.
  118.  
  119. 35) Click Load.
  120.  
  121. 36) Enter the following for the Load module:
  122. Module Name: CAC Module
  123. Module filename: /usr/lib/pkcs11/libcoolkeypk11.so
  124.  
  125. 37) Click OK.
  126.  
  127. 38) Device Manager window should update with your CAC information.
  128.  
  129. 39) To test your CAC is setup correctly, in Firefox, navigation to the following URL:
  130. https://teamware.dt.navy.mil/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement