Madwifi and NetworkManager (was Re: FC5 on IBM ThinkPad T43)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-04-14 at 12:44 -0400, Robert Locke wrote: 
> On Fri, 2006-04-14 at 09:16 -0700, Sean Bruno wrote:
> > FC5 installed very smoothly on this laptop.  No real issues at this
> > point save the Atheros Wireless NIC.
> > 
> > 04:02.0 Ethernet controller: Atheros Communications, Inc. AR5212
> > 802.11abg NIC (rev 01)
> > 
> > 
> > I installed the livna RPM's:
> > madwifi-0.0.0.20060317-4.lvn5
> > kmod-madwifi-0.0.0.20060317-3.2.6.16_1.2080_FC5
> > 
> > I have been trying to use NetworkManger (version
> > NetworkManager-0.6.2-1.fc5 from updates testing) to get the connected to
> > my wireless network in any mode(en-encrypted, WEP or WAP).  I haven't been having much success at this
> > point.
> > 
> > NetworkManager shows several wireless networks available, some locked(shown with a padlock icon) and others unlocked.
> > 
> > 
> > Anyone got a madwifi HOWTO to point me at for FC5 or a piece of information that
> > I am missing to get me going?
> > 
> 
> Try copying the three lines from /etc/modprobe.d/madwifi
> into /etc/modprobe.conf.  I then rebooted and was able to use
> system-config-network to configure ath0....  I do not use NetworkManager
> nor do I use WPA - so YMMV on those - but I am able to use WEP on my T40
> and reconfigure it with system-config-network.....
> 
> --Rob
> 
Hmmm...that didn't seem to do anything for me...


Maybe I am tripping over something in NetworkManager ... Looking at the
logs that it generates, it seems that it can't do WPA out of the box or
it is not supported even thought wpa_supplicant is installed(weird).

What's even weirder is that I can't associate with a wide-open AP.  Here
are some logs (/var/log/messages).  Maybe someone with a few seconds can
peruse them and tell me what I have screwed up.

Apr 14 10:42:42 framd NetworkManager: <information>     Activation
(ath0) started...
Apr 14 10:42:42 framd NetworkManager: <information>     Activation
(ath0) Stage 1 of 5 (Device Prepare) scheduled...
Apr 14 10:42:42 framd NetworkManager: <information>     Old device
'ath0' activating, won't change.
Apr 14 10:42:42 framd NetworkManager: <information>     Activation
(ath0) Stage 1 of 5 (Device Prepare) started...
Apr 14 10:42:42 framd NetworkManager: <information>     Activation
(ath0) Stage 2 of 5 (Device Configure) scheduled...
Apr 14 10:42:42 framd NetworkManager: <information>     Activation
(ath0) Stage 1 of 5 (Device Prepare) complete.
Apr 14 10:42:42 framd NetworkManager: <information>     Activation
(ath0) Stage 2 of 5 (Device Configure) starting...
Apr 14 10:42:42 framd NetworkManager: <information>     Activation
(ath0/wireless): access point 'NWFSC' is encrypted, but NO valid key
exists.  New key needed.
Apr 14 10:42:42 framd NetworkManager: <information>     Activation
(ath0) New wireless user key requested for network 'NWFSC'.
Apr 14 10:42:42 framd NetworkManager: <information>     Activation
(ath0) Stage 2 of 5 (Device Configure) complete.


At this point(on a AP with WAP), I get a pop-up that states:
"The requested wireless network requires security capabilities
unsupported by your hardware"

I don't get this message if I use the madwifi-ng RPM's from:
http://homepages.nildram.co.uk/~phekda/richdawe/fedora/FC5/i386/

I get the WAP password prompt, but that's about it.  I attached a log
from that attempt.

any guidance would be appreciated.




