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

Jim Popovitch yahoo at jimpop.com
Sat Jun 30 22:07:49 EDT 2007


On Sat, 2007-06-30 at 18:05 -0500, John Mills wrote:
> 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

Make sure that your openvpn config file there contains a line like
this:  
	dev=tun0

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

Next, run this command:

	openvpn --mktun --dev tun0

hth,

-Jim P.




More information about the Ale mailing list