Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 130104
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Roy Marples (RETIRED) <uberlord@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ian <ian@designersoft.co.uk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
baselayout-1.11.14-wpa_supplicant.patch baselayout - wpa_supplicant - bash-3.1 patch patch Roy Marples (RETIRED) 2006-04-16 01:59 0000 1.11 KB Details | Diff
new_patch Simple modification to the first patch patch Silas Francisco 2006-04-16 08:59 0000 1.10 KB Details | Diff
new_patch2 Simple modification to the first patch 2 - sorry patch Silas Francisco 2006-04-16 09:04 0000 1.11 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 130104 depends on: Show dependency tree
Bug 130104 blocks: 129885
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-15 16:01 0000
Ref : bug 129885.

I had just update to the bash-3.1_p16, but with ndiswrapper and wpa_supplicant
was not able to get the wirless working, had a failure to power up the wireless
card (RT2500) within the messagse (ndiswrapper (iw_set_tx_power:421): setting
tx_power failed (C0010015)) 

So I have down graded back to bash-3.0-r12. If there is any advice ? I also do
have the baselayout-1.11.14-r7.

Thanks
Ian
P.S. This is my first bug report, so if I have done anything wrong please say
:)

Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3,
2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
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.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/
ftp://mirrors.blueyonder.co.uk/mirrors/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr
cli crypt ctype cups curl dba dri dts eds emboss encode esd exif expat fam
fastbuild ffmpeg foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp
gnome gpm gstreamer gtk gtk2 hal idn imagemagick imlib ipv6 isdnlog java jpeg
junit kde lcms libg++ libwww mad memlimit mikmod mng motif mp3 mpeg mysql
ncurses nls nptl ogg openal opengl oss pam pcre pdflib perl php png posix pppd
python qt quicktime readline samba sdl session simplexml soap sockets spell spl
ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev usb vorbis
win32codecs xml xml2 xmms xsl xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS,
MAKEOPTS

------- Comment #1 From SpanKY 2006-04-15 18:53:09 0000 -------
how exactly are you trying to use ndiswrapper/wpa_supplicant ?  are you using
/etc/init.d/net.* scripts ?  or are you running commands yourself (and if so,
what are the commands) ?

------- Comment #2 From Silas Francisco 2006-04-15 20:03:12 0000 -------
Same problem here, using ipw2200 wpa_supplicant
net.eth1 linked to net.lo script :-)
It seems what it enters some kind of cicle, because i see sleep1 then other
comands then sleep1 using ps.

------- Comment #3 From SpanKY 2006-04-15 23:12:21 0000 -------
what versions of wpa_supplicant and ndiswrapper ?

------- Comment #4 From Ian 2006-04-16 01:56:37 0000 -------
These are the versions of the programs below, and I am running the
/etc/init.d/net* scripts

 Searching for package 'wpa_supplicant' in all categories among: ]
 * installed packages
[I--] [  ] net-wireless/wpa_supplicant-0.4.8 (0)
tux ian # equery list ndiswrapper
[ Searching for package 'ndiswrapper' in all categories among: ]
 * installed packages
[I--] [  ] net-wireless/ndiswrapper-1.2-r1 (0)

------- Comment #5 From Roy Marples (RETIRED) 2006-04-16 01:59:56 0000 -------
Created an attachment (id=84761) [details]
baselayout - wpa_supplicant - bash-3.1 patch

Please test this patch

------- Comment #6 From Ian 2006-04-16 02:38:44 0000 -------
Applied the patch, but still the same error, ndiswrapper (iw_set_tx_power:421):
setting tx_power failed (C0010015), so I have unapplied the patch and gone back
to bash-3.0-r12

------- Comment #7 From Silas Francisco 2006-04-16 08:52:15 0000 -------
For me, worked fine with this patch:

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

--- lib/rcscripts/net.modules.d/wpa_supplicant  (revision 1787)
+++ lib/rcscripts/net.modules.d/wpa_supplicant  (working copy)
@@ -99,7 +99,8 @@
 # Note that just because we are associated does not mean we are using the
 # correct encryption keys
 wpa_supplicant_associated() {
-       local -a status=( "$( wpa_cli -i${1} status | awk -F=
'/^key_mgmt|^wpa_state|^EAP state/ { print "\""$2"\"" }' )" )
+       local -a status
+       eval status=( $( wpa_cli -i"$1" status | awk -F=
'/^key_mgmt|^wpa_state|^EAP state/ { print "\""$2"\"" }' ) )

        case ${status[0]} in
                "NONE"  )               [[ ${status[1]} == "ASSOCIATED" ||
${status[1]} == "COMPLETED" ]] ;;
@@ -214,7 +215,8 @@

        # Set ESSID for essidnet and report
        ESSID=$( wpa_supplicant_get_essid ${iface} )
-       local -a status=( "$( wpa_cli -i${iface} status | awk -F=
'/^bssid|^pairwise_cipher|^key_mgmt/ { print "\""$2"\"" }' )" )
+       local -a status
+       eval status=( $( wpa_cli -i"${iface}" status | awk -F=
'/^bssid|^pairwise_cipher|^key_mgmt/ { print "\""$2"\"" }' ) )
        local mac=$( echo ${status[0]} | tr '[:lower:]' '[:upper:]' )
        einfo "${iface} connected to \"${ESSID//\\\\/\\\\}\" at ${mac}"

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

Just changed -i $"{iface} to -i "${iface}

------- Comment #8 From Silas Francisco 2006-04-16 08:59:03 0000 -------
Created an attachment (id=84782) [details]
Simple modification to the first patch

with original patch gave me this error:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

------- Comment #9 From Silas Francisco 2006-04-16 09:04:43 0000 -------
Created an attachment (id=84783) [details]
Simple modification to the first patch 2 - sorry

the first one worked too, but wasnt the patch i wanted to send :)
sorry guys, its my first time

------- Comment #10 From SpanKY 2006-04-16 12:55:52 0000 -------
so does the last patch work for everyone ?

------- Comment #11 From SpanKY 2006-04-16 13:05:41 0000 -------
*** Bug 130106 has been marked as a duplicate of this bug. ***

------- Comment #12 From Ian 2006-04-17 01:19:34 0000 -------
Yep, works for me as well... cheers.

------- Comment #13 From Stefano 2006-04-17 03:46:05 0000 -------
(In reply to comment #10)
> so does the last patch work for everyone ?

I confirm I had the bug (with ipw2100 and not ndiswrapper), and that the last
patch worked as a charm !

------- Comment #14 From Ian 2006-04-17 03:52:21 0000 -------
Thanks for the help and fixing the bug.

------- Comment #15 From Henrik Brix Andersen 2006-04-17 06:30:17 0000 -------
Please don't close a bug as FIXED until the Gentoo developers have committed
the patch.

------- Comment #16 From SpanKY 2006-04-17 08:34:34 0000 -------
baselayout-1.11.14-r8 now in portage with patch, thanks all

------- Comment #17 From SpanKY 2006-04-18 06:20:11 0000 -------
*** Bug 130350 has been marked as a duplicate of this bug. ***

------- Comment #18 From Antek GrzymaƂa 2006-04-19 16:29:29 0000 -------
*** Bug 130531 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug