Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenVPN - Cannot allocate TUN/TAP dev dynam
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
africola
n00b
n00b


Joined: 09 Sep 2010
Posts: 43

PostPosted: Fri Oct 01, 2010 6:02 pm    Post subject: OpenVPN - Cannot allocate TUN/TAP dev dynam Reply with quote

Hi,

i've included the kernel module

Code:

Code:
(Device Drivers->Network Device Support>Universal TUN/TAP Device Driver Support), which should create this error


in my kernel.

But I still got the error:
Code:

Code:
Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory
Note: attemping fallback to kernel 2.2 TUN/TAP interface
Cannot allocate TUN/TAP dev dynamically
EXITING
Back to top
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Fri Oct 01, 2010 6:28 pm    Post subject: Reply with quote

Check to see if the TUN module is loaded.
lsmod | grep tun
If not use the following to load the module assuming it is built as a module.
modprobe tun
Then restart openvpn.
If you have compiled the TUN/TAP into the kernel you will need to reboot for this to take effect.
Ultimately you should compile it into the kernel regardless as this will obviously be used often.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum