Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 150791

Summary: tun interface when using openvpn to set it up has txqueuelen 0
Product: Gentoo Linux Reporter: Michael <darksoul>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael 2006-10-10 12:15:53 UTC
tun interface when using openvpn to set it up has txqueuelen 0 which makes it unusable while setting by usermode-utilities, txqueuelen 100 (iirc). openvpn has option to set it --txqueuelen which is not used by baselayout script tuntap.sh
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-10-10 14:03:26 UTC
openvpn defaults to a txqueuelen of 100 - if this is not the case then something else is creating your tun interface.
Comment 2 Michael 2006-11-07 03:31:35 UTC
(In reply to comment #1)
> openvpn defaults to a txqueuelen of 100 - if this is not the case then
> something else is creating your tun interface.
> 

No it's gentoo net scripts, i have only openvpn for creating tun/tap, no umlutils.

/etc/conf.d/net

tuntap_tap0="tap"
config_tap0=( "null" )

(setting ip does not help)

/etc/init.d/net.tap0 start
ifconfig
tap0      Link encap:Ethernet  HWaddr AA:6D:66:5A:2C:3E 
...
          collisions:0 txqueuelen:0

I've checked briefly openvpn sources and there is txqueuelen 100 as docs says but this do not work, I've set up manualy what net scripts do:

openvpn --mktun --dev-type "tap" --dev "tap0"

still the same
...           collisions:0 txqueuelen:0

It's look like upstream bug.
Comment 3 Roy Marples (RETIRED) gentoo-dev 2006-11-08 06:10:48 UTC
Yeah, openvpn bug.

Fixed in 2.0.7-r1 and 2.1_rc1-r1