VPN connection

Joined
Aug 1, 2008
Messages
10
Reaction score
0
Hello,

I have trouble starting a vpn connection on my aspire One.
I installed every package related to vpn ( vpnc, openvpn, networkmanager-vpnc(-openvpn), pptp,..)
One thing worked, that is the vpn connection manager(vpnc) where i could manage the connection but have no idea where to connect it.

Anyone got a solution?
thx
 
Dear Chicksaw,
sorry - no solution but more questions. Calling vpnc with a profile (that works on other computer) results in
vpnc: can't open /dev/net/tun, check that it is either device char 10 200 or (with DevFS) a symlink to ../misc/net/tun (not misc/net/tun): No such device
vpnc: can't initialise tunnel interface: No such device
The device exists - I have also removed it and created again with "mknod /dev/net/tun c 10 200" - same result.
A "modprobe tun" gives a "FATAL: Module tun not found."
Seems that the module is not compiled?
 
Can you explain me how you made it work?
I copied the files but whats next?
 
i have a config file and i can add this vpn connection via VPN Connection Manager(vpnc).
Isn't there a user friendly way with a gui? because typing vpnc and manually adding the IPSEC etc... still gives the tun error, even after coping the modules.
I need this vpn for my college network connection.
 
Isn't there a user friendly way with a gui?
Hmmm - I only know kvpn (a gui with kde) - sorry, thats no satisfying answer (at work i user kde/gentoo) - I 'll search.
Our network gurus use cisco - therefore i 've got a pcf file (for the cisco client - for that a gui exists). But cisco client may not work with the "newest" kernel (f.e. http://forums.gentoo.org/viewtopic-t-661331-highlight-cisco+client.html).
But the pcf file cannot be used with vpnc - you need to cenvert it with a small perl script called pcf2vpnc.pl

To use pcf2vpnc.pl:
1) download the script at http://svn.unix-ag.uni-kl.de/vpnc/trunk/pcf2vpnc
2) put the script pcf2vpnc.pl and the pcf file <pcf file> in a directory
3) run the script
perl pcf2vpnc.pl <pcf file> <vpnc config>
4) Copy as root the new <vpnc config> to /etc/vpnc/default.conf
(I hope the path is correct - I will correct it, when using the AspireOne at home)

Here some fine links:

VPN Setup http://support.cs.utah.edu/index.php?option=com_content&view=article&id=45&Itemid=73
Cisco VPN and Linux: http://episteme.arstechnica.com/eve/forums/a/tpc/f/96509133/m/424003558831
HOW TO: Cisco VPN Feisty Fawn 7.04 http://ubuntuforums.org/archive/index.php/t-500504.html


still gives the tun error,
Does still a "modprobe tun" (as root) result in a "FATAL: no module found"?


------------------------
Sorry for my english ...
 
oke thanks, i downloaded the script but how do i run it?
from the pcf file i manually made a conf file it looks like:
IPSec gateway .... etc
 
Ok -
perl pcf2vpnc.pl <pcf file> <vpnc config>
f.e.
Code:
perl pcf2vpnc.pl my_uni_cisco.pcf default.conf
worked ...

open the terminal
(f.e. Alt-F2, and type in the command line
Code:
terminal
)

Enter as root (in terminal):
Code:
su -
You should have a directory /etc/vpnc:
Code:
cd /etc/vpnc
There should be the example file called default.conf
Code:
ls -al
Rename the example file f.e.:
Code:
mv default.conf default.conf.original
Copy YOUR converted file <vpnc config> to /etc/vpnc
Code:
cp <path_where_your_vpnc_file_is>/<vpnc config> ./default.conf

<vpnc config> ... placeholder for the name of your converted pcf file
<path_where_your_vpnc_file_is> ... path of the directory, where <vpnc config> is stored
./ ... "sign" for your current directory - in our case it is /etc/vpnc

after that (as root) typing
Code:
vpnc
should work.
 
Both PPTP and VPNC connections working for me successfully as well, thanks for the description.

When I donwloaded the cisco PCF file to copy the coded group password, some kind of wizzard poped up with Import options button, I have no clue what was that, any ideas? Can the AA1 handle PCF files directly maybe?

I did not investigate it further, I've created the default.conf file
 
Hi all
I have established a VPN connection to our work network; however, the default route is getting overwritten to point to the tunnel whereas I only want 10.10.10.0/24 to be routed over the tunnel. On an ubuntu laptop that I have there is a vpnc-connect utility which reads a 'Target networks' config line in /etc/vpnc/default.conf and sets up the tunnel as I have described.

How can I replicate vpnc-connect on my AA1?

Thanks
Michael
 
Back
Top