Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150791 - tun interface when using openvpn to set it up has txqueuelen 0
Summary: tun interface when using openvpn to set it up has txqueuelen 0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-10 12:15 UTC by Michael
Modified: 2006-11-08 06:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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