Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111053 - wpa_supplicant-0.4.6 Failed to configure ethX in background
Summary: wpa_supplicant-0.4.6 Failed to configure ethX in background
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 111054 111055 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-31 13:16 UTC by Jan
Modified: 2005-11-16 11:06 UTC (History)
1 user (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 Jan 2005-10-31 13:16:09 UTC
The wpa_supplicant failed during starting wpa_cli on eth1 with error "Failed to
configure ethX in background"

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-31 13:18:50 UTC
*** Bug 111054 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-31 13:19:00 UTC
*** Bug 111055 has been marked as a duplicate of this bug. ***
Comment 3 Roy Marples (RETIRED) gentoo-dev 2005-10-31 23:23:08 UTC
Assigning to mobile as I cannot get wpa_supplicant-0.4.6 to work at all with my
madwifi whereas 0.4.5 works just fine.
Comment 4 Anders Storsveen 2005-11-01 03:54:56 UTC
I also run this combo, but I only get that failed to configure thing once in a
while... most of the times it works... I configure it with WEP atm, if that has
anything to do with it.
Comment 5 Henrik Brix Andersen 2005-11-01 06:16:53 UTC
Plase attach the output of `emerge --info` and your kernel .config file.

Which driver are you using? What related entries do you have in your
/etc/conf.d/{net,wireless} files? What is the output from running wpa_supplicant
manually?
Comment 6 Jan 2005-11-01 11:38:03 UTC
emerge --info
Portage 2.0.53_rc6 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo i686)
=================================================================
System uname: 2.6.14-gentoo i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium3 -fomit-frame-pointer -pipe -fstack-protector
-msse2"CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium3 -fomit-frame-pointer -pipe -fstack-protector -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccach collision-protect distlocks maketest sandbox sfperms
strict test userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl acpi alsa apache2 avi bzlib caca calendar cdr cgi cli
cpdflib crypt cups dhcp divx encode esd evo exif flac foomaticdb ftp gd-external
gif gnome gphoto2 gpm gstreamer gtk2 gtkhtml hal hbci howl iconv ipv6 irda jpeg
ldap libwww live mad maildir mbox md5sum mikmod mmx mng mono motif mozilla
moznocompose moznoirc moznomail mozsvg mpeg mppe-mppc mysql ncurses netapplet
nls nntp nptl nsplugin oggvorbis opengl openssh pam pcmcia pcre pdflib php
plotutils png ppds python qt quicktime readline real samba sdl session simplexml
slang sockets spell sqlite sse ssl svg svga tiff transcode truetype unicode usb
userlocales vhosts videos wavelan win32codecs wmf xface xfs xml xml2 xmlrpc xosd
xv zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY

---------------------------------------

Kernel: gentoo-sources-2.6.14

.config relating to wep/wpa

CONFIG_IEEE80211=y
CONFIG_IEEE80211_DEBUG=y
CONFIG_IEEE80211_CRYPT_WEP=y
CONFIG_IEEE80211_CRYPT_CCMP=y
CONFIG_IEEE80211_CRYPT_TKIP=y

-------------

I use the ipw2100 driver

-------------

Ralted entries in /etc/conf.d/net

modules_eth1=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"

------------

Output 

/etc/init.d/net.eth1 restart
 * Stopping eth1
 *   Bringing down eth1
 *     Shutting down eth1 ...                                             [ ok ]
*     Stopping wpa_cli on eth1 ...                                       [ ok ]
*     Stopping wpa_supplicant on eth1 ...                                [ ok ]
* Starting eth1
 *   Changing MAC address of eth1 ...                                     [ ok ]
*     changed to xxxxxxxx
 *   Starting wpa_supplicant on eth1 ...
ioctl[SIOCSIWPMKSA]: Operation not supported
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supporte  [ ok ]
*   Starting wpa_cli on eth1 ...                                         [ ok ]
*     Failed to configure eth1 in the background       
Comment 7 Henrik Brix Andersen 2005-11-01 13:26:04 UTC
Please try using "-D ipw" instead - and try the external ipw2100 driver found in
net-wireless/ipw2100.

You forgot to attach the output of running wpa_supplicant manually (not the init
script).
Comment 8 Jan 2005-11-02 10:24:00 UTC
wpa_supplicant -i eth1 -D ipw -c /etc/wpa_supplicant.conf -dd
ioctl[SIOCSIWPMKSA]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Comment 9 Jan 2005-11-02 10:25:15 UTC
wpa_supplicant-0.3.x with kernel 2.6.13 worked already fine
Comment 10 Henrik Brix Andersen 2005-11-02 10:48:03 UTC
Starting with linux-2.6.13, you need to use "-D wext" - not "-D ipw". Please try
that and report back.
Comment 11 Jan 2005-11-02 12:26:26 UTC
it worked already finde with 2.6.13, but now I want to use 2.6.14
Comment 12 Henrik Brix Andersen 2005-11-02 13:11:37 UTC
It wont work with "-D ipw" under linux-2.6.14 either.
Comment 13 Jan 2005-11-03 13:24:58 UTC
wpa_supplicant -i eth1 -D wext -c /etc/wpa_supplicant.conf -dd
ioctl[SIOCSIWPMKSA]: Operation not supported
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 7 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
Failed to disable WPA in the driver.
WEXT auth param 5 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
Comment 14 Jan 2005-11-05 03:02:21 UTC
??
Comment 15 Jan 2005-11-05 03:22:12 UTC
wpa_cli status output:

wpa_cli -i eth1 status
wpa_state=SCANNING
Supplicant PAE state=DISCONNECTED
suppPortStatus=Unauthorized
EAP state=DISABLED
Comment 16 Henrik Brix Andersen 2005-11-15 04:37:59 UTC
Please try running `/bin/sh /usr/portage/net-wireless/ieee80211/remove-old
/usr/sr/linux` and then `emerge ieee80211 ipw2100`.

I think your system is messed up with version inconsistencies of the
ieee80211/ipw2100 modules...
Comment 17 Jan 2005-11-16 11:06:24 UTC
After troubles with ipw2100-fimeware and hence downgrading to udev-69,
wpa_supplicant works fine. But I don't know why!