Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103722 - dhcp client fails with multiple wireless networks present
Summary: dhcp client fails with multiple wireless networks present
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-25 10:14 UTC by Tim Keitt
Modified: 2005-11-08 06:40 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 Tim Keitt 2005-08-25 10:14:56 UTC
My wireless setup works perfectly when there is only a single wireless network
available. If there are multiple networks available, I cannot get dhcpcd or pump
to aquire an ip address. They both simply time out. Some details are at
http://forums.gentoo.org/viewtopic-t-373245-highlight-.html

I also have seemingly transiet problems associating to essid's, but that is very
hard to diagnose and may be unrelated. I _am_ able to connect to a chosen
network by manually issuing iwconfg/ifconfig commands (setting essid, ip number,
adding routes, etc.) so this is not a problem with my wireless card.

Reproducible: Always
Steps to Reproduce:
1. Find a spot where iwlist eth? scan returns multiple access points
2. Run /etc/init.d/net.eth? or associate to a network manually and then run
dhcpcd or pump
3.

Actual Results:  
I get a timeout error from dhcpcd/pump

Expected Results:  
The dhcp client works

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-suspend2-r3 i686)
=================================================================
System uname: 2.6.12-suspend2-r3 i686 Intel(R) Pentium(R) M processor 1.10GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa arts avi berkdb bitmap-fonts cdr crypt cups curl dbus dvd
dvdr eds emboss encode esd fam firefox foomaticdb fortran gdbm gif gnome gpm
gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jpeg junit libg++ libwww mad
mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl nsplugin ogg oggvorbis opengl
oss pam pdflib perl png python qt quicktime readline real sdl spell sqlite sse
ssl tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv xvid
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 SpanKY gentoo-dev 2005-08-25 13:42:51 UTC
attach your /etc/conf.d/net file please
Comment 2 Tim Keitt 2005-08-29 10:09:48 UTC
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18
19:39:22 azarah Exp $

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
#
#iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"

# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
iface_eth0="dhcp"
#dhcpcd_eth0="-B"
iface_eth1="dhcp"
#dhcpcd_eth1="-B"

# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"

# NB:  The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly.  Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"


# For setting the default gateway
#
#gateway="eth0/192.168.0.1"
Comment 3 Tim Keitt 2005-08-29 11:21:48 UTC
A bit of additional data. This may be a problem with multiple aps on the same
channel. I was just having problems associating to my ap at home and noticed
this only occurred when another ap was visible on the same channel. I will try
to verify this later.
Comment 4 Roy Marples (RETIRED) gentoo-dev 2005-08-30 06:27:01 UTC
Please attach the contents of conf.d/wireless and the results of
/etc/init.d/net.eth? restart after setting RC_VERBOSE="yes" in /etc/conf.d/rc
Comment 5 Roy Marples (RETIRED) gentoo-dev 2005-11-08 06:40:07 UTC
Need more information to fix this