Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173791 - net-misc/dhcpcd-3.0.16 sets MTU too low if given MTU is invalid
Summary: net-misc/dhcpcd-3.0.16 sets MTU too low if given MTU is invalid
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-08 19:53 UTC by Kenneth Prugh (RETIRED)
Modified: 2007-04-14 09:46 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 Kenneth Prugh (RETIRED) gentoo-dev 2007-04-08 19:53:36 UTC
Upon updating to the new dhcpcd and rebooting, I launched TeamSpeak as normal and when attempting to join a server, the UI didn't show all of the channels in the server but instead showed the servers name with all the channels collapsed under it. Expanding the list of channels only shows some of the channels, and it is apparent that TS did not fully connect. TeamSpeak almost immediately then times out of the server being joined. TS becomes unusable as it cannot join any servers.

Reproducible: Didn't try




ken@Core2 ~ $ emerge --info
Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-viper7 x86_64)
=================================================================
System uname: 2.6.20-viper7 x86_64 Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 08 Apr 2007 14:30:08 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo "
MAKEOPTS="-j3"
PKGDIR="/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa amd64 berkdb bitmap-fonts cli cracklib crypt cups dbus dri flac fortran gdbm gpm hal iconv ipv6 isdnlog jpeg kde kdeenablefinal libg++ mad midi mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt4 readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode vorbis xml xorg zlib" ALSA_CARDS="usb-audio hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-04-08 21:39:16 UTC
If everything works except for TeamSpeak, I doubt it's a problem caused by dhcpcd.
Comment 2 Kenneth Prugh (RETIRED) gentoo-dev 2007-04-08 21:41:29 UTC
(In reply to comment #1)
> If everything works except for TeamSpeak, I doubt it's a problem caused by
> dhcpcd.
> 

But TeamSpeak works perfectly when reverted back to dhcpcd-2.0.8-r3, so it has to have some correlation.
Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-04-10 14:46:02 UTC
What's the MTU of the interface?
Comment 4 Kenneth Prugh (RETIRED) gentoo-dev 2007-04-11 23:14:11 UTC
(In reply to comment #1)
> If everything works except for TeamSpeak, I doubt it's a problem caused by
> dhcpcd.
> 

I am also experiencing the same problem with net-misc/dhcpcd-3.0.16-r1
Comment 5 Roy Marples (RETIRED) gentoo-dev 2007-04-12 06:26:12 UTC
And again, what is the MTU of the interface?

Attach the output of `ifconfig eth0`
Replace eth0 with the name of the interface dhcpcd is running on.
Comment 6 Roy Marples (RETIRED) gentoo-dev 2007-04-12 07:26:21 UTC
MTU values from dhcpcd-2.0.5 and 3.0.16 would be useful so I can see the difference.

If the MTU value is say 576 then try this command
ifconfig eth0 mtu 1492
and see if teamspeak starts working
Comment 7 Kenneth Prugh (RETIRED) gentoo-dev 2007-04-12 22:31:09 UTC
(In reply to comment #6)
> MTU values from dhcpcd-2.0.5 and 3.0.16 would be useful so I can see the
> difference.
> 
> If the MTU value is say 576 then try this command
> ifconfig eth0 mtu 1492
> and see if teamspeak starts working
> 

eth0      Link encap:Ethernet  HWaddr 00:16:E6:84:AF:AC
          inet addr:72.184.65.68  Bcast:255.255.255.255  Mask:255.255.248.0
          UP BROADCAST RUNNING MULTICAST  MTU:576  Metric:1
          RX packets:4859 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1397 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:812542 (793.4 Kb)  TX bytes:150528 (147.0 Kb)
          Interrupt:16

Changed the MTU to 1500 and Teamspeak is now working as good as before. This bug as far as I am concerned can be closed now as solved. 
Comment 8 Roy Marples (RETIRED) gentoo-dev 2007-04-13 05:54:24 UTC
(In reply to comment #7)
> eth0      Link encap:Ethernet  HWaddr 00:16:E6:84:AF:AC
>           inet addr:72.184.65.68  Bcast:255.255.255.255  Mask:255.255.248.0
>           UP BROADCAST RUNNING MULTICAST  MTU:576  Metric:1
>           RX packets:4859 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1397 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:812542 (793.4 Kb)  TX bytes:150528 (147.0 Kb)
>           Interrupt:16
> 
> Changed the MTU to 1500 and Teamspeak is now working as good as before. This
> bug as far as I am concerned can be closed now as solved. 

sigh.

I'll release dhcpcd-3.0.17 then, which should solve this once and for all :/
Comment 9 Roy Marples (RETIRED) gentoo-dev 2007-04-14 08:00:36 UTC
Fixed in dhcpcd-3.0.17
Comment 10 Roy Marples (RETIRED) gentoo-dev 2007-04-14 09:46:46 UTC
.