[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Cannot ioctl TUNSETIFF tap0: Invalid argument - problem


  • Subject: Re: [Openvpn-users] Cannot ioctl TUNSETIFF tap0: Invalid argument - problem
  • From: Jean-Pierre Schwickerath <lists@xxxxxxxxxxxx>
  • Date: Fri, 1 Oct 2004 17:29:37 +0200

Hi
 
> [debian:/#] openvpn --config /etc/openvpn/server.conf
> Fri Oct  1 00:14:06 2004 11: OpenVPN 1.6.0 i486-pc-linux-gnu [SSL]
> [LZO] built on Sep 30 2004
> Fri Oct  1 00:14:07 2004 16: LZO compression initialized
> Fri Oct  1 00:14:07 2004 17: Note: Cannot ioctl TUNSETIFF tap0:
> Invalid argument (errno=22)
> Fri Oct  1 00:14:07 2004 18: Note: Attempting fallback to kernel 2.2
> TUN/TAP interface
> Fri Oct  1 00:14:07 2004 19: Cannot open TUN/TAP dev /dev/tap0: No
> such file or directory (errno=2)
> Fri Oct  1 00:14:07 2004 20: Exiting

Do you run it with 
dev tap0 
in you config file?
If yes, you need to create the tunnel before you can launch OpenVPN on
it: 
openvpn --mktun --dev tap0


Jean-Pierre

-- 
Powered by Linux From Scratch - http://schwicky.net/
PGP Key ID: 0xEE6F49B4 - AIM/Jabber: Schwicky - ICQ: 4690141

Nothing is impossible... Everything is relative!

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2004-10/msg00012.html on line 204

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2004-10/msg00012.html on line 204