-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathbelgium-eid-card-reader.txt
33 lines (33 loc) · 2.16 KB
/
belgium-eid-card-reader.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Supported CCID readers: http://pcsclite.alioth.debian.org/ccid/section.html
# bash shell script
# Prerequisites: Ubuntu 16.04.2 LTS 64-bit or newer (LiveUSB session
# or installed on HD/SSD), newest version of Mozilla Firefox
# (version 54.0 or newer), Ubuntu packages in bash shell script below
# install prerequisites for compiling eid-mw from Github
sudo rm /etc/apt/sources.list.d/eid.list
sudo touch /etc/apt/sources.list.d/eid.list
sudo sh -c 'echo "deb http://files.eid.belgium.be/debian xenial main" >> /etc/apt/sources.list.d/eid.list'
sudo sh -c 'echo "deb http://files2.eid.belgium.be/debian xenial main" >> /etc/apt/sources.list.d/eid.list'
cd
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 63F7D4AFF6D61D45 A35743EA6773D225 F9FDA6BED73CDC22 3B4FE6ACC0B21F32 4E940D7FDD7FB8CC A040830F7FAC5991 16126D3A3E5C1192
sudo DEBIAN_FRONTEND=noninteractive add-apt-repository --yes ppa:gertvdijk/opensc-backports
sudo DEBIAN_FRONTEND=noninteractive apt --yes --force-yes remove --purge beid*
sudo DEBIAN_FRONTEND=noninteractive apt update
sudo DEBIAN_FRONTEND=noninteractive apt install aptitude
sudo aptitude install usbutils pciutils eid-mw eid-viewer apt firefox pcscd default-jre opensc libacr38u libacr38ucontrol0 libacsccid1 libccid libusb-1.0-0 libpcsclite1 libpcsclite-dev pcsc-tools ca-certificates libtool autoconf automake checkinstall git libgtk-3-dev libxml++2.6-dev libproxy-dev openssl libssl-dev libcurl4-openssl-dev
sudo update-pciids
sudo update-usbids
# compile and install newest version of eid-mw using Github
cd
sudo rm -rf eid-mw
git clone https://github.com/Fedict/eid-mw.git
cd eid-mw/
autoreconf -i
./configure
make
sudo checkinstall
# press 2 and change eid package name to eid-mw and hit ENTER key
# press 3 and change version to 4.2.10 and hit ENTER key
# Ensure that there are absolutely NO add-on EXTENSIONS installed in the Mozilla Firefox webbrowser
# The add-on PLUGINS like Citrix Receiver for Linux,OpenH264 and Shockwave Flash plugins can remain active in Mozilla Firefox, as they do not seem to interfere with the eid card reader.
# Close all web browser windows. Restart Mozilla Firefox browser and test eid card reader.