Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280935 - net-wireless/madwifi-ng: Can't connect to WPA2 Gentoo router, WPA works
Summary: net-wireless/madwifi-ng: Can't connect to WPA2 Gentoo router, WPA works
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Steev Klimaszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 00:42 UTC by A. Person
Modified: 2012-12-21 17:53 UTC (History)
5 users (show)

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 A. Person 2009-08-10 00:42:44 UTC
I have a Gentoo router running madwifi-ng and hostpad, and 2 Gentoo laptops running wicd.  One laptop uses the in-kernel rt73 wireless driver, and the other uses the in-kernel ath5k wireless driver.  All run 2.6.28-hardened-r9.

If hostpad is configured for WPA or even CCMP WPA, the laptops can connect.  If I switch it to WPA2, wicd correctly identifies the AP as WPA2, but can not connect.  I get this in dmesg over and over (I've removed the MAC address):

wlan0: authenticate with AP
wlan0: authenticated
wlan0: associate with AP
wlan0: RX AssocResp from
wlan0: associated
wlan0: disassociating by local choice (reason=17).

Reproducible: Always

Steps to Reproduce:
1. switch Gentoo router to WPA2
2. try to connect 
3.

Actual Results:  
failure to connect

Expected Results:  
connection
Comment 1 James Earl Spahlinger 2009-08-10 00:48:48 UTC
Please paste the output of 'emerge --info' into a bugzilla comment to assist the maintainers in resolving this issue

Additionally if you have any information/logs about the individual components please provide them. After you post this information, while the maintainers attempt to identify and resolve your issue, you may want to re-read http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=4 which covers wireless networking and possibly check out the wiki page on the topic at <http://en.gentoo-wiki.com/wiki/Wireless_Networking>
Comment 2 A. Person 2009-08-10 01:19:41 UTC
Thank you for your response.

# emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.10.1-r0, 2.6.28-hardened-r9 x86_64)
=================================================================
System uname: Linux-2.6.28-hardened-r9-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T2310_@_1.46GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sun, 09 Aug 2009 21:15:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="buildpkg distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/mpd /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo caps cdaudio cdda cddb cdr cli cracklib crypt cups dbus dhcp divx dri dts dvd dvdr emboss encode evo exif fam ffmpeg firefox flac fortran gd gdbm gif gimp gmedia gmp gnutls gpm grammar gsm gstreamer gtk gtkhtml hal hardened hddtemp hpn iconv imap isdnlog java jpeg lcms libnotify lm_sensors mad matroska md5sum mikmod mmx mmxext mng mono mp3 mp4 mpeg mudflap multilib musepack musicbrainz ncurses new-login nptl nptlonly nsplugin offensive ogg opengl openmp oss ots pam pcre pdf perl pic png ppds pppd python qt3 qt3support qt4 quicktime quotes readline realmedia reflection regex rt73usb rtc sdl sdl-image sensord session slp speex spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs tagwriting tcpd theora thesaurus tiff truetype unicode usb vcd vim-with-x vlm vorbis wmf wmp wordperfect wxwindows x264 xcomposite xml xorg xprint xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2009-10-02 19:03:26 UTC
It's not clear what are you talking about. What kernel + driver produces that error? On what system? Have you tried to connect without wicd (wpa_supplicant only)? Also please try with newer kernels (I'd suggested 2.6.31.2 to be released tomorrow).
 
reason=17 is quite weird as I don't see that anything in linux 2.6.31 to drop this reason... But probably I miss something.
Comment 4 Drew 2009-11-04 11:50:37 UTC
I have exactly the same problem. Solution:
/etc/hostapd/hostapd.conf
wme_enabled=0
Comment 5 Rick Farina (Zero_Chaos) gentoo-dev 2012-12-21 17:53:03 UTC
Madwifi has been masked as it has been replaced by ath5k/ath9k upstream for years now.  Please migrate to a maintained driver.