Re: Disconnection



On Thu, 2007-02-08 at 16:29 +0000, Timothy Murphy wrote:
> 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?

The driver is telling wpa_supplicant that you have been disconnected or
otherwise lost association/authentication.  Does wpa_supplicant work by
itself?  Do you still get disconnection events when using wpa_supplicant
and issuing 'iwlist eth1 scan' periodically?

Drivers should _not_ be disconnecting you when a scan is run; that's a
driver bug, but that may be what you're running into.

Dan

> 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
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list




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