![]() |
2014-01-17
, 23:31
|
|
Posts: 60 |
Thanked: 104 times |
Joined on Dec 2009
|
#2
|
dbus-send --system --dest=net.connman --print-reply / net.connman.Manager.GetServices
/var/lib/connman/
dbus-send --system --dest=net.connman --print-reply / net.connman.Manager.GetServices
./set-nameservers wifi_5050a0b0c0d0_1234567b8912_managed_psk 8.8.8.8 8.8.4.4
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <unistd.h> int main() { setuid( 0 ); system( "/usr/sbin/vpnc && /sbin/ip route add xxx.xxx.x.0/24 dev tun0); return 0; }
gcc vpnc-helper.c -o vpnc-helper devel-su chown root:root vpnc-helper chmod 4755 vpnc-helper
The Following User Says Thank You to meShell For This Useful Post: | ||
![]() |
2014-04-15
, 16:16
|
Posts: 95 |
Thanked: 196 times |
Joined on Oct 2010
|
#3
|
The Following User Says Thank You to Casanunda For This Useful Post: | ||
![]() |
2014-04-15
, 16:44
|
|
Posts: 60 |
Thanked: 104 times |
Joined on Dec 2009
|
#4
|
![]() |
2015-03-02
, 12:54
|
Posts: 1 |
Thanked: 1 time |
Joined on Dec 2013
|
#5
|
The Following User Says Thank You to jacobodonosor For This Useful Post: | ||
![]() |
2015-04-06
, 14:04
|
|
Posts: 60 |
Thanked: 104 times |
Joined on Dec 2009
|
#6
|
![]() |
Tags |
fritz!box, fritzbox, jolla, vpncclient, vpnclient |
|
Jolla provides already an old version, but that still doesn't have the needed fixes like this one:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629646
So I compiled the latest revision from SVN directly on my Jolla and it connects sucessfully.
SVN
What I did
I installed the old vpnc with developer mode + terminal.
Edited the vpnc-config file: /etc/vpnc/default.conf
Then I compiled trunk vpnc after installing gnutls, libgcrypt, gcc ...
Running the new vpnc as root: ./vpnc
This connects sucessfully to my VPN:
Then I manualy added a route so that only all traffic to the network 192.168.2.0/24 is going over vpn for now (should be handled by script later):
Appended my "vpnc.zip":
Last edited by meShell; 2014-01-29 at 08:45.