Setting up the Belgian EID on Ubuntu 12.4

Setting up the Belgian EID under Ubuntu 12.4 has changed quite a bit from previous releases.
Steps to activate the Belgian EID:
  • install the basic smartcard drivers:
    sudo apt-get install gdebi-core libacr38u libccid  
  • download the middleware & viewer packages from http://eid.belgium.be/nl/je_eid_gebruiken/de_eid-middleware_installeren/linux/
  • install the downloaded packages
    • sudo gdebi ~/Downloads/eid-mw_4.0.4r1253_amd64_tcm227-178472.deb
    • sudo gdebi ~/Downloads/eid-viewer_4.0.4r146_amd64_tcm227-178482.deb
  • modify firefox settings.
    • Enter about:config in the url bar. Modify the security.ssl.renego_unrestricted_hosts key intofas.services.belgium.be.
    • go to Edit / Preferences / Advanced / Encryption
      • modify the Belgium CA2 certificate: enable the 3 options
  • restart the smartcard daemon:
    sudo /etc/init.d/pcscd restart 
  • restart firefox
You can test the basic setup by running eid-viewer.