LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-06-2013, 02:12 AM   #1
Errsta_Fonzarelli
LQ Newbie
 
Registered: Apr 2001
Location: Austin, Tx
Distribution: Debian
Posts: 25

Rep: Reputation: 15
vpnc (/dev/net/tun) issue with kernel 3.11.0 and greater


VPNC worked fine in 3.10.9 and below.

With 3.11.0 and now 3.12.1, I get the following error when trying to connect:

Code:
root@system:/home/user# vpnc ./vpn.conf 
Enter password for user@vpnserver.company.com: 
vpnc: can't open /dev/net/tun, check that it is either device char 10 200 or (with DevFS) a symlink to ../misc/net/tun (not misc/net/tun): No such device
vpnc: can't initialise tunnel interface: No such device
Here is the output for "ls -l /dev/net/tun'

Code:
crw-rw-rw- 1 root root 10, 200 Dec  4 11:15 /dev/net/tun
Looks fine. Device char 10, 200 as stated in the error.

With 3.10.9 (and before), I would have to ensure that the tun module was loaded ("modprobe tun") for /dev/net/tun to appear (and vpnc to work).

Since 3.11.0, /dev/net/tun just appears. No module. No tun.ko, no tun.c/tun.h in the linux source. I moved the device and rebooted, and sure enough it automagically reappeared.

Any ideas what's changed with tun/tap since 3.11.0? More importantly: any clue on how to get vpnc to play nice with it?
 
Old 12-06-2013, 04:39 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,889

Rep: Reputation: 163Reputation: 163
The tun module isn't a module in kernel 3.10.10 and later. It is part of kernel, static.
 
Old 12-06-2013, 06:09 PM   #3
Errsta_Fonzarelli
LQ Newbie
 
Registered: Apr 2001
Location: Austin, Tx
Distribution: Debian
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by nini09 View Post
The tun module isn't a module in kernel 3.10.10 and later. It is part of kernel, static.
Makes sense.

vpnc doesn't seem to like this (for me, at least).

Any recommendations to get it going?
 
Old 12-09-2013, 03:30 PM   #4
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,889

Rep: Reputation: 163Reputation: 163
You need make sure tun module included in your kernel. Based on error report, module isn't there.
 
Old 12-10-2013, 12:29 AM   #5
Errsta_Fonzarelli
LQ Newbie
 
Registered: Apr 2001
Location: Austin, Tx
Distribution: Debian
Posts: 25

Original Poster
Rep: Reputation: 15
ok will try again

Last edited by Errsta_Fonzarelli; 12-10-2013 at 01:29 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
problem in reading from /dev/net/tun raj1526 Linux - Newbie 0 03-07-2009 01:13 AM
vpnc and tun problems Th3_J3st3R Slackware 7 09-04-2007 09:30 PM
vnuml tun device /dev/net/tun not found. asalford Linux - Networking 1 01-30-2007 11:11 PM
need help: /dev/net/tun boxyou Linux - Networking 1 04-29-2005 03:11 AM
How do I use /dev/net/tun mike8s2 Linux - Networking 2 04-19-2005 09:01 PM

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

All times are GMT -5. The time now is 04:23 PM.

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