OpenVPN question - kernel module error message

I am trying to get a simple vpn setup to and from my Gentoo linode. I emerged the Openvpn software without trouble on my node and on my home client.

The Openvpn site says I have to do this:

TUN/TAP Setup:

 If you are using Linux 2.4 or higher, make the tun device node and load the tun module: 
mknod /dev/net/tun c 10 200 

modprobe tun 

However, unfortunately I get this error when modprobing the "tun":

www root # modprobe tun
modprobe: Can't open dependencies file /lib/modules/2.4.26-linode27/modules.dep (No such file or directory)

I am guessing that this is some module that was not configured into my pre-built kernel? Am I hosed? Is this something that I could address by getting the kernel sources and trying to build the needed modules? Anyone running Openvpn that could help me out?

Thanks much in advance,

Clapper

3 Replies

PS.

When I ran the

mknod /dev/net/tun c 10 200

it said that the dev already exists.

Maybe the "tun" is already in the kernel?

I'm kind of groping here, obviously! Clues appreciated,

Clapper

Tuntap support is already compiled into the Linode kernels.

Next! :)

-Chris

Maybe you need the "tunctl" utility?

You can grab the latest here:

http://uml.linode.com/umlutilities20040406.tar.bz2

(Linode.com's User-Mode Linux mirror)

-Chris

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct