You are not logged in.
And, as pfriedel and others kept trying to tell me, a modprobe isn't necessary and, in this case, seems to be deceptive, since it was indicating that tun isn't installed when it obviously actuality is. Otherwise it wouldn't have worked for me.
Offline
I've updated the Wiki to include a vpn section (vpnc & openvpn). I tested openvpn and it works fine for me. Didn't test vpnc but included instructions from forum.
Offline
I've tried adding the Xandros repo as noted on the Wiki, but I keep on getting MD5sum mismatches. Can anyone in this thread provide the repo from which you got the OpenVPN package? I really, really want OpenVPN on my Eee PC and I'd hate to have to install another OS on it. The fast startup is the "killer app" on the Eee PC for me. ![]()
Thanks in advance.
Offline
mlanner wrote:
I've tried adding the Xandros repo as noted on the Wiki, but I keep on getting MD5sum mismatches. Can anyone in this thread provide the repo from which you got the OpenVPN package? I really, really want OpenVPN on my Eee PC and I'd hate to have to install another OS on it. The fast startup is the "killer app" on the Eee PC for me.
Thanks in advance.
I used one of the following - not sure which one though.
deb http://xnv4.xandros.com/4.0/pkg xandros4.0-xn main contrib non-free
deb http://ftp.us.debian.org/debian stable main
Offline
I think I discovered a clue about this - in my setup, I've added the /dev/net/tun as recommended. I was testing using Wireless, and was getting the FATAL: module tun not found error.
However, when I tried connecting using the wired interface, it worked!!! So can all the people who have been trying this confirm whether they were using wired or wireless?
However that still leaves me with the question - why does this work with the wired and not the wireless? Any clues anyone?
Thx.
P.S. Although it's only peripherally relevant, I'm not using OpenVPN but Check Point SNX SSL Network Extender. Once I've got it going I'll be happy to write up a HOW-TO, because it's a right royal PITA....
Offline
I got openvpn working on my eeePC using tap device instead of tun. I had same problems in some 2.4. and 2.6. kernels, so nothing new.
First of all do apt-get install openvpn (you have to have added additional repositories). Then
mkdir /dev/net
mknod /dev/net/tun c 10 200
then
scp -r yennefer:/etc/openvpn /etc/openvpn
(to get my configuration from another PC)
kwrite /etc/openvpn/levhart.conf
and changed the device from tap0 to tun0.
openvpn --config /etc/openvpn/levhart.conf
gave me some errors about tun and exited. Does not look good. Maybe I am doing something wrong, don't know. I got tun working only on two computers, they both had 2.2 kernel. Next time I tried tap0:
mknod /dev/tap0 c 90 128
mknod /dev/tap1 c 90 129
mknod /dev/tap2 c 90 130
...
then
openvpn --config /etc/openvpn/levhart.conf
and I got another error - user nobody does not exist. I changed it to root (unsafe, but...) and gave it another chance.
And now I have openvpn working ;-)
/etc/openvpn/levhart.conf:
remote ##CENSORED##.org
ifconfig 192.168.18.19 255.255.255.0
port 2046
proto tcp-client
dev tap0
secret /etc/openvpn/levsoft.secret
ping 10
verb 5
mute 10
route 192.168.24.0 255.255.255.0 192.168.18.16
user root
group root
Offline
OK, because of my VPN server, I need to compile the latest beta version of openvpn, but I cannot find the openssl development packages for the Eee. Anyone know where to find those?
Offline
There are taralls here
http://www.openssl.org/
Offline
I'll go grab those, but I wasn't sure if there were some eee/xandros-specific ones I should be using.
Offline
I have openssl installed and it is v 0.9.8c-4etch3 it was updated to this thru synaptic.
I don't remember what repository I got it from. I also do not know if that is the latest version or even if you need more things than just the openssl package.
Offline
Hi all,
I was taking a look to this post and I have a question that I cannot solve myself.
How can I create a virtual interface tap0 with an static ip inside my eee pc?
I was trying to create tun/tap inside the dev/net as you said.
But I cannot assign an IP.
Is it related with this post? if not, my apologies
I tried to use tunclt but doesn't work, and also configure it in the interfaces file, but never appears when I type 'ip a' ![]()
Maybe I make a wrong syntax in the file:
auto tap0
iface tap0 inet manual
up ifconfig $IFACE 0.0.0.0. up
down ifconfig $IFACE down
I tried also static
auto tap0
iface tap0 inet static
address 192.168.1.1
netmask 255.255.255.0
but I get and error when reestarting the network:
SIOCSIADRR: no such device
tap0: ERROR whhile getting interface flags: no such device
SIOCSINFNETMASK: no such device
tap0: ERROR whhile getting interface flags: no such device
tunctl_user systema
Thanks a lot for you help
Last edited by Keogh (2009-04-21 2:59:42 pm)
Offline
This my client config, (I've changed the url & port),
remote xyz.org
port 1234
dev tap
ca ca.crt
cert client.crt
key client.key
client
resolv-retry infinite
nobind
mute-replay-warnings
comp-lzo
verb 4
mute 20
The open vpn server assigns the the ip address to the client. If you want any more info let me know and I'll post the server config when i get to work tomorrow.
Offline