Sean Bruno
Apr 14 11:30:00 localhost NetworkManager: <information> Activation (ath0) New wireless user key for network 'NWFSC' received.
Apr 14 11:30:00 localhost NetworkManager: <information> Activation (ath0) Stage 1 of 5 (Device Prepare) scheduled...
Apr 14 11:30:00 localhost NetworkManager: <information> Activation (ath0) Stage 1 of 5 (Device Prepare) started...
Apr 14 11:30:00 localhost NetworkManager: <information> Activation (ath0) Stage 2 of 5 (Device Configure) scheduled...
Apr 14 11:30:00 localhost NetworkManager: <information> Activation (ath0) Stage 1 of 5 (Device Prepare) complete.
Apr 14 11:30:00 localhost NetworkManager: <information> Activation (ath0) Stage 2 of 5 (Device Configure) starting...
Apr 14 11:30:00 localhost NetworkManager: <information> Activation (ath0/wireless): access point 'NWFSC' is encrypted, and a key exists.  No new key needed.
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: sending command 'INTERFACE_ADD ath0                madwifi /var/run/wpa_supplicant '
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: response was 'OK'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: sending command 'AP_SCAN 1'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: response was 'OK'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: sending command 'ADD_NETWORK'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: response was '0'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: sending command 'SET_NETWORK 0 ssid 4e57465343'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: response was 'OK'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: sending command 'SET_NETWORK 0 proto WPA'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: response was 'OK'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: sending command 'SET_NETWORK 0 key_mgmt WPA-PSK'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: response was 'OK'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: sending command 'SET_NETWORK 0 psk <key>'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: response was 'OK'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: sending command 'SET_NETWORK 0 pairwise TKIP'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: response was 'OK'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: sending command 'SET_NETWORK 0 group TKIP'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: response was 'OK'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: sending command 'ENABLE_NETWORK 0'
Apr 14 11:30:01 localhost NetworkManager: <information> SUP: response was 'OK'
Apr 14 11:30:01 localhost NetworkManager: <information> Activation (ath0) Stage 2 of 5 (Device Configure) complete.
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): Global control interface '/var/run/wpa_supplicant-global'
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): RX global ctrl_iface - hexdump_ascii(len=52):
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      49 4e 54 45 52 46 41 43 45 5f 41 44 44 20 61 74   INTERFACE_ADD at
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      68 30 09 09 6d 61 64 77 69 66 69 09 2f 76 61 72   h0__madwifi_/var
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      2f 72 75 6e 2f 77 70 61 5f 73 75 70 70 6c 69 63   /run/wpa_supplic
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      61 6e 74 09                                       ant_
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): CTRL_IFACE GLOBAL INTERFACE_ADD 'ath0             madwifi /var/run/wpa_supplicant '
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): Initializing interface 'ath0' conf 'N/A' driver 'madwifi' ctrl_interface '/var/run/wpa_supplicant'
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): Initializing interface (2) 'ath0'
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): EAPOL: SUPP_PAE entering state DISCONNECTED
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): EAPOL: KEY_RX entering state NO_KEY_RECEIVE
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): EAPOL: SUPP_BE entering state INITIALIZE
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): EAP: EAP entering state DISABLED
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): EAPOL: External notification - portEnabled=0
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): EAPOL: External notification - portValid=0
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): SIOCGIWRANGE: WE(compiled)=19 WE(source)=19 enc_capa=0xf
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):   capabilities: key_mgmt 0xf enc 0xf
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): Own MAC address: 00:14:a4:6b:56:d8
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): wpa_driver_madwifi_del_key: keyidx=0
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): r_madwifi_del_key: keyidx=1
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): wpa_driver_madwifi_del_key: keyidx=2
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): wpa_driver_madwifi_del_key: keyidx=3
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): wpa_driver_madwifi_set_countermeasures: enabled=0
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): wpa_driver_madwifi_set_drop_unencrypted: enabled=1
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): Setting scan request: 0 sec 100000 usec
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): Added interface ath0
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): Wireless event: cmd=0x8b06 len=8
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): RX ctrl_iface - hexdump_ascii(len=9):
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      41 50 5f 53 43 41 4e 20 31                        AP_SCAN 1
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): RX ctrl_iface - hexdump_ascii(len=11):
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      41 44 44 5f 4e 45 54 57 4f 52 4b                  ADD_NETWORK
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): CTRL_IFACE: ADD_NETWORK
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): RX ctrl_iface - hexdump_ascii(len=29):
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      53 45 54 5f 4e 45 54 57 4f 52 4b 20 30 20 73 73   SET_NETWORK 0 ss
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      69 64 20 34 65 35 37 34 36 35 33 34 33            id 4e57465343
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): CTRL_IFACE: SET_NETWORK id=0 name='ssid' value='4e57465343'
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): ssid - hexdump_ascii(len=5):
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      4e 57 46 53 43                                    NWFSC
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): RX ctrl_iface - hexdump_ascii(len=23):
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      53 45 54 5f 4e 45 54 57 4f 52 4b 20 30 20 70 72   SET_NETWORK 0 pr
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):                              oto WPA
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): CTRL_IFACE: SET_NETWORK id=0 name='proto' value='WPA'
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): proto: 0x1
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): RX ctrl_iface - hexdump_ascii(len=30):
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      53 45 54 5f 4e 45 54 57 4f 52 4b 20 30 20 6b 65   SET_NETWORK 0 ke
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      79 5f 6d 67 6d 74 20 57 50 41 2d 50 53 4b         y_mgmt WPA-PSK
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): CTRL_IFACE: SET_NETWORK id=0 name='key_mgmt' value='WPA-PSK'
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): key_mgmt: 0x2
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): RX ctrl_iface - hexdump_ascii(len=82): [REMOVED]
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): CTRL_IFACE: SET_NETWORK id=0 name='psk' value='b9d22890e308d35c82d8d7fc080d8af280420a264fee1928130d985aaca8abdb'
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): PSK - hexdump(len=32): [REMOVED]
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): RX ctrl_iface - hexdump_ascii(len=27):
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      53 45 54 5f 4e 45 54 57 4f 52 4b 20 30 20 70 61   SET_NETWORK 0 pa
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      69 72 77 69 73 65 20 54 4b 49 50                  irwise TKIP
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): CTRL_IFACE: SET_NETWORK id=0 name='pairwise' value='TKIP'
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): pairwise: 0x8
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): RX ctrl_iface - hexdump_ascii(len=24):
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      53 45 54 5f 4e 45 54 57 4f 52 4b 20 30 20 67 72   SET_NETWORK 0 gr
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      6f 75 70 20 54 4b 49 50                           oup TKIP
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): RK id=0 name='group' value='TKIP'
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): group: 0x8
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594): RX ctrl_iface - hexdump_ascii(len=16):
Apr 14 11:30:11 localhost NetworkManager: <information> wpa_supplicant(2594):      45 4e 41 42 4c 45 5f 4e 45 54 57 4f 52 4b 20 30   ENABLE_NETWORK 0
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594): CTRL_IFACE: ENABLE_NETWORK id=0
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594): Setting scan request: 0 sec 0 usec
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594): State: DISCONNECTED -> SCANNING
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594): Starting AP scan (broadcast SSID)
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594): Wireless event: cmd=0x8b1a len=8
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594): RX ctrl_iface - hexdump_ascii(len=6):
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594):      41 54 54 41 43 48                                 ATTACH
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594): CTRL_IFACE monitor attached - hexdump(len=42): 2f 76 61 72 2f 72 75 6e 2f 4e 65 74 77 6f 72 6b 4d 61 6e 61 67 65 72 2f 77 70 61 5f 63 74 72 6c 5f 32 32 36 33 2d 31 00 00 00
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594): Wireless event: cmd=0x8b19 len=8
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594): CTRL_IFACE monitor attached - hexdump(len=42): 2f 76 61 72 2f 72 75 6e 2f 4e 65 74 77 6f 72 6b 4d 61 6e 61 67 65 72 2f 77 70 61 5f 63 74 72 6c 5f 32 32 36 33 2d 31 00 00 00
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594): Wireless event: cmd=0x8b19 len=8
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594): Received 255 bytes of scan results (1 BSSes)
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594): Scan results: 1
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594): Selecting BSS from priority group 0
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594): 0: 00:0b:85:51:36:7f ssid='NWFSC' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594):    selected based on WPA IE
Apr 14 11:30:12 localhost NetworkManager: <information> wpa_supplicant(2594): Trying to associate with 00:0b:85:51:36:7f (SSID='NWFSC' freq=2437 MHz)
Apr 14 11:30:13 localhost ntpd[1995]: sendto(168.75.65.20): Invalid argument
Apr 14 11:30:13 localhost ntpd[1995]: sendto(140.192.21.130): Invalid argument
Apr 14 11:30:41 localhost NetworkManager: <information> Activation (ath0/wireless): association took too long (>40s), failing activation.
Apr 14 11:30:41 localhost NetworkManager: <information> Activation (ath0) failure scheduled...
Apr 14 11:30:41 localhost NetworkManager: <information> Activation (ath0) failed for access point (NWFSC)
Apr 14 11:30:41 localhost NetworkManager: <information> Activation (ath0) failed.
Apr 14 11:30:41 localhost NetworkManager: <information> Deactivating device ath0.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux