On Tue, Dec 08, 2009 at 03:51:18PM -0500, Celejar wrote: > > All I was able to do is assign an IP address with ifconfig and find > > the router when scanning for stations. So apparently, the hardware is > > working. But it doesn't seem to be possible to establish a connection. > > Don't know if this is relevant here, but just to nitpick: it's ofter > the case that a wireless card is receiving correctly but not > transmitting. Successful assignation of an IP address means nothing > at all beyond that there's some driver present that thinks that it's > found some hardware it supports, and finding the router means that > it's receiving, but not necessarily transmitting.
It seems to mean that the card is "useable" in that it could be configured since there is some driver present and apparently working. If that wasn't the case, I'd have to get that far first. > a) output of 'iwlist wlan0 [or whatever it's called] scan' yun:/home/lee# iwlist wlan0 scan wlan0 Scan completed : Cell 01 - Address: 00:23:08:17:73:A9 Channel:5 Frequency:2.432 GHz (Channel 5) Quality=53/70 Signal level=-57 dBm Encryption key:on ESSID:"WLAN-177334" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s 18 Mb/s; 36 Mb/s; 54 Mb/s Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s Mode:Master Extra:tsf=00000004e7d2a174 Extra: Last beacon: 480ms ago IE: Unknown: 000B574C414E2D313737333334 IE: Unknown: 010882848B961224486C IE: Unknown: 030105 IE: Unknown: 2A0104 IE: Unknown: 32040C183060 IE: Unknown: 2D1AEE1117FFFF0000010000000000000000000000000C0000000000 IE: Unknown: 3D1605070100000000000000000000000000000000000000 IE: Unknown: 3E0100 IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : CCMP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00 IE: Unknown: 7F0101 IE: Unknown: DD8C0050F204104A00011010440001021041000100103B00010310470010000000000000000110000023081773A71021000B436F72706F726174696F6E1023000941525634353235505710240008312E30372E3030301042000A4A3833343033363030341054000800060050F204000110110014576972656C65737320526F757465722857464129100800020004 IE: Unknown: 0706444520010D10 IE: Unknown: DD1E00904C33EE1117FFFF0000010000000000000000000000000C0000000000 IE: Unknown: DD1A00904C3405070100000000000000000000000000000000000000 yun:/home/lee# Hm, at least wicd seems to have set the ESSID and to have found a cell. > b) output of syslog when you try to connect Anything in particular I should be looking for? There are messages Dec 8 17:33:58 yun dhclient: isc-dhclient-V3.1.3 Dec 8 17:33:58 yun dhclient: isc-dhclient-V3.1.3 ... but I'm not using dhcp. And there's a bunch of messages from "NetworkManager": Dec 8 11:25:06 yun avahi-daemon[2655]: Network interface enumeration completed. Dec 8 11:54:28 yun NetworkManager: <info> starting... Dec 8 11:54:28 yun NetworkManager: <info> (eth4): new Ethernet device (driver: 'r8169') Dec 8 11:54:28 yun NetworkManager: <info> (eth4): exported as /org/freedesktop/Hal/devices/net_40_61_86_2e_28_77 Dec 8 11:54:28 yun NetworkManager: <info> (wlan0): driver supports SSID scans (scan_capa 0x01). Dec 8 11:54:28 yun NetworkManager: <info> (wlan0): new 802.11 WiFi device (driver: 'ath9k') Dec 8 11:54:28 yun NetworkManager: <info> (wlan0): exported as /org/freedesktop/Hal/devices/net_00_24_01_ed_b6_e2 Dec 8 11:54:28 yun NetworkManager: <info> Trying to start the supplicant... Dec 8 11:54:28 yun NetworkManager: <info> Trying to start the system settings daemon... Dec 8 11:54:28 yun NetworkManager: <info> (eth4): carrier now ON (device state 1) Dec 8 11:54:28 yun NetworkManager: <info> (wlan0): supplicant manager state: down -> idle Dec 8 11:54:29 yun nm-system-settings: Loaded plugin ifupdown: (C) 2008 Canonical Ltd. To report bugs please use the NetworkManager mailing list. Dec 8 11:54:29 yun nm-system-settings: Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc. To report bugs please use the NetworkManager mailing list. Dec 8 11:54:29 yun NetworkManager: <info> (eth4): now unmanaged Dec 8 11:54:32 yun NetworkManager: <info> (wlan0): device state change: 1 -> 2 (reason 2) Dec 8 11:54:32 yun NetworkManager: <info> (wlan0): bringing up device. Dec 8 11:54:32 yun NetworkManager: <info> (wlan0): preparing device. Dec 8 11:54:32 yun NetworkManager: <info> (wlan0): deactivating device (reason: 2). Dec 8 11:54:32 yun NetworkManager: <WARN> nm_supplicant_interface_add_cb(): Unexpected supplicant error getting interface: wpa_supplicant couldn't grab this interface. Dec 8 11:55:53 yun NetworkManager: <WARN> list_connections_cb(): Couldn't retrieve connections: Rejected send message, 1 matched rules; type="method_call", sender=":1.39" (uid=0 pid=9564 comm="/usr/sbin/NetworkManager) interface="org.freedesktop.NetworkManagerSettings" member="ListConnections" error name="(unset)" requested_reply=0 destination="org.freedesktop.NetworkManagerUserSettings" (uid=1000 pid=9913 comm="/usr/bin/knetworkmanager)). Dec 8 12:04:25 yun NetworkManager: <WARN> connection_get_settings_cb(): Couldn't retrieve connection settings: Rejected send message, 1 matched rules; type="method_call", sender=":1.39" (uid=0 pid=9564 comm="/usr/sbin/NetworkManager) interface="org.freedesktop.NetworkManagerSettings.Connection" member="GetSettings" error name="(unset)" requested_reply=0 destination="org.freedesktop.NetworkManagerUserSettings" (uid=1000 pid=9913 comm="/usr/bin/knetworkmanager)). Dec 8 12:04:30 yun NetworkManager: <WARN> wait_for_connection_expired(): Connection (2) /org/freedesktop/NetworkManagerSettings/Connection/3 failed to activate (timeout): (0) Connection was not provided by any settings service Dec 8 12:06:07 yun NetworkManager: connection_updated_cb: assertion `old_connection != NULL' failed Dec 8 12:06:12 yun NetworkManager: <WARN> wait_for_connection_expired(): Connection (2) /org/freedesktop/NetworkManagerSettings/Connection/3 failed to activate (timeout): (0) Connection was not provided by any settings service Dec 8 12:07:13 yun NetworkManager: connection_updated_cb: assertion `old_connection != NULL' failed Dec 8 12:07:18 yun NetworkManager: <WARN> wait_for_connection_expired(): Connection (2) /org/freedesktop/NetworkManagerSettings/Connection/3 failed to activate (timeout): (0) Connection was not provided by any settings service Dec 8 12:11:24 yun NetworkManager: connection_updated_cb: assertion `old_connection != NULL' failed Dec 8 12:11:29 yun NetworkManager: <WARN> wait_for_connection_expired(): Connection (2) /org/freedesktop/NetworkManagerSettings/Connection/3 failed to activate (timeout): (0) Connection was not provided by any settings service Dec 8 12:11:39 yun NetworkManager: <WARN> wait_for_connection_expired(): Connection (2) /org/freedesktop/NetworkManagerSettings/Connection/3 failed to activate (timeout): (0) Connection was not provided by any settings service Dec 8 12:21:58 yun NetworkManager: <WARN> list_connections_cb(): Couldn't retrieve connections: Rejected send message, 1 matched rules; type="method_call", sender=":1.39" (uid=0 pid=9564 comm="/usr/sbin/NetworkManager) interface="org.freedesktop.NetworkManagerSettings" member="ListConnections" error name="(unset)" requested_reply=0 destination="org.freedesktop.NetworkManagerUserSettings" (uid=1000 pid=10409 comm="/usr/bin/knetworkmanager)). Dec 8 12:21:58 yun NetworkManager: <WARN> connection_get_settings_cb(): Couldn't retrieve connection settings: Rejected send message, 1 matched rules; type="method_call", sender=":1.39" (uid=0 pid=9564 comm="/usr/sbin/NetworkManager) interface="org.freedesktop.NetworkManagerSettings.Connection" member="GetSettings" error name="(unset)" requested_reply=0 destination="org.freedesktop.NetworkManagerUserSettings" (uid=1000 pid=10409 comm="/usr/bin/knetworkmanager)). Dec 8 12:22:57 yun NetworkManager: connection_updated_cb: assertion `old_connection != NULL' failed Dec 8 12:23:02 yun NetworkManager: <WARN> wait_for_connection_expired(): Connection (2) /org/freedesktop/NetworkManagerSettings/Connection/0 failed to activate (timeout): (0) Connection was not provided by any settings service Dec 8 12:28:49 yun NetworkManager: connection_updated_cb: assertion `old_connection != NULL' failed Dec 8 12:28:54 yun NetworkManager: <WARN> wait_for_connection_expired(): Connection (2) /org/freedesktop/NetworkManagerSettings/Connection/0 failed to activate (timeout): (0) Connection was not provided by any settings service Dec 8 12:56:23 yun NetworkManager: <WARN> nm_signal_handler(): Caught signal 15, shutting down normally. Dec 8 12:56:23 yun NetworkManager: <info> (wlan0): now unmanaged Dec 8 12:56:23 yun NetworkManager: <info> (wlan0): device state change: 2 -> 1 (reason 36) Dec 8 12:56:23 yun NetworkManager: <info> (wlan0): cleaning up... Dec 8 12:56:23 yun NetworkManager: <info> exiting (success) Dec 8 14:11:52 yun avahi-daemon[2869]: Network interface enumeration completed. Dec 8 14:11:56 yun NetworkManager: <info> starting... Dec 8 14:11:56 yun NetworkManager: <info> (eth4): new Ethernet device (driver: 'r8169') Dec 8 14:11:56 yun NetworkManager: <info> (eth4): exported as /org/freedesktop/Hal/devices/net_40_61_86_2e_28_77 Dec 8 14:11:56 yun NetworkManager: <info> (wlan0): driver supports SSID scans (scan_capa 0x01). Dec 8 14:11:56 yun NetworkManager: <info> (wlan0): new 802.11 WiFi device (driver: 'ath9k') Dec 8 14:11:56 yun NetworkManager: <info> (wlan0): exported as /org/freedesktop/Hal/devices/net_00_24_01_ed_b6_e2 Dec 8 14:11:56 yun NetworkManager: <info> Trying to start the supplicant... Dec 8 14:11:56 yun NetworkManager: <info> Trying to start the system settings daemon... Dec 8 14:11:56 yun NetworkManager: <info> (eth4): carrier now ON (device state 1) Dec 8 14:11:56 yun NetworkManager: <info> (wlan0): supplicant manager state: down -> idle Dec 8 14:11:56 yun nm-system-settings: Loaded plugin ifupdown: (C) 2008 Canonical Ltd. To report bugs please use the NetworkManager mailing list. Dec 8 14:11:56 yun nm-system-settings: Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc. To report bugs please use the NetworkManager mailing list. Dec 8 14:11:56 yun NetworkManager: <info> (eth4): now unmanaged Dec 8 14:12:01 yun NetworkManager: <info> (wlan0): device state change: 1 -> 2 (reason 2) Dec 8 14:12:01 yun NetworkManager: <info> (wlan0): bringing up device. Dec 8 14:12:01 yun NetworkManager: <info> (wlan0): preparing device. Dec 8 14:12:01 yun NetworkManager: <info> (wlan0): deactivating device (reason: 2). Dec 8 14:12:01 yun NetworkManager: <WARN> nm_supplicant_interface_add_cb(): Unexpected supplicant error getting interface: wpa_supplicant couldn't grab this interface. Dec 8 14:14:12 yun NetworkManager: <WARN> nm_signal_handler(): Caught signal 15, shutting down normally. Dec 8 14:14:12 yun NetworkManager: <info> (wlan0): now unmanaged Dec 8 14:14:12 yun NetworkManager: <info> (wlan0): device state change: 2 -> 1 (reason 36) Dec 8 14:14:12 yun NetworkManager: <info> (wlan0): cleaning up... Dec 8 14:14:12 yun NetworkManager: <info> exiting (success) Dec 8 14:15:23 yun avahi-daemon[2831]: Network interface enumeration completed. Dec 8 14:15:27 yun NetworkManager: <info> starting... Dec 8 14:15:27 yun NetworkManager: <info> (eth4): new Ethernet device (driver: 'r8169') Dec 8 14:15:27 yun NetworkManager: <info> (eth4): exported as /org/freedesktop/Hal/devices/net_40_61_86_2e_28_77 Dec 8 14:15:27 yun NetworkManager: <info> (wlan0): driver supports SSID scans (scan_capa 0x01). Dec 8 14:15:27 yun NetworkManager: <info> (wlan0): new 802.11 WiFi device (driver: 'ath9k') Dec 8 14:15:27 yun NetworkManager: <info> (wlan0): exported as /org/freedesktop/Hal/devices/net_00_24_01_ed_b6_e2 Dec 8 14:15:27 yun NetworkManager: <info> Trying to start the supplicant... Dec 8 14:15:27 yun NetworkManager: <info> Trying to start the system settings daemon... Dec 8 14:15:27 yun NetworkManager: <info> (eth4): carrier now ON (device state 1) Dec 8 14:15:27 yun NetworkManager: <info> (wlan0): supplicant manager state: down -> idle Dec 8 14:15:28 yun nm-system-settings: Loaded plugin ifupdown: (C) 2008 Canonical Ltd. To report bugs please use the NetworkManager mailing list. Dec 8 14:15:28 yun nm-system-settings: Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc. To report bugs please use the NetworkManager mailing list. Dec 8 14:15:28 yun NetworkManager: <info> (eth4): now unmanaged Dec 8 14:15:32 yun NetworkManager: <info> (wlan0): device state change: 1 -> 2 (reason 2) Dec 8 14:15:32 yun NetworkManager: <info> (wlan0): bringing up device. Dec 8 14:15:32 yun NetworkManager: <info> (wlan0): preparing device. Dec 8 14:15:32 yun NetworkManager: <info> (wlan0): deactivating device (reason: 2). Dec 8 14:15:32 yun NetworkManager: <WARN> nm_supplicant_interface_add_cb(): Unexpected supplicant error getting interface: wpa_supplicant couldn't grab this interface. Dec 8 14:18:50 yun NetworkManager: <WARN> impl_manager_activate_connection(): Connection (2) /org/freedesktop/NetworkManagerSettings/Connection/0 failed to activate: (2) Device not managed by NetworkManager Dec 8 14:38:38 yun NetworkManager: <WARN> nm_signal_handler(): Caught signal 15, shutting down normally. Dec 8 14:38:38 yun NetworkManager: <info> (wlan0): now unmanaged Dec 8 14:38:38 yun NetworkManager: <info> (wlan0): device state change: 2 -> 1 (reason 36) Dec 8 14:38:38 yun NetworkManager: <info> (wlan0): cleaning up... Dec 8 14:38:38 yun NetworkManager: <info> exiting (success) Dec 8 14:39:49 yun avahi-daemon[2803]: Network interface enumeration completed. Dec 8 14:39:53 yun NetworkManager: <info> starting... Dec 8 14:39:53 yun NetworkManager: <info> (eth4): new Ethernet device (driver: 'r8169') Dec 8 14:39:53 yun NetworkManager: <info> (eth4): exported as /org/freedesktop/Hal/devices/net_40_61_86_2e_28_77 Dec 8 14:39:53 yun NetworkManager: <info> (wlan0): driver supports SSID scans (scan_capa 0x01). Dec 8 14:39:53 yun NetworkManager: <info> (wlan0): new 802.11 WiFi device (driver: 'ath9k') Dec 8 14:39:53 yun NetworkManager: <info> (wlan0): exported as /org/freedesktop/Hal/devices/net_00_24_01_ed_b6_e2 Dec 8 14:39:53 yun NetworkManager: <info> Trying to start the supplicant... Dec 8 14:39:53 yun NetworkManager: <info> Trying to start the system settings daemon... Dec 8 14:39:53 yun NetworkManager: <info> (eth4): carrier now ON (device state 1) Dec 8 14:39:53 yun NetworkManager: <info> (wlan0): supplicant manager state: down -> idle Dec 8 14:39:54 yun nm-system-settings: Loaded plugin ifupdown: (C) 2008 Canonical Ltd. To report bugs please use the NetworkManager mailing list. Dec 8 14:39:54 yun nm-system-settings: Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc. To report bugs please use the NetworkManager mailing list. Dec 8 14:39:54 yun NetworkManager: <info> (eth4): now unmanaged Dec 8 14:39:58 yun NetworkManager: <info> (wlan0): device state change: 1 -> 2 (reason 2) Dec 8 14:39:58 yun NetworkManager: <info> (wlan0): bringing up device. Dec 8 14:39:58 yun NetworkManager: <info> (wlan0): preparing device. Dec 8 14:39:58 yun NetworkManager: <info> (wlan0): deactivating device (reason: 2). Dec 8 14:39:58 yun NetworkManager: <WARN> nm_supplicant_interface_add_cb(): Unexpected supplicant error getting interface: wpa_supplicant couldn't grab this interface. Dec 8 14:43:10 yun NetworkManager: <WARN> impl_manager_activate_connection(): Connection (2) /org/freedesktop/NetworkManagerSettings/Connection/0 failed to activate: (2) Device not managed by NetworkManager Dec 8 15:54:33 yun NetworkManager: <WARN> impl_manager_activate_connection(): Connection (2) /org/freedesktop/NetworkManagerSettings/Connection/0 failed to activate: (2) Device not managed by NetworkManager Dec 8 15:54:58 yun NetworkManager: <WARN> impl_manager_activate_connection(): Connection (2) /org/freedesktop/NetworkManagerSettings/Connection/0 failed to activate: (2) Device not managed by NetworkManager Dec 8 15:55:42 yun NetworkManager: <WARN> impl_manager_activate_connection(): Connection (2) /org/freedesktop/NetworkManagerSettings/Connection/0 failed to activate: (2) Device not managed by NetworkManager Dec 8 16:34:09 yun NetworkManager: <info> (eth4): carrier now OFF (device state 1) Dec 8 16:34:12 yun NetworkManager: <info> (eth4): carrier now ON (device state 1) Dec 8 16:35:11 yun NetworkManager: <info> (eth4): carrier now OFF (device state 1) Dec 8 16:35:14 yun NetworkManager: <info> (eth4): carrier now ON (device state 1) Dec 8 17:09:32 yun NetworkManager: <info> (eth4): carrier now OFF (device state 1) Dec 8 17:17:14 yun NetworkManager: <WARN> nm_signal_handler(): Caught signal 15, shutting down normally. Dec 8 17:17:14 yun NetworkManager: <info> (wlan0): now unmanaged Dec 8 17:17:14 yun NetworkManager: <info> (wlan0): device state change: 2 -> 1 (reason 36) Dec 8 17:17:14 yun NetworkManager: <info> (wlan0): cleaning up... Dec 8 17:17:14 yun NetworkManager: <info> (wlan0): taking down device. Dec 8 17:17:14 yun NetworkManager: <info> exiting (success) Dec 8 17:18:15 yun avahi-daemon[2706]: Network interface enumeration completed. Dec 8 17:18:19 yun NetworkManager: <info> starting... Dec 8 17:18:19 yun NetworkManager: <info> (eth4): new Ethernet device (driver: 'r8169') Dec 8 17:18:19 yun NetworkManager: <info> (eth4): exported as /org/freedesktop/Hal/devices/net_40_61_86_2e_28_77 Dec 8 17:18:19 yun NetworkManager: <info> (wlan0): driver supports SSID scans (scan_capa 0x01). Dec 8 17:18:19 yun NetworkManager: <info> (wlan0): new 802.11 WiFi device (driver: 'ath9k') Dec 8 17:18:19 yun NetworkManager: <info> (wlan0): exported as /org/freedesktop/Hal/devices/net_00_24_01_ed_b6_e2 Dec 8 17:18:19 yun NetworkManager: <info> Trying to start the supplicant... Dec 8 17:18:19 yun NetworkManager: <info> Trying to start the system settings daemon... Dec 8 17:18:19 yun NetworkManager: <info> (wlan0): supplicant manager state: down -> idle Dec 8 17:18:19 yun nm-system-settings: Loaded plugin ifupdown: (C) 2008 Canonical Ltd. To report bugs please use the NetworkManager mailing list. Dec 8 17:18:19 yun nm-system-settings: Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc. To report bugs please use the NetworkManager mailing list. Dec 8 17:18:19 yun NetworkManager: <info> (wlan0): now unmanaged Dec 8 17:18:19 yun NetworkManager: <WARN> connection_get_settings_cb(): connection_get_settings_cb: Invalid connection: 'NMSettingWirelessSecurity' / 'key-mgmt' invalid: 2 Dec 8 17:18:23 yun NetworkManager: <info> (eth4): device state change: 1 -> 2 (reason 2) Dec 8 17:18:23 yun NetworkManager: <info> (eth4): bringing up device. Dec 8 17:18:23 yun NetworkManager: <info> (eth4): preparing device. Dec 8 17:18:23 yun NetworkManager: <info> (eth4): deactivating device (reason: 2). Dec 8 17:18:23 yun NetworkManager: <info> (eth4): carrier now ON (device state 2) Dec 8 17:18:23 yun NetworkManager: <info> (eth4): device state change: 2 -> 3 (reason 40) Dec 8 17:18:24 yun NetworkManager: <info> Activation (eth4) starting connection 'Auto eth4' Dec 8 17:18:24 yun NetworkManager: <info> (eth4): device state change: 3 -> 4 (reason 0) Dec 8 17:18:24 yun NetworkManager: <info> Activation (eth4) Stage 1 of 5 (Device Prepare) scheduled... Dec 8 17:18:24 yun NetworkManager: <info> Activation (eth4) Stage 1 of 5 (Device Prepare) started... Dec 8 17:18:24 yun NetworkManager: <info> Activation (eth4) Stage 2 of 5 (Device Configure) scheduled... Dec 8 17:18:24 yun NetworkManager: <info> Activation (eth4) Stage 1 of 5 (Device Prepare) complete. Dec 8 17:18:24 yun NetworkManager: <info> Activation (eth4) Stage 2 of 5 (Device Configure) starting... Dec 8 17:18:24 yun NetworkManager: <info> (eth4): device state change: 4 -> 5 (reason 0) Dec 8 17:18:24 yun NetworkManager: <info> Activation (eth4) Stage 2 of 5 (Device Configure) successful. Dec 8 17:18:24 yun NetworkManager: <info> Activation (eth4) Stage 3 of 5 (IP Configure Start) scheduled. Dec 8 17:18:24 yun NetworkManager: <info> Activation (eth4) Stage 2 of 5 (Device Configure) complete. Dec 8 17:18:24 yun NetworkManager: <info> Activation (eth4) Stage 3 of 5 (IP Configure Start) started... Dec 8 17:18:24 yun NetworkManager: <info> (eth4): device state change: 5 -> 7 (reason 0) Dec 8 17:18:24 yun NetworkManager: <info> Activation (eth4) Beginning DHCP transaction. Dec 8 17:18:24 yun NetworkManager: <info> dhclient started with pid 3172 Dec 8 17:18:24 yun NetworkManager: <info> Activation (eth4) Stage 3 of 5 (IP Configure Start) complete. Dec 8 17:18:24 yun NetworkManager: <info> DHCP: device eth4 state changed (null) -> preinit Dec 8 17:24:25 yun NetworkManager: <WARN> nm_signal_handler(): Caught signal 15, shutting down normally. Dec 8 17:24:25 yun NetworkManager: <info> (eth4): now unmanaged Dec 8 17:24:25 yun NetworkManager: <info> (eth4): device state change: 7 -> 1 (reason 36) Dec 8 17:24:25 yun NetworkManager: <info> (eth4): deactivating device (reason: 36). Dec 8 17:24:25 yun NetworkManager: <info> (eth4): cleaning up... Dec 8 17:24:25 yun NetworkManager: <info> (eth4): taking down device. Dec 8 17:24:25 yun NetworkManager: <info> exiting (success) Dec 8 17:25:28 yun avahi-daemon[2934]: Network interface enumeration completed. Dec 8 17:25:32 yun NetworkManager: <info> starting... Dec 8 17:25:32 yun NetworkManager: <info> (eth4): new Ethernet device (driver: 'r8169') Dec 8 17:25:32 yun NetworkManager: <info> (eth4): exported as /org/freedesktop/Hal/devices/net_40_61_86_2e_28_77 Dec 8 17:25:32 yun NetworkManager: <info> (wlan0): driver supports SSID scans (scan_capa 0x01). Dec 8 17:25:32 yun NetworkManager: <info> (wlan0): new 802.11 WiFi device (driver: 'ath9k') Dec 8 17:25:32 yun NetworkManager: <info> (wlan0): exported as /org/freedesktop/Hal/devices/net_00_24_01_ed_b6_e2 Dec 8 17:25:32 yun NetworkManager: <info> Trying to start the supplicant... Dec 8 17:25:32 yun NetworkManager: <info> Trying to start the system settings daemon... Dec 8 17:25:32 yun NetworkManager: <info> (eth4): carrier now ON (device state 1) Dec 8 17:25:32 yun NetworkManager: <info> (wlan0): supplicant manager state: down -> idle Dec 8 17:25:33 yun nm-system-settings: Loaded plugin ifupdown: (C) 2008 Canonical Ltd. To report bugs please use the NetworkManager mailing list. Dec 8 17:25:33 yun nm-system-settings: Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc. To report bugs please use the NetworkManager mailing list. Dec 8 17:25:33 yun NetworkManager: <info> (eth4): now unmanaged Dec 8 17:25:37 yun NetworkManager: <info> (wlan0): device state change: 1 -> 2 (reason 2) Dec 8 17:25:37 yun NetworkManager: <info> (wlan0): bringing up device. Dec 8 17:25:37 yun NetworkManager: <info> (wlan0): preparing device. Dec 8 17:25:37 yun NetworkManager: <info> (wlan0): deactivating device (reason: 2). Dec 8 17:25:38 yun NetworkManager: <WARN> nm_supplicant_interface_add_cb(): Unexpected supplicant error getting interface: wpa_supplicant couldn't grab this interface. Dec 8 17:26:15 yun NetworkManager: <WARN> impl_manager_activate_connection(): Connection (2) /org/freedesktop/NetworkManagerSettings/Connection/0 failed to activate: (2) Device not managed by NetworkManager > c) run wpa_supplicant in the foreground with debugging enabled > ('wpa_supplicant -c/etc/wpa_supplicant.conf -iwlan0 -d') and report the > output and syslog, as well as your wpa_supplicant.conf (sanitized) There's no configuration file for wpa_supplicant at all. It seemed to me that the Debian way of using it is by some scripts that refer to entries in /etc/network/interfaces. I have no way of knowing if the Debian version of wpa_supplicant is modified in some way. However, after creating a configuration file from the example in the man page: network={ ssid="home" scan_ssid=1 key_mgmt=WPA-PSK psk="very secret passphrase" } and running above command, I'm getting: yun:/home/lee# wpa_supplicant -c /etc/wpa_supplicant.conf -iwlan0 -d Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Priority group 0 id=0 ssid='WLAN-177334' SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf capabilities: key_mgmt 0xf enc 0xf flags 0x0 WEXT: Operstate: linkmode=1, operstate=5 socket(PF_PACKET): Address family not supported by protocol Failed to add interface wlan0 State: DISCONNECTED -> DISCONNECTED wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) WEXT: Operstate: linkmode=-1, operstate=5 wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_wpa wpa_driver_wext_set_drop_unencrypted wpa_driver_wext_set_countermeasures No keys have been configured - skip key clearing Cancelling scan request Cancelling authentication timeout WEXT: Operstate: linkmode=0, operstate=6 yun:/home/lee# It also creates some messages in the syslog: Dec 8 22:43:27 yun avahi-daemon[2934]: Interface wlan0.IPv4 no longer relevant for mDNS. Dec 8 22:43:27 yun avahi-daemon[2934]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.2.199. Dec 8 22:43:27 yun avahi-daemon[2934]: Withdrawing address record for 192.168.2.199 on wlan0. Dec 8 22:43:27 yun avahi-daemon[2934]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.2.199. Dec 8 22:43:27 yun avahi-daemon[2934]: New relevant interface wlan0.IPv4 for mDNS. Dec 8 22:43:27 yun avahi-daemon[2934]: Registering new address record for 192.168.2.199 on wlan0.IPv4. Dec 8 22:43:27 yun avahi-daemon[2934]: Interface wlan0.IPv4 no longer relevant for mDNS. Dec 8 22:43:27 yun avahi-daemon[2934]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.2.199. Dec 8 22:43:27 yun avahi-daemon[2934]: Withdrawing address record for 192.168.2.199 on wlan0. yun:/home/lee# iwconfig lo no wireless extensions. eth4 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11bgn ESSID:"" Mode:Managed Frequency:2.432 GHz Access Point: Not-Associated Tx-Power=20 dBm Retry min limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 yun:/home/lee# Now what does this tell me? Is WPA-PSK supposed to work for WPA2? I tried it with the router set to "WPA-Personal" and "WPA / WPA2", but I got the same output from wpa_supplicant each time. Hm, googling about the error message ("socket(PF_PACKET): Address family not supported by protocol") finds: http://lists.shmoo.com/pipermail/hostap/2006-June/013571.html Checking the kernel configuration shows that "Packet socket" in the networking options is indeed disabled. I've enabled it, and now wpa_supplicant seems to get a connection: yun:/usr/src/linux-2.6.30-server# modprobe af_packet yun:/usr/src/linux-2.6.30-server# lsmod |grep packet af_packet 20552 0 yun:/usr/src/linux-2.6.30-server# wpa_supplicant -c /etc/wpa_supplicant.conf -iwlan0 -d Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Priority group 0 id=0 ssid='WLAN-177334' Interface wlan0 set UP - waiting a second for the driver to complete initialization SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf capabilities: key_mgmt 0xf enc 0xf flags 0x0 WEXT: Operstate: linkmode=1, operstate=5 Own MAC address: 00:24:01:ed:b6:e2 wpa_driver_wext_set_wpa wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_countermeasures wpa_driver_wext_set_drop_unencrypted RSN: flushing PMKID list in the driver Setting scan request: 0 sec 100000 usec WPS: UUID based on MAC address - hexdump(len=16): f8 97 2e 50 00 8e 5c 16 8e d4 b7 18 08 e0 11 54 WPS: Build Beacon and Probe Response IEs WPS: * Version WPS: * Wi-Fi Protected Setup State (0) WPS: * Version WPS: * Wi-Fi Protected Setup State (0) WPS: * Response Type (2) WPS: * UUID-E WPS: * Manufacturer WPS: * Model Name WPS: * Model Number WPS: * Serial Number WPS: * Primary Device Type WPS: * Device Name WPS: * Config Methods (0) WPS: * RF Bands (3) EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED Added interface wlan0 Ignore event for foreign ifindex 3 RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8b06 len=12 State: DISCONNECTED -> SCANNING Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=11): 57 4c 41 4e 2d 31 37 37 33 33 34 WLAN-177334 Trying to get current scan results first without requesting a new scan to speed up initial association Received 0 bytes of scan results (0 BSSes) Cached scan results are empty - not posting Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 0 sec 0 usec Starting AP scan (broadcast SSID) Scan requested (ret=0) - scan timeout 5 seconds RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8b19 len=16 Received 677 bytes of scan results (1 BSSes) CTRL-EVENT-SCAN-RESULTS WPS-AP-AVAILABLE Selecting BSS from priority group 0 Try to find WPA-enabled AP 0: 00:23:08:17:73:a9 ssid='WLAN-177334' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 selected based on RSN IE selected WPA AP 00:23:08:17:73:a9 ssid='WLAN-177334' Trying to associate with 00:23:08:17:73:a9 (SSID='WLAN-177334' freq=2432 MHz) Cancelling scan request WPA: clearing own WPA/RSN IE Automatic auth_alg selection: 0x1 RSN: using IEEE 802.11i/D9.0 WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2 WPA: clearing AP WPA IE WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 WPA: using GTK CCMP WPA: using PTK CCMP WPA: using KEY_MGMT WPA-PSK WPA: not using MGMT group cipher WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 No keys have been configured - skip key clearing wpa_driver_wext_set_drop_unencrypted State: SCANNING -> ASSOCIATING wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) WEXT: Operstate: linkmode=-1, operstate=5 wpa_driver_wext_associate wpa_driver_wext_set_psk Association request to the driver failed Setting authentication timeout: 5 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: External notification - EAP fail=0 EAPOL: External notification - portControl=Auto RSN: Ignored PMKID candidate without preauth flag RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8b06 len=12 RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8b04 len=16 RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8b15 len=24 Wireless event: new AP: 00:23:08:17:73:a9 State: ASSOCIATING -> ASSOCIATED wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) WEXT: Operstate: linkmode=-1, operstate=5 Associated to a new BSS: BSSID=00:23:08:17:73:a9 No keys have been configured - skip key clearing Associated with 00:23:08:17:73:a9 WPA: Association event - clear replay counter WPA: Clear old PTK EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 EAPOL: External notification - EAP success=0 EAPOL: External notification - portEnabled=1 EAPOL: SUPP_PAE entering state CONNECTING EAPOL: SUPP_BE entering state IDLE Setting authentication timeout: 10 sec 0 usec Cancelling scan request RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added RX EAPOL from 00:23:08:17:73:a9 Setting authentication timeout: 10 sec 0 usec IEEE 802.1X RX: version=1 type=3 length=117 EAPOL-Key type=2 key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack) key_length=16 key_data_length=22 replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 10 key_nonce - hexdump(len=32): dd d8 48 ac 4f 6f a2 9b 03 32 92 60 4a 3b 0d a3 88 5c 97 95 60 04 45 6a f5 ac b3 22 b1 6c 80 97 key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00 key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00 key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 State: ASSOCIATED -> 4WAY_HANDSHAKE WPA: RX message 1 of 4-Way Handshake from 00:23:08:17:73:a9 (ver=2) RSN: msg 1/4 key data - hexdump(len=22): dd 14 00 0f ac 04 99 6a 81 f8 33 97 30 3b c7 f6 fa cc eb 36 dc b4 RSN: PMKID from Authenticator - hexdump(len=16): 99 6a 81 f8 33 97 30 3b c7 f6 fa cc eb 36 dc b4 RSN: no matching PMKID found WPA: Renewed SNonce - hexdump(len=32): 3f a5 42 c7 5a b0 c4 07 57 b7 1b 7c 31 fa 40 b8 54 e6 ea 06 8e a7 41 52 b3 00 aa d6 31 5c 1b 28 WPA: PTK derivation - A1=00:24:01:ed:b6:e2 A2=00:23:08:17:73:a9 WPA: PMK - hexdump(len=32): [REMOVED] WPA: PTK - hexdump(len=64): [REMOVED] WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 WPA: Sending EAPOL-Key 2/4 RX EAPOL from 00:23:08:17:73:a9 IEEE 802.1X RX: version=1 type=3 length=151 EAPOL-Key type=2 key_info 0x13ca (ver=2 keyidx=0 rsvd=0 Pairwise Install Ack MIC Secure Encr) key_length=16 key_data_length=56 replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 11 key_nonce - hexdump(len=32): dd d8 48 ac 4f 6f a2 9b 03 32 92 60 4a 3b 0d a3 88 5c 97 95 60 04 45 6a f5 ac b3 22 b1 6c 80 97 key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00 key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00 key_mic - hexdump(len=16): cb 8f 0a 59 4b 5d 27 c5 b7 9d e9 5b 17 c4 a9 d2 RSN: encrypted key data - hexdump(len=56): 1c 67 93 38 95 4d 99 d4 e5 c2 11 5a d4 38 22 8c 69 16 12 86 80 c8 80 29 f4 07 56 a2 58 c8 9e 49 67 9d 73 11 a1 83 9e 38 b3 3a df 8e e6 a8 09 31 89 39 e5 31 ab e4 42 9f WPA: decrypted EAPOL-Key key data - hexdump(len=48): [REMOVED] State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE WPA: RX message 3 of 4-Way Handshake from 00:23:08:17:73:a9 (ver=2) WPA: IE KeyData - hexdump(len=48): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 dd 16 00 0f ac 01 01 00 6a 25 49 9d b4 b3 b8 56 75 b0 ac 0f 61 d1 24 7a dd 00 WPA: Sending EAPOL-Key 4/4 WPA: Installing PTK to the driver. wpa_driver_wext_set_key: alg=3 key_idx=0 set_tx=1 seq_len=6 key_len=16 EAPOL: External notification - portValid=1 State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE RSN: received GTK in pairwise handshake - hexdump(len=18): [REMOVED] WPA: Group Key - hexdump(len=16): [REMOVED] WPA: Installing GTK to the driver (keyidx=1 tx=0 len=16). WPA: RSC - hexdump(len=6): 00 00 00 00 00 00 wpa_driver_wext_set_key: alg=3 key_idx=1 set_tx=0 seq_len=6 key_len=16 WPA: Key negotiation completed with 00:23:08:17:73:a9 [PTK=CCMP GTK=CCMP] Cancelling authentication timeout State: GROUP_HANDSHAKE -> COMPLETED CTRL-EVENT-CONNECTED - Connection to 00:23:08:17:73:a9 completed (auth) [id=0 id_str=] wpa_driver_wext_set_operstate: operstate 0->1 (UP) WEXT: Operstate: linkmode=-1, operstate=6 EAPOL: External notification - portValid=1 EAPOL: External notification - EAP success=1 EAPOL: SUPP_PAE entering state AUTHENTICATING EAPOL: SUPP_BE entering state SUCCESS EAP: EAP entering state DISABLED EAPOL: SUPP_PAE entering state AUTHENTICATED EAPOL: SUPP_BE entering state IDLE EAPOL authentication completed successfully RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added EAPOL: startWhen --> 0 EAPOL: disable timer tick yun:/home/lee# iwconfig lo no wireless extensions. eth4 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11bgn ESSID:"WLAN-177334" Mode:Managed Frequency:2.432 GHz Access Point: 00:23:08:17:73:A9 Bit Rate=0 kb/s Tx-Power=20 dBm Retry min limit:7 RTS thr:off Fragment thr:off Encryption key:6A25-499D-B4B3-B856-75B0-AC0F-61D1-247A [2] Security mode:open Power Management:off Link Quality=64/70 Signal level=-46 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 yun:/home/lee# route Kernel-IP-Routentabelle Ziel Router Genmask Flags Metric Ref Use Iface localnet * 255.255.255.0 U 0 0 0 eth4 localnet * 255.255.255.0 U 0 0 0 wlan0 link-local * 255.255.0.0 U 1000 0 0 eth4 default router.yagibdah 0.0.0.0 UG 0 0 0 eth4 This isn't right yet, but it seems to work :) I'll unplug the cable from eth4 and check if it does ... I take it that it should work now the Debian way by making entries in /etc/network/interfaces? Thanks for your help! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org