Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


OpenVPN question - kernel module error message

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux Networking
Author Message
Clapper



Joined: 10 May 2004
Posts: 33

Posted: Thu May 27, 2004 10:16 pm    Post subject: 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:

Code: 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":

Code:
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
Back to top  
Clapper



Joined: 10 May 2004
Posts: 33

Posted: Thu May 27, 2004 10:20 pm    Post subject:  

PS.

When I ran the

Code:
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
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2392
Location: Galloway, NJ

Posted: Thu May 27, 2004 10:27 pm    Post subject:  

Tuntap support is already compiled into the Linode kernels.

Next! :)

-Chris
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2392
Location: Galloway, NJ

Posted: Thu May 27, 2004 10:29 pm    Post subject:  

Maybe you need the "tunctl" utility?

You can grab the latest here:
http://uml.linode.com/uml_utilities_20040406.tar.bz2
(Linode.com's User-Mode Linux mirror)

-Chris
Back to top  
 
       Linode.com Forum Forum Index -> Linux Networking
Page 1 of 1