[Bug 559020] New: iwconfig output is corrupted
http://bugzilla.novell.com/show_bug.cgi?id=559020 http://bugzilla.novell.com/show_bug.cgi?id=559020#c0 Summary: iwconfig output is corrupted Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091103 SUSE/3.5.5-1.1.2 Firefox/3.5.5 iwconfig is called in /etc/NetworkManager/dispatcher.d/netcontrol_services On a disassociated interface, iwconfig outputs garbage for the ESSID. This can very easily be seen. On a machine with wireless networking, disable wireless. iwconfig wlan0 wlan0 IEEE 802.11abgn ESSID:"\xC9*\xD9\x15\x01C/\xEE\x15\x02\x87a|\x13b\x9Ei\xFCr\x81\xCDqe\xA6>\xABI\xCFqK\xCE:" ... This data is also used in shell commands. Did not happen with openSUSE 10.X, 11.0, or 11.1 .. Nov 28 15:10:43 worklaptop netcontrol_services: calling 'ifdown-services wlan0-n(�L�j��әLy� Nov 28 15:10:43 worklaptop ifdown-services: wlan0-n(�L�j��әLy� Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=559020 http://bugzilla.novell.com/show_bug.cgi?id=559020#c Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium CC| |jeffm@novell.com AssignedTo|kernel-maintainers@forge.pr |jslaby@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=559020 http://bugzilla.novell.com/show_bug.cgi?id=559020#c Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=559020 http://bugzilla.novell.com/show_bug.cgi?id=559020#c1 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jnelson-suse@jamponi.net --- Comment #1 from Jiri Slaby <jslaby@novell.com> 2009-12-09 19:52:17 UTC --- What kernel version do you have? Is anything suspect in dmesg? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=559020 http://bugzilla.novell.com/show_bug.cgi?id=559020#c2 Jon Nelson <jnelson-suse@jamponi.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jnelson-suse@jamponi.net | --- Comment #2 from Jon Nelson <jnelson-suse@jamponi.net> 2009-12-09 20:10:52 UTC --- 2.6.31.5-0.1-default (current openSUSE 11.2 kernel for x86_64) nothing in dmesg. it's super easy to reproduce. connect to a wireless network then disconnect then use iwconfig wlan0 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=559020 http://bugzilla.novell.com/show_bug.cgi?id=559020#c3 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jslaby@novell.com AssignedTo|jslaby@novell.com |adrian@novell.com --- Comment #3 from Jiri Slaby <jslaby@novell.com> 2009-12-09 22:28:40 UTC --- Actually it's intentional. wpa_supplicant sourcecode of wpa_driver_wext_disconnect: for (i = 0; i < 32; i++) ssid[i] = rand() & 0xFF; wpa_driver_wext_set_ssid(drv, ssid, 32); -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=559020 http://bugzilla.novell.com/show_bug.cgi?id=559020#c4 --- Comment #4 from Jon Nelson <jnelson-suse@jamponi.net> 2009-12-09 23:01:14 UTC --- Well, that runs the risk of placing ascii control or non-printing characters in an ascii output that is meant to be parsed by other programs! Empty string wasn't good enough? Why not just memset(ssid, 0, 32) ? IMO, since the output here is meant to be parsed by other programs, this needs to change. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=559020 https://bugzilla.novell.com/show_bug.cgi?id=559020#c5 --- Comment #5 from Jon Nelson <jnelson-suse@jamponi.net> 2010-09-07 14:47:41 UTC --- ping? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=559020 https://bugzilla.novell.com/show_bug.cgi?id=559020#c7 Juergen Weigert <jw@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jw@novell.com |vbotka@novell.com --- Comment #7 from Juergen Weigert <jw@novell.com> 2010-11-12 11:33:33 UTC --- /usr/sbin/iwconfig is part of wireless-tools. Vladimir, is this yours? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=559020 https://bugzilla.novell.com/show_bug.cgi?id=559020#c8 --- Comment #8 from Vladimir Botka <vbotka@novell.com> 2010-11-12 12:15:55 UTC --- (In reply to comment #7)
/usr/sbin/iwconfig is part of wireless-tools. Vladimir, is this yours?
Yes. It is. I understand the problem but iwconfig is going to be replaced with iw [1,2] . NM shall be working with this. In the scripts it would be good to use iw for future compatibility. Jon, if there are no serious objections can I close it here as WONTFIX ? [1] http://linuxwireless.org/en/users/Documentation/iw [2] # iw dev wlan0 link Connected to 00:12:17:70:2f:1b (on wlan0) SSID: vlado-test-ap3 freq: 2437 RX: 5843013 bytes (46583 packets) TX: 186792 bytes (1125 packets) signal: -28 dBm tx bitrate: 54.0 MBit/s -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=559020 https://bugzilla.novell.com/show_bug.cgi?id=559020#c9 --- Comment #9 from Jon Nelson <jnelson-suse@jamponi.net> 2010-11-19 14:51:00 UTC --- Would 'iw' suffer from the same random-character-stuffing that iwconfig does? If the answer is 'no' then go ahead and close. Otherwise, it seems to me that the bug would *also* apply to 'iw'. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=559020 https://bugzilla.novell.com/show_bug.cgi?id=559020#c10 Uwe Drechsel <uwedr@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |WONTFIX --- Comment #10 from Uwe Drechsel <uwedr@suse.com> 2011-08-26 12:53:21 CEST --- The lifecycle of openSUSE 11.2 ended on May 12th 2011. I'm closing this bug to make it easier to focus on upcoming releases. Thank you for reporting this issue and we are sorry that we have not be able to fix it before this version reached its end of life. If you would still like to see this bug fixed and are able to reproduce it against a maintained version, please reopen this bug and change the 'version' of this bug to the applicable version. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=559020 https://bugzilla.novell.com/show_bug.cgi?id=559020#c11 --- Comment #11 from Uwe Drechsel <uwedr@suse.com> 2011-08-26 12:57:46 CEST --- The lifecycle of openSUSE 11.2 ended on May 12th 2011. I'm closing this bug to make it easier to focus on upcoming releases. Thank you for reporting this issue and we are sorry that we have not be able to fix it before this version reached its end of life. If you would still like to see this bug fixed and are able to reproduce it against a maintained version, please reopen this bug and change the 'version' of this bug to the applicable version. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com