2

I am trying to instal OpenVPN on a special linux distribution that has no tap kernel module, and all howtos available are outdated. I was wondering if there is a way to run OpenVPN without this kernel module.

At the moment I can't install OpenVPN due to unresolved dependencies, but I can always force it. I just don't think it's possible, but I do hope somebody knows better ;)

masegaloeh
  • 18,236
  • 10
  • 57
  • 106
naugtur
  • 284
  • 3
  • 11

2 Answers2

2

You really need a TUN module. How else can OpenVPN create the "fake network interface" which accepts the IP-range for your VPN subnet?

on a special linux distribution

What makes it special? Is it some kind of NAS with busybox installed? (because you mention ARM)

My QNAP NAS ships the tun.ko module in /usr/local/modules This can be easily loaded from a startup script:

( /sbin/lsmod | grep -q tun ) || /sbin/insmod /usr/local/modules/tun.ko

Try to find the tun module at your system in some common system folders, using:

find /lib /usr /opt -name 'tun.ko'
vdboor
  • 3,800
  • 3
  • 31
  • 32
  • The distro is jlime on jornada 720. I've found the file tun.ko in some weird folder deep in /lib/ It seems to load, I'll see if it works. – naugtur Jul 04 '10 at 14:06
0

Does the kernel in that setup have module support? If so then you may be able to find an appropriate version of the tap module, compile it, and install with modprobe (the same way vmware and similar distribute their driver modules).

David Spillett
  • 22,754
  • 45
  • 67
  • I'll see. I suppose it does have module support. But the machine has an ARM processor. I'll post back when I try it. – naugtur Jun 30 '10 at 10:40