Bug 13725 - wpa_supplicant: can not authenticate with an IEEE802.11b card using the orinoco card system
Summary: wpa_supplicant: can not authenticate with an IEEE802.11b card using the orino...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2014-07-11 17:29 CEST by Elmar Stellnberger
Modified: 2016-03-01 00:47 CET (History)
3 users (show)

See Also:
Source RPM: wpa_supplicant
CVE:
Status comment:


Attachments
dhclient.conf (160 bytes, text/plain)
2014-07-11 17:36 CEST, Elmar Stellnberger
Details
wpa_computerzimmer.conf (206 bytes, text/plain)
2014-07-11 17:37 CEST, Elmar Stellnberger
Details
journalctl - repeated all steps + shorewall cfg (48.59 KB, application/x-bzip2)
2016-01-09 19:10 CET, Elmar Stellnberger
Details
output of lspcidrake (2.43 KB, text/plain)
2016-01-09 19:11 CET, Elmar Stellnberger
Details
wpa_supplicant messages (13.23 KB, text/plain)
2016-01-09 19:41 CET, Elmar Stellnberger
Details
journalctl - messages for trying the orinoco card (113.94 KB, text/plain)
2016-01-09 19:42 CET, Elmar Stellnberger
Details

Description Elmar Stellnberger 2014-07-11 17:29:21 CEST
# lsmod | grep rt2800
rt2800usb              22485  0 
rt2x00usb              20041  1 rt2800usb
rt2800lib              82919  1 rt2800usb
rt2x00lib              48885  3 rt2x00usb,rt2800lib,rt2800usb
mac80211              446944  3 rt2x00lib,rt2x00usb,rt2800lib
crc_ccitt              12627  1 rt2800lib
usbcore               190060  6 rt2x00usb,usb_storage,ohci_hcd,ohci_pci,rt2800usb,usbhid

#  wpa_supplicant -c wpa_computerzimmer.conf -Dwext -iwlp0s2f2u1
Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
wlp0s2f2u1: Trying to associate with 38:22:9d:82:8b:8a (SSID='WLAN Computerzimmer' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlp0s2f2u1: Association request to the driver failed
wlp0s2f2u1: Associated with 38:22:9d:82:8b:8a
wlp0s2f2u1: WPA: Key negotiation completed with 38:22:9d:82:8b:8a [PTK=CCMP GTK=TKIP]
wlp0s2f2u1: CTRL-EVENT-CONNECTED - Connection to 38:22:9d:82:8b:8a completed [id=0 id_str=]
wlp0s2f2u1: WPA: Group rekeying completed with 38:22:9d:82:8b:8a [GTK=TKIP]


# dhclient -v -d -lf home.lease -pf home.pid -cf dhclient.conf wlp0s2f2u1
Internet Systems Consortium DHCP Client 4.2.5-P1
Copyright 2004-2013 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlp0s2f2u1/14:d6:4d:46:68:b5
Sending on   LPF/wlp0s2f2u1/14:d6:4d:46:68:b5
Sending on   Socket/fallback
DHCPREQUEST on wlp0s2f2u1 to 255.255.255.255 port 67
DHCPACK from 10.0.0.1
bound to 10.0.0.52 -- renewal in 32491 seconds.

# ifconfig -a
enp0s3    Link encap:Ethernet  Hardware Adresse 00:A0:CC:D9:B3:DA  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:3243 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2576 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:3143500 (2.9 MiB)  TX bytes:273188 (266.7 KiB)

lo        Link encap:Lokale Schleife  
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:73053 errors:0 dropped:0 overruns:0 frame:0
          TX packets:73053 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX bytes:8130338 (7.7 MiB)  TX bytes:8130338 (7.7 MiB)

wlp0s2f2u1 Link encap:Ethernet  Hardware Adresse 14:D6:4D:46:68:B5  
          inet Adresse:10.0.0.52  Bcast:10.0.0.255  Maske:255.255.255.0
          inet6 Adresse: fe80::16d6:4dff:fe46:68b5/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:136 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:21648 (21.1 KiB)  TX bytes:5307 (5.1 KiB)

# ip route
default via 10.0.0.1 dev wlp0s2f2u1 
10.0.0.0/24 dev wlp0s2f2u1  proto kernel  scope link  src 10.0.0.52 

# arping -Iwlp0s2f2u1 10.0.0.1
ARPING 10.0.0.1 from 10.0.0.52 wlp0s2f2u1
Unicast reply from 10.0.0.1 [38:22:9D:82:8B:85]  64.124ms
Unicast reply from 10.0.0.1 [38:22:9D:82:8B:85]  64.707ms
Unicast reply from 10.0.0.1 [38:22:9D:82:8B:85]  65.388ms
Unicast reply from 10.0.0.1 [38:22:9D:82:8B:85]  73.065ms
^CSent 4 probes (1 broadcast(s))
Received 4 response(s)

# ping -d -c 8 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
From 10.0.0.52 icmp_seq=1 Destination Host Unreachable
From 10.0.0.52 icmp_seq=1 Destination Host Unreachable
From 10.0.0.52 icmp_seq=1 Destination Host Unreachable
From 10.0.0.52 icmp_seq=1 Destination Host Unreachable
From 10.0.0.52 icmp_seq=1 Destination Host Unreachable
From 10.0.0.52 icmp_seq=1 Destination Host Unreachable
From 10.0.0.52 icmp_seq=1 Destination Host Unreachable
From 10.0.0.52 icmp_seq=1 Destination Host Unreachable

--- 10.0.0.1 ping statistics ---
0 packets transmitted, 0 received, +8 errors

# arp -a
? (10.0.0.1) auf 38:22:9d:82:8b:85 [ether] auf wlp0s2f2u1

... it does not even  seem to wait for the response on a ping.

Reproducible: 

Steps to Reproduce:
Comment 1 Elmar Stellnberger 2014-07-11 17:36:04 CEST
Created attachment 5282 [details]
dhclient.conf
Comment 2 Elmar Stellnberger 2014-07-11 17:37:07 CEST
Created attachment 5283 [details]
wpa_computerzimmer.conf
Comment 3 Marja Van Waes 2015-09-21 10:51:34 CEST
Installer and Release bugs should always be set to cauldron, because once the isos for a stable version have been created, they cannot be changed.

This bug was filed very long ago, for Mageia 4. Was this bug still valid for Mageia 5?

(If so, please do _not_ set the version to "5". Only asking because if it was still valid for Mageia 5, that then we'll know we'll have to pay attention to this issue when testing the 6 alpha's and later).

Please close this bug report if the problem was solved in Mageia 5hhhh

Keywords: (none) => NEEDINFO
Version: 4 => Cauldron

Comment 4 Rémi Verschelde 2015-09-21 11:39:54 CEST
Sorry for having overlooked this bug report. It's likely an issue with wpa_supplicant or similar, so not a "Release" bug as stated above.

Could you test with Mageia 5 or Cauldron to see if the issue is still there? Or did you manage to solve it in the end?

CC: sysadmin-bugs => mageia, thierry.vignaud
Component: Release (media or process) => RPM Packages
Version: Cauldron => 4
Source RPM: (none) => wpa_supplicant

Comment 5 Elmar Stellnberger 2015-09-21 12:04:13 CEST
Hi Marja, Hi Rémi! No, I did not look after this bug any more in the meanwhile. As far as I remember it was filed with an USB WLAN stick from DLINK and a machine called GC Frontman. It should be possible to retest it with the WLAN stick and Cauldron on another machine (as I do not have the GC Frontman here at lake Ossiach). However I will have to fetch the WLAN stick first which may last a few days.
Comment 6 Samuel Verschelde 2015-09-21 13:19:47 CEST
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't 
able to fix it before Mageia 4's end of life. If you are able to reproduce it 
against a later version of Mageia, you are encouraged to click on "Version" and 
change it against that version of Mageia. If it's valid in several versions, 
select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/
Comment 7 Marja Van Waes 2015-10-27 06:57:05 CET
As announced over a month ago, Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer maintained, which means that it will not receive any further security or bug fix updates.

This issue may have been fixed in a later Mageia release, so, if you still see it and didn't already do so: please upgrade to Mageia 5 (or, if you read this much later than this is written: make sure you run a currently maintained Mageia version)

If you are able to reproduce it against a maintained version of Mageia, you are encouraged to 
1. reopen this bug report, by changing the "Status" from "RESOLVED - OLD" to "REOPENED"
2. click on "Version" and change it against that version of Mageia. If you know it's valid in several versions, select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.
3. give as much relevant information as possible. If you're not an experienced bug reporter and have some time: please read this page:
https://wiki.mageia.org/en/How_to_report_a_bug_properly

If you see a similar issue, but are _not_sure_ it is the same, with the same cause, then please file a new bug report and mention this one in it (please include the bug number, too). 


If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].
[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/

Status: NEW => RESOLVED
Resolution: (none) => OLD

Comment 8 Elmar Stellnberger 2016-01-08 21:18:27 CET
repeated all steps in comment #1 under Mageia 5 / 4.1.13-desktop-2.mga5 with the exactly same results as in comment #1; i.e. bug persists in spite of the latest wifi updates.

Status: RESOLVED => REOPENED
Resolution: OLD => (none)

Comment 9 Marja Van Waes 2016-01-09 15:52:32 CET
(In reply to Elmar Stellnberger from comment #8)
> repeated all steps in comment #1 under Mageia 5 / 4.1.13-desktop-2.mga5 with
> the exactly same results as in comment #1; i.e. bug persists in spite of the
> latest wifi updates.

Thanks for the feedback, Elmar.

Please attach journalctl.txt that is the result of (as root):

   journalctl -b > journalctl.txt

and the output of:  
    
   lspcidrake -v

CC: (none) => marja11
Version: 4 => 5
Assignee: bugsquad => tmb

Comment 10 Elmar Stellnberger 2016-01-09 19:10:22 CET
Created attachment 7329 [details]
journalctl - repeated all steps + shorewall cfg

It turned out that shorewall was not configured for any dynamically added network interfaces; I have finally done so by adding the following lines to /etc/shorewall/interfaces and by invoking shorewall restart:
net     eth0    detect
net     wlp0s2f3u1   detect
Comment 11 Elmar Stellnberger 2016-01-09 19:11:38 CET
Created attachment 7330 [details]
output of lspcidrake

here for completeness reasons some info about my hardware.
Elmar Stellnberger 2016-01-09 19:12:31 CET

Attachment 7329 mime type: text/plain => application/x-bzip2

Comment 12 Elmar Stellnberger 2016-01-09 19:33:54 CET
  As it turned out there was just a configuration issue when using my ralink network card. The following IEEE802.11b card supported by the orinoco card system seems to have a real problem though:

# lspcmcia 
Socket 0 Bridge:        [yenta_cardbus]         (bus ID: 0000:00:08.0)
Socket 0 Device 0:      [orinoco_cs]            (bus ID: 0.0) 
                                                                            # #iwlist eth0 scanning
#eth0      Scan completed :
          Cell 01 - Address: 38:22:9D:82:8B:8A
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=70/70  Signal level=-11 dBm  
                    Encryption key:on
                    ESSID:"aonmodem"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 69ms ago
                    IE: Unknown: 0008616F6E6D6F64656D
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 17C00000000000000000000000000000000000000000
Comment 13 Elmar Stellnberger 2016-01-09 19:41:09 CET
Created attachment 7331 [details]
wpa_supplicant messages

As the output of wpa_supplicant shows it fails to authenticate with this card (used same configuration as with the ralink):
wpa_supplicant -c wpa_computerzimmer.conf -Dwext -ieth0

  With -Dwired it is less verbose but does not work either.
wpa_supplicant -c wpa_computerzimmer.conf -Dwired -ieth0
Successfully initialized wpa_supplicant
eth0: Associated with 01:80:c2:00:00:03
^C
Comment 14 Elmar Stellnberger 2016-01-09 19:42:30 CET
Created attachment 7332 [details]
journalctl - messages for trying the orinoco card
Elmar Stellnberger 2016-01-09 19:45:52 CET

Summary: no (inter)net access with wlan: can do an arping but not a ping or any other network communication => wpa_supplicant: can not authenticate with an IEEE802.11b card using the orinoco card system

Comment 15 Elmar Stellnberger 2016-03-01 00:47:57 CET
  For the orinoco_cs I have now opened a bug at the kernel bug tracker: https://bugzilla.kernel.org/show_bug.cgi?id=113461
  Marking as resolved since the original issue has in deed been resolved.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.