Welcome to the Linux Foundation Forum!

Association request to the driver failed

this is my syslog:

Dec 25 14:04:25 CoYoTe NetworkManager: Activation (wlan0) starting connection 'Auto C54BRS4A'

Dec 25 14:04:25 CoYoTe NetworkManager: (wlan0): device state change: 3 -> 4 (reason 0)

Dec 25 14:04:25 CoYoTe NetworkManager: Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...

Dec 25 14:04:25 CoYoTe NetworkManager: Activation (wlan0) Stage 1 of 5 (Device Prepare) started...

Dec 25 14:04:25 CoYoTe NetworkManager: Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...

Dec 25 14:04:25 CoYoTe NetworkManager: Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.

Dec 25 14:04:25 CoYoTe NetworkManager: Activation (wlan0) Stage 2 of 5 (Device Configure) starting...

Dec 25 14:04:25 CoYoTe NetworkManager: (wlan0): device state change: 4 -> 5 (reason 0)

Dec 25 14:04:25 CoYoTe NetworkManager: Activation (wlan0/wireless): connection 'Auto C54BRS4A' requires no security. No secrets needed.

Dec 25 14:04:25 CoYoTe NetworkManager: Config: added 'ssid' value 'C54BRS4A'

Dec 25 14:04:25 CoYoTe NetworkManager: Config: added 'scan_ssid' value '1'

Dec 25 14:04:25 CoYoTe NetworkManager: Config: added 'key_mgmt' value 'NONE'

Dec 25 14:04:25 CoYoTe NetworkManager: Activation (wlan0) Stage 2 of 5 (Device Configure) complete.

Dec 25 14:04:25 CoYoTe NetworkManager: Config: set interface ap_scan to 1

Dec 25 14:04:25 CoYoTe NetworkManager: (wlan0): supplicant connection state: scanning -> disconnected

Dec 25 14:04:25 CoYoTe NetworkManager: (wlan0): supplicant connection state: disconnected -> scanning

Dec 25 14:04:26 CoYoTe wpa_supplicant[1093]: WPS-AP-AVAILABLE

Dec 25 14:04:41 CoYoTe wpa_supplicant[1093]: last message repeated 2 times

i have't wpa_supplicant.conf in /etc, i have it in /etc/dbus-1/system.d/wpa_supplicant.conf

<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"&gt;
<busconfig>
<policy user="root">
<allow own="fi.epitest.hostap.WPASupplicant"/>

<allow send_destination="fi.epitest.hostap.WPASupplicant"/>
<allow send_interface="fi.epitest.hostap.WPASupplicant"/>
</policy>
<policy group="netdev">
<allow send_destination="fi.epitest.hostap.WPASupplicant"/>
<allow send_interface="fi.epitest.hostap.WPASupplicant"/>
</policy>
<policy context="default">
<deny own="fi.epitest.hostap.WPASupplicant"/>
<deny send_destination="fi.epitest.hostap.WPASupplicant"/>
<deny send_interface="fi.epitest.hostap.WPASupplicant"/>
</policy>
</busconfig>


i am using:

ubuntu 10.04 lts

2.6.32-24-generic

Wireless interface

product: AR9285 Wireless Network Adapter (PCI-Express)

vendor: Atheros Communications Inc.

physical id: 0

bus info: pci@0000:08:00.0

logical name: wlan0

version: 01

serial: 78:e4:00:1c:d2:79

width: 64 bits

clock: 33MHz

capabilities: bus_master cap_list ethernet physical wireless

configuration: broadcast=yes driver=ath9k ip=192.168.0.45 latency=0 multicast=yes wireless=IEEE 802.11bgn

resources: irq:17 memory:f1200000-f120ffff

