Convert HEIC files to JPG on Ubuntu

Apple uses High Efficiency Image File Format for Photo’s and this in photo’s with the .HEIC extension. you can easily convert this on Ubuntu using;

sudo apt-get install libheif-examples

for photo in *.HEIC; do heif-convert $photo ${photo/%.HEIC/.jpg}; done

Alternatively you could disable the HEIF format on your iPhone under Settings > Camera;

LPI Linux Essentials

Yes, I got my LPI Linux Essentials certification!

As a network engineer I’m on Linux systems on a daily basis and therefor I think it is important to have basic skills of Linux as well.

On the the event I got the chance to subscribe for an paper basis exam for any of the LPI certifications. Since this certification track was new for me I started with the very basics, LPI Linux Essentials, also known as LPI-010.

If you subscribe for paper basis Linux exams via the LPI events, you can save some money as well. The LPI event exams are about 50% cheaper then the normal exams which are computer based at Pearson VUE Test centers. The only disadvantage of the paper basis exams is that you don’t have an immediate result. It normally takes about 3-4 weeks, in my case this was only 17 days.

Here you can find a nice Free Linux Essentials Training Manual I used for my exam preparations.

Installing Nortel VPNC on Ubuntu

I’m running Ubuntu 12.04.1 wheezy/sid and I needed a way to connect to the office Nortel VPN server. On a Windows machine you normally use Nortel Contivity Client. But this is not available for Linux. There is a nortel branch available of vpnc which you can find here.

The first step is to install svn-buildpackage, use the command below for this. There some extra packages coming with this install, but this is OK.

apt-get install svn-buildpackage

Now you can do a check-out on the SVN repository:

svn co -r517

This downloads the files in a new directory (vpnc-nortel) in the location you are at this moment.

Now it is time to install the vpnc client. go to the vpnc-nortel directory you just downloaded and perform the command:


This should make the compile the files for your OS, but the first time this failed form me with the error message:

root@ubuntu:~/vpnc-nortel# make
Package gnutls was not found in the pkg-config search path.
Perhaps you should add the directory containing `gnutls.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gnutls' found

To solve this issue you should first install libgnutls-dev:

apt-get install libgnutls-dev

Then you can try again:

make install

The make install should give an output like this:

root@ubuntu:~/vpnc-nortel# make install
install -d /etc/vpnc /usr/local/bin /usr/local/sbin /usr/local/share/man/man1 /usr/local/share/man/man8 /usr/local/share/doc/vpnc
if [ "`uname -s | cut -c-6`" = "CYGWIN" ]; then \
		install vpnc-script-win /etc/vpnc/vpnc-script; \
		install vpnc-script-win.js /etc/vpnc; \
	else \
		install vpnc-script /etc/vpnc; \
install -m600 vpnc.conf /etc/vpnc/default.conf
install -m755 vpnc-disconnect /usr/local/sbin
install -m755 pcf2vpnc /usr/local/bin
install -m644 vpnc.8 /usr/local/share/man/man8
install -m644 pcf2vpnc.1 /usr/local/share/man/man1
install -m644 cisco-decrypt.1 /usr/local/share/man/man1
install -m644 COPYING /usr/local/share/doc/vpnc
install -m755 vpnc /usr/local/sbin
install -m755 cisco-decrypt /usr/local/bin

The last thing to do is to edit the configuration file to the settings of your company. In my case this configuration file (/etc/vpnc/default.conf) looks like:

IPSec gateway 
IPSec secret 
Xauth username 
Vendor nortel
IKE Authmode gpassword
Enable Single DES
IKE DH Group dh1

Now your ready!
To start vpnc perfrom:


en to stop vpnc: