LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-12-2014, 02:06 PM   #1
Freaksta
Member
 
Registered: Jan 2003
Distribution: Slackware 14.1
Posts: 283

Rep: Reputation: 34
OpenVPN / TUN


ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)

Running kernel 3.15.4, verified IP Tunneling is enabled (*) built-in, not as a module, but I've heard this is the wrong driver. I need TUN/TAP driver support, but cannot find it in the menuconfig...

when running openvpn I get the following error:

ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)

Can anyone tell me the correct kernel driver to enable?

Thanks!
 
Old 07-12-2014, 06:33 PM   #2
Freaksta
Member
 
Registered: Jan 2003
Distribution: Slackware 14.1
Posts: 283

Original Poster
Rep: Reputation: 34
Answer:

Either edit /usr/src/linux/.config: CONFIG_TUN=Y (from 'CONFIG_TUN is not set')

OR

/usr/src/linux -> make menuconfig -> use the '/' key to search for TUN -> look at the help file and see where the driver is located... it was located in a completely different section.

Thanks!
 
Old 07-15-2014, 01:42 AM   #3
jasonelve
LQ Newbie
 
Registered: Jul 2014
Location: New York, NY, United States Of America
Posts: 5

Rep: Reputation: Disabled
Yeah you may easily set-up through the config panel and after that use the '/' key to look for for TUN -> look at the help computer file and look up for the driver file. Hope that might works

Last edited by jasonelve; 07-19-2014 at 03:47 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVpn TUN/TAP unminser Linux - Server 11 05-29-2011 03:00 AM
2nd tun network for openvpn? qwertyjjj Linux - Server 1 08-03-2010 08:48 AM
OpenVPN with kvpnc - no tun issue Chris594 Linux - Networking 0 05-10-2008 11:13 AM
Openvpn TUN Problem odie_chan Linux - Networking 2 06-20-2006 09:23 AM
OpenAFS on an OpenVPN tun device Gsee *BSD 0 05-08-2006 05:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration