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

Re: odd network error - wireless drops when browsing with mc over ssh



On 14/10/11 15:40, Camaleón wrote:

Hi,

Please, don't "cross-post" between lists unless it is strictly necessary
(I don't think this is such case ;-) ), it's a mess because users who
follow Debian list could not be following the replies you get on the
Ubuntu one (and viceversa) so we can miss information.


Sorry. I did it because the server is debian and my laptop is ubuntu, but I guess I should have stated that in the original email.

(...)

Can you please tell where is located the wireless adapter for where
connection is dropped, on the connecting machine (client) or on the
connected one (remote server)?


It's the local client machine that I'm connecting from that loses its wireless connection.

You said "local router"... does it mean the client side? If yes, you can
do some debugging, for example, restarting the networking service
(instead rebooting) and retest the connection.


Yes I lose the connection between my laptop and my home router. I meant rebooting the router, not my computer. What happens is the wireless drops completely, and won't reconnect until I reboot the router. I don't know how to restart just the networking on this router.

Are you using NM to manage the wireless interface? If yes, you can
monitor the logs in real time (as root, "tail -f /var/log/syslog") to
gather more information on the disconnection.


I've already tried this, but don't know enough about what's happening to interpret it much. I've pasted below what comes up in the syslog when the error occurs.

OTOH, are you sure the above steps are the only pattern that triggers the
failure? I don't see the relation between using MC to get into "/etc"
directory and loss the wifi connection :-?

There could be other things that would cause the error - that's probably just how it's shown up because it's something I do often. If I do 'cd /etc', and start mc from there, it works fine, and continues to work. I haven't yet managed to work out the boundaries of what makes it drop and what doesn't. E.g. sometimes I can do what seems to be the same thing, and it works differently.

Here is a copy of /var/log/syslog on my laptop from the point that the terminal session hangs, through the wireless dropping, to when it gives up trying to re-authenticate to the router. The first line in the log is at the point where the wireless drops, which is a minute or so after the terminal session freezes.

Oct 14 20:23:49 monkey kernel: [16509.860121] No probe response from AP e0:46:9a:05:59:46 after 500ms, disconnecting. Oct 14 20:23:49 monkey wpa_supplicant[1140]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Oct 14 20:23:49 monkey NetworkManager: <info> (wlan0): supplicant connection state: completed -> disconnected Oct 14 20:23:49 monkey NetworkManager: <info> (wlan0): supplicant connection state: disconnected -> scanning
Oct 14 20:23:52 monkey wpa_supplicant[1140]: WPS-AP-AVAILABLE
Oct 14 20:23:52 monkey wpa_supplicant[1140]: Trying to associate with e0:46:9a:05:59:46 (SSID='PARROT' freq=2447 MHz) Oct 14 20:23:52 monkey NetworkManager: <info> (wlan0): supplicant connection state: scanning -> associating Oct 14 20:23:52 monkey kernel: [16512.252301] wlan0: direct probe to AP e0:46:9a:05:59:46 (try 1) Oct 14 20:23:52 monkey kernel: [16512.448089] wlan0: direct probe to AP e0:46:9a:05:59:46 (try 2) Oct 14 20:23:52 monkey kernel: [16512.648120] wlan0: direct probe to AP e0:46:9a:05:59:46 (try 3) Oct 14 20:23:52 monkey kernel: [16512.848085] wlan0: direct probe to AP e0:46:9a:05:59:46 timed out Oct 14 20:23:57 monkey NetworkManager: <debug> [1318620237.003883] periodic_update(): Roamed from BSSID E0:46:9A:05:59:46 (PARROT) to (none) ((none)) Oct 14 20:24:02 monkey wpa_supplicant[1140]: Authentication with e0:46:9a:05:59:46 timed out. Oct 14 20:24:02 monkey NetworkManager: <info> (wlan0): supplicant connection state: associating -> disconnected Oct 14 20:24:02 monkey NetworkManager: <info> (wlan0): supplicant connection state: disconnected -> scanning
Oct 14 20:24:04 monkey wpa_supplicant[1140]: WPS-AP-AVAILABLE
Oct 14 20:24:04 monkey wpa_supplicant[1140]: Trying to associate with e0:46:9a:05:59:46 (SSID='PARROT' freq=2447 MHz) Oct 14 20:24:04 monkey NetworkManager: <info> (wlan0): supplicant connection state: scanning -> associating Oct 14 20:24:04 monkey kernel: [16524.543038] wlan0: direct probe to AP e0:46:9a:05:59:46 (try 1) Oct 14 20:24:04 monkey kernel: [16524.740095] wlan0: direct probe to AP e0:46:9a:05:59:46 (try 2) Oct 14 20:24:04 monkey kernel: [16524.940093] wlan0: direct probe to AP e0:46:9a:05:59:46 (try 3) Oct 14 20:24:04 monkey NetworkManager: <info> (wlan0): device state change: 8 -> 3 (reason 11) Oct 14 20:24:05 monkey NetworkManager: <info> (wlan0): deactivating device (reason: 11). Oct 14 20:24:05 monkey kernel: [16525.140103] wlan0: direct probe to AP e0:46:9a:05:59:46 timed out Oct 14 20:24:05 monkey NetworkManager: <info> (wlan0): canceled DHCP transaction, dhcp client pid 5525 Oct 14 20:24:05 monkey NetworkManager: <WARN> check_one_route(): (wlan0) error -34 returned from rtnl_route_del(): Sucess#012 Oct 14 20:24:05 monkey avahi-daemon[953]: Withdrawing address record for 192.168.0.10 on wlan0. Oct 14 20:24:05 monkey avahi-daemon[953]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.0.10. Oct 14 20:24:05 monkey avahi-daemon[953]: Interface wlan0.IPv4 no longer relevant for mDNS. Oct 14 20:24:05 monkey NetworkManager: <info> Activation (wlan0) starting connection 'Auto PARROT' Oct 14 20:24:05 monkey NetworkManager: <info> (wlan0): device state change: 3 -> 4 (reason 0) Oct 14 20:24:05 monkey NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled... Oct 14 20:24:05 monkey NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started... Oct 14 20:24:05 monkey NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled... Oct 14 20:24:05 monkey NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete. Oct 14 20:24:05 monkey NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting... Oct 14 20:24:05 monkey NetworkManager: <info> (wlan0): device state change: 4 -> 5 (reason 0) Oct 14 20:24:05 monkey NetworkManager: <info> Activation (wlan0/wireless): access point 'Auto PARROT' has security, but secrets are required. Oct 14 20:24:05 monkey NetworkManager: <info> (wlan0): device state change: 5 -> 6 (reason 0) Oct 14 20:24:05 monkey NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete. Oct 14 20:24:05 monkey NetworkManager: <info> (wlan0): supplicant connection state: associating -> disconnected Oct 14 20:24:05 monkey NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled... Oct 14 20:24:05 monkey NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started... Oct 14 20:24:05 monkey NetworkManager: <info> (wlan0): device state change: 6 -> 4 (reason 0) Oct 14 20:24:05 monkey NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled... Oct 14 20:24:05 monkey NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete. Oct 14 20:24:05 monkey NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting... Oct 14 20:24:05 monkey NetworkManager: <info> (wlan0): device state change: 4 -> 5 (reason 0) Oct 14 20:24:05 monkey NetworkManager: <info> Activation (wlan0/wireless): connection 'Auto PARROT' has security, and secrets exist. No new secrets needed. Oct 14 20:24:05 monkey NetworkManager: <info> Config: added 'ssid' value 'PARROT' Oct 14 20:24:05 monkey NetworkManager: <info> Config: added 'scan_ssid' value '1' Oct 14 20:24:05 monkey NetworkManager: <info> Config: added 'key_mgmt' value 'WPA-PSK' Oct 14 20:24:05 monkey NetworkManager: <info> Config: added 'psk' value '<omitted>' Oct 14 20:24:05 monkey NetworkManager: nm_setting_802_1x_get_pkcs11_engine_path: assertion `NM_IS_SETTING_802_1X (setting)' failed Oct 14 20:24:05 monkey NetworkManager: nm_setting_802_1x_get_pkcs11_module_path: assertion `NM_IS_SETTING_802_1X (setting)' failed Oct 14 20:24:05 monkey NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete. Oct 14 20:24:05 monkey NetworkManager: <info> Config: set interface ap_scan to 1 Oct 14 20:24:05 monkey NetworkManager: <info> (wlan0): supplicant connection state: disconnected -> scanning
Oct 14 20:24:07 monkey wpa_supplicant[1140]: WPS-AP-AVAILABLE
Oct 14 20:24:14 monkey wpa_supplicant[1140]: Authentication with 00:00:00:00:00:00 timed out.
Oct 14 20:24:14 monkey wpa_supplicant[1140]: Failed to initiate AP scan.
Oct 14 20:24:14 monkey NetworkManager: <info> (wlan0): supplicant connection state: scanning -> disconnected Oct 14 20:24:14 monkey NetworkManager: <info> (wlan0): supplicant connection state: disconnected -> scanning
Oct 14 20:24:14 monkey wpa_supplicant[1140]: WPS-AP-AVAILABLE
Oct 14 20:24:14 monkey wpa_supplicant[1140]: Trying to associate with e0:46:9a:05:59:46 (SSID='PARROT' freq=2447 MHz) Oct 14 20:24:14 monkey NetworkManager: <info> (wlan0): supplicant connection state: scanning -> associating Oct 14 20:24:14 monkey kernel: [16534.832477] wlan0: direct probe to AP e0:46:9a:05:59:46 (try 1) Oct 14 20:24:14 monkey kernel: [16535.032119] wlan0: direct probe to AP e0:46:9a:05:59:46 (try 2) Oct 14 20:24:15 monkey kernel: [16535.232071] wlan0: direct probe to AP e0:46:9a:05:59:46 (try 3) Oct 14 20:24:15 monkey kernel: [16535.432153] wlan0: direct probe to AP e0:46:9a:05:59:46 timed out Oct 14 20:24:24 monkey wpa_supplicant[1140]: Authentication with e0:46:9a:05:59:46 timed out. Oct 14 20:24:24 monkey NetworkManager: <info> (wlan0): supplicant connection state: associating -> disconnected Oct 14 20:24:24 monkey NetworkManager: <info> (wlan0): supplicant connection state: disconnected -> scanning
Oct 14 20:24:27 monkey wpa_supplicant[1140]: WPS-AP-AVAILABLE
Oct 14 20:24:41 monkey wpa_supplicant[1140]: last message repeated 2 times
Oct 14 20:24:41 monkey wpa_supplicant[1140]: Trying to associate with e0:46:9a:05:59:46 (SSID='PARROT' freq=2447 MHz) Oct 14 20:24:41 monkey NetworkManager: <info> (wlan0): supplicant connection state: scanning -> associating Oct 14 20:24:41 monkey kernel: [16561.689607] wlan0: direct probe to AP e0:46:9a:05:59:46 (try 1) Oct 14 20:24:41 monkey kernel: [16561.888160] wlan0: direct probe to AP e0:46:9a:05:59:46 (try 2) Oct 14 20:24:42 monkey kernel: [16562.088103] wlan0: direct probe to AP e0:46:9a:05:59:46 (try 3) Oct 14 20:24:42 monkey kernel: [16562.288096] wlan0: direct probe to AP e0:46:9a:05:59:46 timed out
Oct 14 20:24:45 monkey NetworkManager: <info>  wlan0: link timed out.
Oct 14 20:24:51 monkey wpa_supplicant[1140]: Authentication with e0:46:9a:05:59:46 timed out. Oct 14 20:24:51 monkey NetworkManager: <info> (wlan0): supplicant connection state: associating -> disconnected Oct 14 20:24:51 monkey NetworkManager: <info> (wlan0): supplicant connection state: disconnected -> scanning
Oct 14 20:24:53 monkey wpa_supplicant[1140]: WPS-AP-AVAILABLE
Oct 14 20:24:53 monkey wpa_supplicant[1140]: Trying to associate with e0:46:9a:05:59:46 (SSID='PARROT' freq=2447 MHz) Oct 14 20:24:53 monkey NetworkManager: <info> (wlan0): supplicant connection state: scanning -> associating Oct 14 20:24:53 monkey kernel: [16573.929431] wlan0: direct probe to AP e0:46:9a:05:59:46 (try 1) Oct 14 20:24:54 monkey kernel: [16574.129145] wlan0: direct probe to AP e0:46:9a:05:59:46 (try 2) Oct 14 20:24:54 monkey kernel: [16574.328172] wlan0: direct probe to AP e0:46:9a:05:59:46 (try 3) Oct 14 20:24:54 monkey kernel: [16574.529073] wlan0: direct probe to AP e0:46:9a:05:59:46 timed out Oct 14 20:25:03 monkey wpa_supplicant[1140]: Authentication with e0:46:9a:05:59:46 timed out. Oct 14 20:25:03 monkey NetworkManager: <info> (wlan0): supplicant connection state: associating -> disconnected Oct 14 20:25:03 monkey NetworkManager: <info> (wlan0): supplicant connection state: disconnected -> scanning Oct 14 20:25:06 monkey NetworkManager: <info> Activation (wlan0/wireless): association took too long. Oct 14 20:25:06 monkey NetworkManager: <info> (wlan0): device state change: 5 -> 6 (reason 0) Oct 14 20:25:06 monkey NetworkManager: <info> Activation (wlan0/wireless): asking for new secrets Oct 14 20:25:06 monkey NetworkManager: <info> (wlan0): supplicant connection state: scanning -> disconnected Oct 14 20:25:07 monkey NetworkManager: <info> (wlan0): device state change: 6 -> 9 (reason 7) Oct 14 20:25:07 monkey NetworkManager: <info> Activation (wlan0) failed for access point (PARROT) Oct 14 20:25:07 monkey NetworkManager: <info> Marking connection 'Auto PARROT' invalid.
Oct 14 20:25:07 monkey NetworkManager: <info>  Activation (wlan0) failed.
Oct 14 20:25:07 monkey NetworkManager: <info> (wlan0): device state change: 9 -> 3 (reason 0) Oct 14 20:25:07 monkey NetworkManager: <info> (wlan0): deactivating device (reason: 0).



Reply to: