Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99475 - blacklist_aps in /etc/conf.d/wireless are not honored
Summary: blacklist_aps in /etc/conf.d/wireless are not honored
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-18 17:20 UTC by David Held
Modified: 2005-07-19 01:52 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 David Held 2005-07-18 17:20:13 UTC
When essids are added to the blacklist_aps list in /etc/conf.d/wireless,
starting the network interface associates and tries to use these access points
anyways.

I am using baselayout 1.11.13, but this problem existed with 1.11.12 and
1.11.11... or essentially with every version of baselayout I've used.

Reproducible: Always
Steps to Reproduce:
20:11 bork /home/drheld # cat /etc/conf.d/wireless |grep blacklist_aps
blacklist_aps=( "QuikPort" )

20:15 bork /home/drheld # iwlist scan
lo        Interface doesn't support scanning.

eth0      Scan completed :
          Cell 01 - Address: 00:0F:66:91:6F:F5
                    ESSID:"heimdall"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:11
                    Encryption key:on
                    Bit Rate:54 Mb/s
                    Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54 
                    Quality=50/100  Signal level=-71 dBm  
                    Extra: Last beacon: 115ms ago
          Cell 02 - Address: 00:11:D8:24:58:4C
                    ESSID:"MagNet"
                    Protocol:IEEE 802.11g
                    Mode:Master
                    Channel:10
                    Encryption key:on
                    Bit Rate:54 Mb/s
                    Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54 
                    Quality=39/100  Signal level=-77 dBm  
                    Extra: Last beacon: 3ms ago
          Cell 03 - Address: 00:11:24:5C:78:37
                    ESSID:"QuikPort"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:1
                    Encryption key:off
                    Bit Rate:54 Mb/s
                    Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54 
                    Quality=39/100  Signal level=-77 dBm  
                    Extra: Last beacon: 119ms ago

Actual Results:  
20:12 bork /home/drheld # /etc/init.d/net.eth0 restart
 * Caching service dependencies ...                                   [ ok ]
 * Starting eth0
 *   Configuring wireless network for eth0
 *     eth0 connected to "QuikPort" at 00:11:24:5C:78:37


Expected Results:  
The init script should not associate with the blacklisted AP and should instead
choose another AP or should not associate at all.

20:16 bork /home/drheld # emerge info 
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.11.7 i686)
=================================================================
System uname: 2.6.11.7 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
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="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache digest distlocks sandbox sfperms strict userpriv"
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 aac acpi alsa avi berkdb bindist bitmap-fonts cdr crypt cups curl dvd
emboss encode fam flac foomaticdb fortran gdbm gif gnome gpm gtk gtk2 gtkhtml
icq imap imlib java jpeg libg++ libwww lirc mad maildir mikmod mmx mmxext motif
mozilla moznocompose moznoirc moznomail mp3 mpeg msn ncurses nls ogg oggvorbis
opengl oscar oss pam pcmcia pda pdflib perl png python qt quicktime readline rtc
samba sdl spell sqlite sse sse2 ssl svga tcpd tetex tiff truetype truetype-fonts
trusted type1-fonts usb videos vim-with-x vorbis wifi win32codecs xml2 xmms xosd
xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Roy Marples (RETIRED) gentoo-dev 2005-07-19 01:52:19 UTC
If you have

essid_eth0="any"

or set to any value at all, then neither blacklist_aps, nor preferred_aps are
honoured as the driver picks an AP using it's own selection method that cannot
be influenced.

Re-open if this is not the case, and please attach your
/etc/conf.d/{net,wireless} to the bug.