Install Open VPN client in Nokia N9 Harmattan

This post is inspired from https://12vpn.com/downloads/harmattan/

Enable Developer Mode In Phone from the seetings

ssh into the system with user@ipaddress

Add Repository

echo 'deb http://mirror.lxer.com/harmattan/home/rzr/var/cache/url/http/repo.pub.meego.com/home:/elleo/Harmattan/ ./'  > /etc/apt/sources.list.d/elleo.list
apt-get update

Install Open VPN

apt-get install openvpn

But when I tried to install, there is some problem with the openvpn package in this repository and i got a apt error. To fix this run

apt-get -f install

after that copy this file to your home folder of your phone ie: /home/user

https://www.dropbox.com/s/v7wmsl2tx2ziy4e/openvpn_2.1.3-3harmattan1_armel.deb

run

cd /home/user
dpkg -i openvpn_2.1.3-3harmattan1_armel.deb
apt-get -f install

Install Aegis OpenVPN

wget http://www.jlranta.com/stuff/openvpn_2.1.3-3harmattan1_armel_aegis.deb
dpkg -i openvpn_2.1.3-3harmattan1_armel_aegis.deb

Now you can start openvpn

/etc/init.d/openvpn start  
This should be done as user 

Icons for Stop and Restart OpenVPN

sudo apt-get install wget
cd /usr/share/icons/hicolor/64x64/apps/
wget http://findicons.com/files/icons/1676/primo/128/button_blue_stop.png
wget http://findicons.com/files/icons/1676/primo/128/button_blue_repeat.png

Now Create desktop entry

nano /usr/share/applications/openvpn-start.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=OpenVPN ON
Exec=/etc/init.d/openvpn restart
Icon=/usr/share/icons/hicolor/64×64/apps/button_blue_repeat.png
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
nano /usr/share/applications/openvpn-stop.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=OpenVPN OFF
Exec=/etc/init.d/openvpn stop
Icon=/usr/share/icons/hicolor/64×64/apps/button_blue_stop.png
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

Now copy your Configuration files and certificate files to /etc/openvpn

change user nobody to user user and delete group nogroup in openvpn .conf file

Now you can restart the OpenVPN client it will be connected

for log details

tail -f /var/log/syslog

Create a free website or blog at WordPress.com.

Up ↑