[ale] Q: getting /dev/net/tun for openVPN on RH-7.3

John Mills johnmills at speakeasy.net
Sat Jun 30 19:05:30 EDT 2007


ALErs -

I want to run openvpn from a RH-7.3 host and am having trouble opening the
link.

I installed openvpn-2.0-5.6 from an RPM and built liblzo from sources. 
When I try to start an openvpn connection, it fails with the message:

Sat Jun 30 17:41:54 2007 us=596523 Note: Cannot open TUN/TAP dev 
/dev/net/tun: No such file or directory (errno=2)
Sat Jun 30 17:41:54 2007 us=597197 Note: Attempting fallback to kernel 2.2 
TUN/TAP interface
Sat Jun 30 17:41:54 2007 us=602991 Cannot allocate TUN/TAP dev dynamically
Sat Jun 30 17:41:54 2007 us=603628 Exiting

I expect I need to create '/dev/net/tun'.

I don't believe I am using the 'devfs', so I expect I need to create the
device statically or at boot time, with appropriate permissions. How
should I do this?

TIA.
 - Mills




More information about the Ale mailing list