Disconnection



As I have mentioned on this list before (perhaps too often!)
I keep getting disconnected when running NM.
Here is an exerpt from /var/log/messages on this machine.
I wonder if this makes the problem obvious?

I actually have two WiFi sources, an Access Point with ESSID dd-wrt
and a PCI card running in Ad-hoc mode with ESSID maths.tcd.ie .
They are on different channels (12 and 10).
I'm using WEP on both (with different keys).
I'd like NM always to try the Access Point first,
but don't know how to set that up.

----------------------------------------------------------------
Feb  8 15:24:08 martha kernel: eth1: New link status: Disconnected (0002)
Feb  8 15:24:09 martha kernel: eth1: New link status: Connected (0001)
Feb  8 15:24:30 martha NetworkManager: <WARNING>         get_scan_results (): 
card took too much time scanning.  Get a better one.
Feb  8 15:24:30 martha NetworkManager: <WARNING>         
nm_device_802_11_wireless_scan (): device eth1 returned an error.
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
Trying to associate with SSID 'maths.tcd.ie'
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
Association request to the driver failed
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
Associated with 02:02:2d:4a:52:80
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
CTRL-EVENT-CONNECTED - Connection to 02:02:2d:4a:52:80 completed (auth)
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
Trying to associate with SSID 'maths.tcd.ie'
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
Association request to the driver failed
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
Associated with 02:02:2d:4a:52:80
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
CTRL-EVENT-CONNECTED - Connection to 02:02:2d:4a:52:80 completed (reauth)
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
Trying to associate with SSID 'maths.tcd.ie'
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
Association request to the driver failed
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
Associated with 02:02:2d:4a:52:80
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
CTRL-EVENT-CONNECTED - Connection to 02:02:2d:4a:52:80 completed (reauth)
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
Trying to associate with SSID 'maths.tcd.ie'
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
Association request to the driver failed
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
Associated with 02:02:2d:4a:52:80
Feb  8 15:24:30 martha NetworkManager: <information>    wpa_supplicant(3554): 
CTRL-EVENT-CONNECTED - Connection to 02:02:2d:4a:52:80 completed (reauth)
Feb  8 15:26:30 martha kernel: eth1: New link status: Disconnected (0002)
Feb  8 15:26:30 martha kernel: eth1: New link status: Connected (0001)
Feb  8 15:26:51 martha NetworkManager: <WARNING>         get_scan_results (): 
card took too much time scanning.  Get a better one.
Feb  8 15:26:51 martha NetworkManager: <WARNING>         
nm_device_802_11_wireless_scan (): device eth1 returned an error.
Feb  8 15:28:51 martha kernel: eth1: New link status: Disconnected (0002)
Feb  8 15:28:51 martha kernel: eth1: New link status: Connected (0001)
Feb  8 15:29:12 martha NetworkManager: <WARNING>         get_scan_results (): 
card took too much time scanning.  Get a better one.
Feb  8 15:29:12 martha NetworkManager: <WARNING>         
nm_device_802_11_wireless_scan (): device eth1 returned an error.
----------------------------------------------------------------
The connection is now (surprisingly) established.
Later the connection is dropped:
----------------------------------------------------------------
Feb  8 15:42:17 martha NetworkManager: <WARNING>         
nm_device_802_11_wireless_scan (): device eth1 returned an error.
Feb  8 15:42:25 martha NetworkManager: <information>    eth1: link timed out.
Feb  8 15:43:28 martha NetworkManager: <information>    wpa_supplicant(3554): 
maths.tcd.ie'
Feb  8 15:43:28 martha NetworkManager: <information>    wpa_supplicant(3554): 
Association request to the driver failed
Feb  8 15:43:28 martha NetworkManager: <information>    wpa_supplicant(3554): 
Associated with 02:02:2d:4a:52:80
Feb  8 15:43:28 martha NetworkManager: <information>    wpa_supplicant(3554): 
CTRL-EVENT-CONNECTED - Connection to 02:02:2d
:4a:52:80 completed (reauth)
Feb  8 15:43:28 martha NetworkManager: <information>    wpa_supplicant(3554): 
CTRL-EVENT-DISCONNECTED - Disconnect event -
remove keys
Feb  8 15:43:28 martha NetworkManager: <information>    wpa_supplicant(3554): 
Trying to associate with SSID 'maths.tcd.ie'
Feb  8 15:43:28 martha NetworkManager: <information>    wpa_supplicant(3554): 
Association request to the driver failed
Feb  8 15:43:28 martha NetworkManager: <information>    wpa_supplicant(3554): 
Authentication with 00:00:00:00:00:00 timed o
ut.
Feb  8 15:43:28 martha NetworkManager: <information>    wpa_supplicant(3554): 
Trying to associate with SSID 'maths.tcd.ie'
Feb  8 15:43:28 martha NetworkManager: <information>    wpa_supplicant(3554): 
Association request to the driver failed
Feb  8 15:43:28 martha NetworkManager: <information>    wpa_supplicant(3554): 
Authentication with 00:00:00:00:00:00 timed o
ut.
----------------------------------------------------------------
These last lines are repeated indefinitely.
Then I re-start NetworkManager, and the connection is re-established:
----------------------------------------------------------------
Feb  8 15:42:17 martha NetworkManager: <WARNING>         
nm_device_802_11_wireless_scan (): device eth1 returned an error. Feb  8 
15:42:25 martha NetworkManager: <information>    eth1: link timed out.                                              
Feb  8 15:43:28 martha NetworkManager: <information>    wpa_supplicant(3554): 
maths.tcd.ie'                                Feb  8 15:43:28 martha 
NetworkManager: <information>    wpa_supplicant(3554): Association request to 
the driver failed     Feb  8 15:43:28 martha NetworkManager: <information>    
wpa_supplicant(3554): Associated with 02:02:2d:4a:52:80            Feb  8 
15:43:28 martha NetworkManager: <information>    wpa_supplicant(3554): 
CTRL-EVENT-CONNECTED - Connection to 02:02:2d:4a:52:80 completed (reauth)                                                                                               
Feb  8 15:43:28 martha NetworkManager: <information>    wpa_supplicant(3554): 
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys                                                                                                                
Feb  8 15:43:28 martha NetworkManager: <information>    wpa_supplicant(3554): 
Trying to associate with SSID 'maths.tcd.ie' Feb  8 15:43:28 martha 
NetworkManager: <information>    wpa_supplicant(3554): Association request to 
the driver failed     Feb  8 15:43:28 martha NetworkManager: <information>    
wpa_supplicant(3554): Authentication with 00:00:00:00:00:00 timed out.
----------------------------------------------------------------


-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland



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