[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Linux kernel 2.4.x


  • Subject: Re: [Openvpn-users] Linux kernel 2.4.x
  • From: bishop <bishop@xxxxxxxxxxxxxx>
  • Date: Thu, 11 Apr 2002 10:31:08 -0400

Cassio,

The tun module works correctly for linux kernels past 2.4.6 , I think, but I don't recommend using 2.4 kernels under 2.4.9, and probably would say to stick to point-releases 2, 9, 13, 17 and higher. Those are relatively stable, 9 and 17+ being popular with distros.

You don't need to install tun 1.1 if your kernel includes tun 1.4 . Doing so is not an upgrade.

(That's a statement that rates up there with the "coffee is hot" warning I read on my coffee cup this morning, like I don't know this already and I don't have the sense to not burn myself. Do we need to alter the tun page and put a huge Coffee Is Hot style warning?)

You could try a patch of the tun module from a higher kernel, but .. no, forget I suggested that.

Don't go hand-hacking your kernel package and make-installing yourself a support nightmare. Upgrade your distro to the latest tested-and-approved release your vendor has, and you should have a very good tun module in your kernel after that.

With any luck, your distro (one gold star for debian, even if it's untested) will have a shiny 2.4.18 kernel for you to use, which should work really well. The performance differences, especially under crushing load, are apparently noticable.

(yes, I enjoy rebuilding my kernel RPM over IPSec-intermezzo drives while I'm taping Law&Order with my TV card. Can I have a few more seti@home jobs, too?)

No, that's not what I meant. 2.4.<7 kernels actually fall over spectacularly under load, randomly KILLing processes. It's a party.

 - bish
Seen it himself.


Cassio Polpo de Campos wrote:
Hi, all.

I'd like to know since what version of the linux kernel 2.4 do the
openvpn work? 2.4.5 has not the correct things in include/linux/if_tun.h

tun.c: In function `tuncfg':
tun.c:103: `TUNSETPERSIST' undeclared (first use in this function)
tun.c:103: (Each undeclared identifier is reported only once
tun.c:103: for each function it appears in.)
make: *** [tun.o] Error 1

I tried installing the tun packet from vtun.sourceforge.net/tun/, but it
says that no upgrade is needed.
I think since linux kernel 2.4.6 it works fine. Is this right? Do
openvpn work with kernels older than 2.4.6?

[]'s

cassio.

_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users



_______________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users