DCFM Installation Guide (53-1001817-01, July 2010)
DCFM Installation Guide 29 of 32
53-1001817-01
Smart Card driver installation
5. Create a soft link into the system directory. This is to support the automatic restart of the pcscd daemon upon
system restart.
If you installed the pcsc directory into the /opt directory, just create the soft link. Otherwise, use the name of the
new directory in place of /opt.
solaris> ln –s /opt/pcsc/pcscctl /etc/rc2.d/S94pcsc
or
S.u.s.e> ln –s /opt/pcsc/pcscctl /etc/init.d/pcscd
S.u.s.e> chkconfig --add pcscd
or
redhat> ln –s /opt/pcsc/pcscctl /etc/init.d/pcscd
redhat> chkconfig --add pcscd
NOTE
Before you enter chkconfig --add pcscd, you can enter chkconfig –list | grep pcscd to verify that the pcscd
file is already on the list. If it already exists, you do not need to enter chkconfig –add pcscd. After you reboot
the system, you should expect the following links under /etc/rc2.d, /etc/rc3.d, /etc/rc3.d, /etc/rc4.d, and
/etc/rc5.d.
lrwxrwxrwx 1 root root 15 Jul 28 01:50 S94pcscd -> ../init.d/pcscd
NOTE
For some Linux vendors, the Smart Card driver may come with the operating system. In this case, extra
system configuration may be needed.
6. Start the pcscd daemon or stop the pcscd daemon.
To start pcscd, type:
> /opt/pcsc/pcscctl start
To stop pcscd, type:
> /opt/pcsc/pcscctl stop
Installing the Smart Card driver on the remote client
1. Complete steps 1 through 4 in “Installing the Smart Card driver on the local client” on page 28.
2. Run the following commands to support remote clients (Web Start).
> cd /usr/lib
> ln –s /opt/pcsc/lib/libpcsclite.so .
NOTE
If a soft link exists on libpcsclite.so, you must ensure that the final file is linked to
/opt/pcsc/lib/libpcsclite.so.xxx. You can back up the original one first.
> ls –l libpcsc*
lrwxrwxrwx 1 root root 20 Aug 4 16:16 libpcsclite.so ->
libpcsclite.so.1.0.0
lrwxrwxrwx 1 root root 20 Jun 4 12:30 libpcsclite.so.1 ->
libpcsclite.so.1.0.0
lrwxrwxrwx 1 root root 34 Aug 5 14:36 libpcsclite.so.1.0.0