Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185188 - sys-apps/baselayout-1.12.9-r2: doesn't respect "nosendhost" for ath0
Summary: sys-apps/baselayout-1.12.9-r2: doesn't respect "nosendhost" for ath0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-13 11:44 UTC by Toralf Förster
Modified: 2007-07-23 11:39 UTC (History)
0 users

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


Attachments
screen shot of wireshark (dhcp.png,123.57 KB, image/png)
2007-07-13 11:45 UTC, Toralf Förster
Details
Don't send the hostname (dhcpcd-nosendhost.patch,906 bytes, patch)
2007-07-20 14:05 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2007-07-13 11:44:46 UTC
Although I have it defined otherwise in /etc/conf.d/net, dhcpcd sends my hostname "n22" as seen in screenshot in comment #1 :

#       WLAN
#
modules=( "wpa_supplicant" )
wpa_supplicant_ath0="-Dmadwifi"
config_ath0=( "dhcp" )

dhcp_ath0="nontp nosendhost"




Reproducible: Always




tfoerste@n22 ~ $ emerge --info
Portage 2.1.2.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 i686)
=================================================================
System uname: 2.6.21-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 13 Jul 2007 07:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
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.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-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/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=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://85.25.128.62 http://gentoo.mneisen.org/ http://gentoo.prz.rzeszow.pl http://194.117.143.72/"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/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.de.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa apache2 arts asf berkdb bitmap-fonts bluetooth bzip2 cairo cddb clamav cli cracklib crypt css cups dri dvd dvdr dvdread dynamicplugin exif fam fastbuild fortran gdbm gif gpm gtk gtk2 hdaps i8x0 iconv ipv6 isdnlog jai java javascript jimi jpeg libg++ logrotate madwifi mbox midi mikmod mmap mmx mmxext mp3 mp4 mudflap mysql ncurses nls no-seamonkey nptl nptlonly nsplugin opengl openmp pam pcre pdf perl png pppd python rdesktop readline real reflection samba session spl sse sse2 ssl subversion svg tcpd tiff tk truetype truetype-fonts type1-fonts unicode userlocales wifi win32codecs x86 xml xorg xpm zlib" ALSA_CARDS="intel8x0 intel8x0m" 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 joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="vga radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Toralf Förster gentoo-dev 2007-07-13 11:45:42 UTC
Created attachment 124744 [details]
screen shot of wireshark
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-07-20 14:05:29 UTC
Created attachment 125457 [details, diff]
Don't send the hostname

Test this patch against /lib/rcscripts/net/dhcpcd.sh

Thanks
Comment 3 Toralf Förster gentoo-dev 2007-07-20 19:46:58 UTC
(In reply to comment #2)

> Test this patch against /lib/rcscripts/net/dhcpcd.sh
applied, it works

> Thanks
Thanks :-)

Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-07-23 11:39:45 UTC
In our svn repo now.