Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100685 - ipw2100 and WPA-PSK
Summary: ipw2100 and WPA-PSK
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL: http://bughost.org/bugzilla/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-29 03:31 UTC by Dick Marinus
Modified: 2005-08-02 00:43 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 Dick Marinus 2005-07-29 03:31:47 UTC
I'm trying to use wpa_supplicant on my ipw2100 which seem to fail, it starts with:

$ wpa_supplicant -Dipw -ieth1 -c/etc/wpa_supplicant.conf
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=1
ap_scan=1
Line: 23 - start of a new network block
ssid - hexdump_ascii(len=7):
     4d 61 72 69 6e 75 73                              Marinus
proto: 0x1
pairwise: 0x8
group: 0x8
key_mgmt: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=17): [REMOVED]
priority=3 (0x3)
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 3
   id=0 ssid='Marinus'
Initializing interface (2) 'eth1'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_ipw_init is called
Own MAC address: 00:04:23:a3:1a:07
wpa_driver_ipw_set_wpa: enabled=1
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_countermeasures: enabled=0
wpa_driver_ipw_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added

And loops with the following error:

Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Scan timeout - try to get results
Received 719 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 3
0: 00:10:a7:27:e1:94 ssid='Marinus' wpa_ie_len=24 rsn_ie_len=0
   selected
Trying to associate with 00:10:a7:27:e1:94 (SSID='Marinus' freq=0 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00
50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_ipw_set_drop_unencrypted: enabled=1
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=20
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist
No keys have been configured - skip key clearing

I'm using:
net-wireless/wpa_supplicant-0.3.8-r1
net-wireless/ipw2100-1.1.0
net-wireless/ipw2100-firmware-1.3
sys-kernel/gentoo-sources-2.6.12-r6

wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant
#ctrl_interface_group=0
eapol_version=1
ap_scan=1
network={
        ssid="Marinus"
        proto=WPA
        pairwise=TKIP
        group=TKIP
        key_mgmt=WPA-PSK
        psk="!@$%^&*();:AbC_+-"
        priority=3
}

(the psk isn't my real preshared key but it looks like it)

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) M processor 2.10GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
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=pentium4 -O3 -pipe"
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/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/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/
http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="nl"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts
bluetooth cdparanoia cdr crypt cups curl dvd dvdread emboss encode fam
foomaticdb fortran gd gdbm gif gnokii gpm gtk gtk2 guile imagemagick imlib ipv6
java jpeg junit kde kdeenablefinal libg++ libwww mad mikmod mmx motif mp3 mpeg
mysql ncurses nls ogg oggvorbis opengl pam pdflib png python qt quicktime
readline rtc samba sdl spell sse sse2 ssl svga tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts vorbis wifi xinerama xml2 xscreensaver xv xvid
zeroconf zlib linguas_nl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS

From Windows the same configuration on the same machine works (with
wpa_supplicant-0.3.9), so I suppose it isn't the configuration or accesspoint.
Comment 1 Henrik Brix Andersen 2005-07-29 03:53:15 UTC
Please try net-wireless/ipw2100-1.1.2-r1.
Comment 2 Dick Marinus 2005-07-29 04:13:09 UTC
I've did: 
/etc/init.d/modules stop 
lsmod 
removed all remaining modules with modprobe -r 
$ rm -rf /lib/modules/$(uname -r) 
$ cd /usr/src/linux ; make modules_install 
$ unmasked net-wireless/ieee80211-1.0.3 (~x86 keyword) 
$ unmasked net-wireless/ipw2100-1.1.2-r1 (~x86 keyword) 
$ emerge =net-wireless/ipw2100-1.1.2-r1 
$ /etc/init.d/modules start 
$ wpa_supplicant -Dipw -ieth1 -c/etc/wpa_supplicant.conf -dd 
 
and the error remains :( 
Comment 3 Henrik Brix Andersen 2005-07-29 07:44:08 UTC
I see you have already reported this upstream at
http://bughost.org/bugzilla/show_bug.cgi?id=714

Next time, please avoid reporting the same bug two places as it doubles the work
involved.
Comment 4 Dick Marinus 2005-08-02 00:43:15 UTC
I'm really sorry about it, I thought it might be something gentoo-ish, and Hong
(the bug owner on bughost) isn't replying very well.

If someone has any idea, I'm still interested, next time I won't forget to
reference the upstream bugreport.