You are not logged in.

#1 2013-01-14 15:20:54

kopiersperre
Member
Registered: 2011-03-22
Posts: 48

No tun device

Dear arch users,
after the last updates I don't have a tun0 device anymore. The module "tun" also does not exist.

sudo modprobe tun

does nothing.
Can you help me?
I use kernel 3.7.2-1 with systemd 197-4 and initscripts 2012.10.1-1.

Thank you in advance

Offline

#2 2013-01-14 16:25:58

chris_l
Member
Registered: 2010-12-01
Posts: 387

Re: No tun device

kopiersperre wrote:

Dear arch users,
after the last updates I don't have a tun0 device anymore. The module "tun" also does not exist.

sudo modprobe tun

does nothing.
Can you help me?
I use kernel 3.7.2-1 with systemd 197-4 and initscripts 2012.10.1-1.

Thank you in advance

Did you rebooted?


"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.

Offline

#3 2013-01-14 20:53:04

kopiersperre
Member
Registered: 2011-03-22
Posts: 48

Re: No tun device

Yes

Offline

#4 2013-01-14 21:17:06

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: No tun device

Do you have this set in your kernel config

$ grep CONFIG_TUN /usr/src/linux-3.7.2-1-ARCH/.config
CONFIG_TUN=m

http://www.gentoo.org/doc/en/vpnc-howto.xml

Gentoo vpnc HOWTO wrote:

Code Listing 2.1: CONFIG_TUN

TUN/TAP provides packet reception and transmission for user space
programs. It can be viewed as a simple Point-to-Point or Ethernet
device, which instead of receiving packets from a physical media,
receives them from user space program and instead of sending packets
via physical media writes them to the user space program.

When a program opens /dev/net/tun, driver creates and registers
corresponding net device tunX or tapX. After a program closed above
devices, driver will automatically delete tunXX or tapXX device and
all routes corresponding to it.

Last edited by hunterthomson (2013-01-14 21:17:27)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#5 2013-03-01 12:50:31

Syntaxeus
Member
Registered: 2008-10-04
Posts: 22

Re: No tun device

@hunterthomson

This solved my issues with openvpn when I got

Cannot open TUN/TAP dev /dev/net/tun

Thanks a lot!

Offline

Board footer

Powered by FluxBB