LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   /dev/tun not working after a kernel upgrade (http://www.linuxquestions.org/questions/slackware-14/dev-tun-not-working-after-a-kernel-upgrade-532165/)

brokenflea 02-25-2007 01:50 AM

/dev/tun not working after a kernel upgrade
 
Hello,

I just upgraded to kernel 2.6.15 on slackware 11.0 and now after I try running openvpn I get a:

Code:

Sat Feb 24 23:18:33 2007 Note: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
Sat Feb 24 23:18:33 2007 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Sat Feb 24 23:18:33 2007 Cannot allocate TUN/TAP dev dynamically
Sat Feb 24 23:18:33 2007 Exiting

Here's my kernel config file where tunnelling is specified

Code:

CONFIG_INET_AH=y
CONFIG_INET_ESP=y
CONFIG_INET_IPCOMP=y
CONFIG_INET_TUNNEL=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y

Also, I don't have a tun directory in /dev. So I created one using mkdir and then did a mknod /dev/net/tun c 10 200 ,
but that doesn't work either.

Where should I start looking next.
Any help is gladly appreciated


TIA

brokenflea 02-26-2007 01:18 AM

Figured it out, I had left out CONFIG_TUN=n in my kernel config. Everything works now.


All times are GMT -5. The time now is 10:22 PM.