i need help, because i dont connect wifi

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • i found it:

    https://bugs.launchpad.net/ubuntu/+source/wpasupplicant/+bug/578431

    now i know is a bug, but i have a problem, i need help for this mistake
    :(
  • Posts: 2,177
    judging by the bug report it does appear that wpa-supplicant is configured incorrectly, most likely it is not loading the madwifi or atheros drivers correctly. Have you attempted to recompile wpa-supplicant yourself with other options to find a configuration that resolves your issue?

    If you decide to try to compile it yourself I recommend checking out the slackware build script for wpa_supplicant to understand what all must be done to make it work with various chipsets. Once you can get a stable configuration you can submit it to the bug report as a solution to hep the other users.
  • ok, i will try compile the wpasupplicant, and then report my experience.

    now i am using:
    apt-show-versions | grep wpa
    wpasupplicant/lucid uptodate 0.6.9-3ubuntu3
  • ruben@CoYoTe:~/Descargas/wpa_supplicant-0.7.3/wpa_supplicant$ make
    CC config.c
    CC notify.c
    CC bss.c
    CC eap_register.c
    CC ../src/utils/common.c
    CC ../src/utils/wpa_debug.c
    CC ../src/utils/wpabuf.c
    CC ../src/utils/os_unix.c
    CC ../src/utils/eloop.c
    CC config_file.c
    CC ../src/rsn_supp/wpa.c
    CC ../src/rsn_supp/preauth.c
    CC ../src/rsn_supp/pmksa_cache.c
    CC ../src/rsn_supp/peerkey.c
    CC ../src/rsn_supp/wpa_ie.c
    CC ../src/common/wpa_common.c
    CC ../src/eap_peer/eap_tls.c
    CC ../src/eap_peer/eap_peap.c
    CC ../src/eap_common/eap_peap_common.c
    CC ../src/eap_peer/eap_ttls.c
    CC ../src/eap_peer/eap_md5.c
    CC ../src/eap_peer/eap_mschapv2.c
    CC ../src/eap_peer/mschapv2.c
    CC ../src/eap_peer/eap_gtc.c
    CC ../src/eap_peer/eap_otp.c
    CC ../src/eap_peer/eap_sim.c
    CC ../src/eap_peer/eap_leap.c
    CC ../src/eap_peer/eap_psk.c
    CC ../src/eap_common/eap_psk_common.c
    CC ../src/eap_peer/eap_aka.c
    CC ../src/eap_common/eap_sim_common.c
    CC ../src/eap_peer/eap_pax.c
    CC ../src/eap_common/eap_pax_common.c
    CC ../src/eap_peer/eap_sake.c
    CC ../src/eap_common/eap_sake_common.c
    CC ../src/eap_peer/eap_gpsk.c
    CC ../src/eap_common/eap_gpsk_common.c
    CC ../src/eap_peer/eap_ikev2.c
    CC ../src/eap_peer/ikev2.c
    CC ../src/eap_common/eap_ikev2_common.c
    CC ../src/eap_common/ikev2_common.c
    CC ../src/eapol_supp/eapol_supp_sm.c
    CC ../src/eap_peer/eap.c
    CC ../src/eap_peer/eap_methods.c
    CC ../src/utils/pcsc_funcs.c
    CC ../src/crypto/ms_funcs.c
    CC ../src/eap_common/chap.c
    CC ../src/eap_peer/eap_tls_common.c
    CC ../src/crypto/tls_openssl.c
    CC ../src/crypto/crypto_openssl.c
    CC ../src/crypto/fips_prf_openssl.c
    CC ../src/crypto/aes-unwrap.c
    CC ../src/crypto/aes-eax.c
    CC ../src/crypto/aes-ctr.c
    CC ../src/crypto/aes-encblock.c
    CC ../src/crypto/aes-omac1.c
    CC ../src/crypto/aes-cbc.c
    CC ../src/crypto/md5.c
    CC ../src/crypto/sha256.c
    CC ../src/crypto/dh_groups.c
    CC ../src/utils/base64.c
    CC ../src/eap_common/eap_common.c
    CC ../src/crypto/sha1.c
    CC ../src/crypto/sha1-pbkdf2.c
    CC ../src/crypto/sha1-tlsprf.c
    CC wpa_supplicant.c
    CC events.c
    CC blacklist.c
    CC wpas_glue.c
    CC scan.c
    CC main.c
    make: *** No hay ninguna regla para construir el objetivo `../src/drivers/driver_hermes.o', necesario para `wpa_supplicant'. Alto.

    In english: there isnt some rule to build this object ../src/drivers/driver_hermes.o', necesario para `wpa_supplicant'. stop.

    i´m sorry, my english isn´t good:(
  • i know solve this problem. In the .config file that i made, i deleted the lines of drivers i dont need.

    But i now i have other problem. :(
    ../src/drivers/driver_madwifi.c:37:28: warning: include/compat.h: No existe el archivo o directorio
    ../src/drivers/driver_madwifi.c:38:32: warning: net80211/ieee80211.h: No existe el archivo o directorio
    ../src/drivers/driver_madwifi.c:44:39: warning: net80211/ieee80211_crypto.h: No existe el archivo o directorio
    ../src/drivers/driver_madwifi.c:45:38: warning: net80211/ieee80211_ioctl.h: No existe el archivo o directorio
    ../src/drivers/driver_madwifi.c: In function ‘set80211priv’:
    ../src/drivers/driver_madwifi.c:1298: error: ‘IEEE80211_IOCTL_SET_APPIEBUF’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1298: error: (Each undeclared identifier is reported only once
    ../src/drivers/driver_madwifi.c:1298: error: for each function it appears in.)
    ../src/drivers/driver_madwifi.c:1352: error: ‘IEEE80211_IOCTL_SETPARAM’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1353: error: ‘IEEE80211_IOCTL_CHANLIST’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c: In function ‘set80211param’:
    ../src/drivers/driver_madwifi.c:1396: error: ‘IEEE80211_IOCTL_SETPARAM’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c: In function ‘wpa_driver_madwifi_set_wpa_ie’:
    ../src/drivers/driver_madwifi.c:1416: error: ‘IEEE80211_IOCTL_SETOPTIE’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c: In function ‘wpa_driver_madwifi_del_key’:
    ../src/drivers/driver_madwifi.c:1427: error: storage size of ‘wk’ isn’t known
    ../src/drivers/driver_madwifi.c:1433: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1435: error: ‘IEEE80211_IOCTL_DELKEY’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1427: warning: unused variable ‘wk’
    ../src/drivers/driver_madwifi.c: In function ‘wpa_driver_madwifi_set_key’:
    ../src/drivers/driver_madwifi.c:1445: error: storage size of ‘wk’ isn’t known
    ../src/drivers/driver_madwifi.c:1467: error: ‘IEEE80211_CIPHER_WEP’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1471: error: ‘IEEE80211_CIPHER_TKIP’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1475: error: ‘IEEE80211_CIPHER_AES_CCM’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1500: error: ‘IEEE80211_KEY_RECV’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1503: error: ‘IEEE80211_KEY_GROUP’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1505: error: ‘IEEE80211_KEY_XMIT’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1505: error: ‘IEEE80211_KEY_DEFAULT’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1506: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1526: error: ‘IEEE80211_IOCTL_SETKEY’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1445: warning: unused variable ‘wk’
    ../src/drivers/driver_madwifi.c: In function ‘wpa_driver_madwifi_set_countermeasures’:
    ../src/drivers/driver_madwifi.c:1534: error: ‘IEEE80211_PARAM_COUNTERMEASURES’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c: In function ‘wpa_driver_madwifi_deauthenticate’:
    ../src/drivers/driver_madwifi.c:1541: error: storage size of ‘mlme’ isn’t known
    ../src/drivers/driver_madwifi.c:1544: error: ‘IEEE80211_MLME_DEAUTH’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1546: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1547: error: ‘IEEE80211_IOCTL_SETMLME’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1541: warning: unused variable ‘mlme’
    ../src/drivers/driver_madwifi.c: In function ‘wpa_driver_madwifi_disassociate’:
    ../src/drivers/driver_madwifi.c:1554: error: storage size of ‘mlme’ isn’t known
    ../src/drivers/driver_madwifi.c:1557: error: ‘IEEE80211_MLME_DISASSOC’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1559: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1560: error: ‘IEEE80211_IOCTL_SETMLME’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1554: warning: unused variable ‘mlme’
    ../src/drivers/driver_madwifi.c: In function ‘wpa_driver_madwifi_associate’:
    ../src/drivers/driver_madwifi.c:1568: error: storage size of ‘mlme’ isn’t known
    ../src/drivers/driver_madwifi.c:1573: error: ‘IEEE80211_PARAM_DROPUNENCRYPTED’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1597: error: ‘IEEE80211_PARAM_PRIVACY’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1601: error: ‘IEEE80211_PARAM_WPA’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1610: error: ‘IEEE80211_PARAM_ROAMING’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1623: error: ‘IEEE80211_MLME_ASSOC’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1624: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1625: error: ‘IEEE80211_IOCTL_SETMLME’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1568: warning: unused variable ‘mlme’
    ../src/drivers/driver_madwifi.c: In function ‘wpa_driver_madwifi_set_auth_alg’:
    ../src/drivers/driver_madwifi.c:1644: error: ‘IEEE80211_AUTH_AUTO’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1646: error: ‘IEEE80211_AUTH_SHARED’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1648: error: ‘IEEE80211_AUTH_OPEN’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1650: error: ‘IEEE80211_PARAM_AUTHMODE’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c: In function ‘wpa_driver_madwifi_set_probe_req_ie’:
    ../src/drivers/driver_madwifi.c:1729: error: dereferencing pointer to incomplete type
    ../src/drivers/driver_madwifi.c:1733: error: dereferencing pointer to incomplete type
    ../src/drivers/driver_madwifi.c:1733: error: ‘IEEE80211_APPIE_FRAME_PROBE_REQ’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1734: error: dereferencing pointer to incomplete type
    ../src/drivers/driver_madwifi.c:1735: error: dereferencing pointer to incomplete type
    ../src/drivers/driver_madwifi.c:1737: error: ‘IEEE80211_IOCTL_SET_APPIEBUF’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1738: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211req_getset_appiebuf’
    ../src/drivers/driver_madwifi.c: In function ‘wpa_driver_madwifi_init’:
    ../src/drivers/driver_madwifi.c:1764: error: ‘IEEE80211_PARAM_ROAMING’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1770: error: ‘IEEE80211_PARAM_WPA’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c: In function ‘wpa_driver_madwifi_deinit’:
    ../src/drivers/driver_madwifi.c:1796: error: ‘IEEE80211_PARAM_ROAMING’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1800: error: ‘IEEE80211_PARAM_PRIVACY’ undeclared (first use in this function)
    ../src/drivers/driver_madwifi.c:1804: error: ‘IEEE80211_PARAM_WPA’ undeclared (first use in this function)
    make: *** [../src/drivers/driver_madwifi.o] Error 1

    i understand the problem but i dont know the package i have to install. some idea???
  • Posts: 2,177
    This post is directly related to your other post at http://www.linux.com/community/forums?func=view&catid=8&id=8888&limit=6&start=6#8946 , lets keep all future contact on the other post to keep the data organized.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training