WIFI taking 2 to 6 minutes to connect to router

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Satscape
Level 1
Level 1
Posts: 29
Joined: Sat Jun 07, 2014 5:45 am

WIFI taking 2 to 6 minutes to connect to router

Post by Satscape »

Hi all, recently my wifi seems to be taking a long time to connect. I have a dual boot system, Windows connects fine. I've had a look at /var/log/syslog but can't see anything obvious, but to be honest most of it doesn't make any sense :-) One bit seems to think I'm in germany (I'm in the UK), so can anyone see anything going wrong in the log below and suggest a fix? Thanks!

Code: Select all

Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> (wlan0): disconnecting for new activation request.
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> (wlan0): device state change: activated -> disconnected (reason 'none') [100 30 0]
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> (wlan0): deactivating device (reason 'none') [0]
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 2782
Sep 19 09:28:22 scottslinux avahi-daemon[759]: Withdrawing address record for 192.168.0.23 on wlan0.
Sep 19 09:28:22 scottslinux avahi-daemon[759]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.0.23.
Sep 19 09:28:22 scottslinux avahi-daemon[759]: Interface wlan0.IPv4 no longer relevant for mDNS.
Sep 19 09:28:22 scottslinux avahi-daemon[759]: Withdrawing address record for fdf6:4d53:861c:0:74b7:f9dc:318:ff60 on wlan0.
Sep 19 09:28:22 scottslinux avahi-daemon[759]: Withdrawing address record for fdf6:4d53:861c:0:7edd:90ff:fe41:9772 on wlan0.
Sep 19 09:28:22 scottslinux avahi-daemon[759]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fdf6:4d53:861c:0:7edd:90ff:fe41:9772.
Sep 19 09:28:22 scottslinux avahi-daemon[759]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::7edd:90ff:fe41:9772.
Sep 19 09:28:22 scottslinux avahi-daemon[759]: Registering new address record for fe80::7edd:90ff:fe41:9772 on wlan0.*.
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Writing DNS information to /sbin/resolvconf
Sep 19 09:28:22 scottslinux dnsmasq[2789]: setting upstream servers from DBus
Sep 19 09:28:22 scottslinux dnsmasq[2789]: using nameserver fdf6:4d53:861c:0:c23e:fff:febe:76e0#53
Sep 19 09:28:22 scottslinux kernel: [ 1159.756647] wlan0: deauthenticating from c0:3e:0f:be:76:e1 by local choice (Reason: 3=DEAUTH_LEAVING)
Sep 19 09:28:22 scottslinux kernel: [ 1159.830927] cfg80211: Calling CRDA to update world regulatory domain
Sep 19 09:28:22 scottslinux kernel: [ 1159.834326] cfg80211: World regulatory domain updated:
Sep 19 09:28:22 scottslinux kernel: [ 1159.834331] cfg80211:  DFS Master region: unset
Sep 19 09:28:22 scottslinux kernel: [ 1159.834333] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Sep 19 09:28:22 scottslinux kernel: [ 1159.834337] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
Sep 19 09:28:22 scottslinux kernel: [ 1159.834339] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
Sep 19 09:28:22 scottslinux kernel: [ 1159.834341] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
Sep 19 09:28:22 scottslinux kernel: [ 1159.834343] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
Sep 19 09:28:22 scottslinux kernel: [ 1159.834345] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
Sep 19 09:27:28 scottslinux wpa_supplicant[921]: message repeated 6 times: [ wlan0: CTRL-EVENT-SCAN-STARTED ]
Sep 19 09:28:22 scottslinux wpa_supplicant[921]: wlan0: CTRL-EVENT-DISCONNECTED bssid=c0:3e:0f:be:76:e1 reason=3 locally_generated=1
Sep 19 09:28:22 scottslinux dnsmasq[2789]: setting upstream servers from DBus
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Writing DNS information to /sbin/resolvconf
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Activation (wlan0) starting connection 'PennyGetYourOwnWIFI'
Sep 19 09:28:22 scottslinux dbus[709]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Sep 19 09:28:22 scottslinux NetworkManager[793]: <warn> Connection disconnected (reason -3)
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> (wlan0): supplicant interface state: completed -> disconnected
Sep 19 09:28:22 scottslinux NetworkManager[793]: <warn> Connection disconnected (reason -3)
Sep 19 09:28:22 scottslinux wpa_supplicant[921]: wlan0: CTRL-EVENT-SCAN-STARTED 
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Sep 19 09:28:22 scottslinux dbus[709]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Activation (wlan0/wireless): access point 'PennyGetYourOwnWIFI' has security, but secrets are required.
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> (wlan0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Activation (wlan0/wireless): connection 'PennyGetYourOwnWIFI' has security, and secrets exist.  No new secrets needed.
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Config: added 'ssid' value 'PennyGetYourOwnWIFI'
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Config: added 'scan_ssid' value '1'
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Config: added 'psk' value '<omitted>'
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Sep 19 09:28:22 scottslinux NetworkManager[793]: <info> Config: set interface ap_scan to 1
Sep 19 09:28:24 scottslinux wpa_supplicant[921]: wlan0: SME: Trying to authenticate with c0:3e:0f:be:76:e1 (SSID='PennyGetYourOwnWIFI' freq=2412 MHz)
Sep 19 09:28:24 scottslinux kernel: [ 1161.171898] wlan0: authenticate with c0:3e:0f:be:76:e1
Sep 19 09:28:24 scottslinux NetworkManager[793]: <info> (wlan0): supplicant interface state: disconnected -> authenticating
Sep 19 09:28:24 scottslinux kernel: [ 1161.218724] wlan0: send auth to c0:3e:0f:be:76:e1 (try 1/3)
Sep 19 09:28:24 scottslinux kernel: [ 1161.220367] wlan0: authenticated
Sep 19 09:28:24 scottslinux wpa_supplicant[921]: wlan0: Trying to associate with c0:3e:0f:be:76:e1 (SSID='PennyGetYourOwnWIFI' freq=2412 MHz)
Sep 19 09:28:24 scottslinux NetworkManager[793]: <info> (wlan0): supplicant interface state: authenticating -> associating
Sep 19 09:28:24 scottslinux kernel: [ 1161.224344] wlan0: associate with c0:3e:0f:be:76:e1 (try 1/3)
Sep 19 09:28:24 scottslinux kernel: [ 1161.228000] wlan0: RX AssocResp from c0:3e:0f:be:76:e1 (capab=0x1411 status=0 aid=8)
Sep 19 09:28:24 scottslinux kernel: [ 1161.234564] wlan0: associated
Sep 19 09:28:24 scottslinux kernel: [ 1161.234646] cfg80211: Calling CRDA for country: DE
Sep 19 09:28:24 scottslinux kernel: [ 1161.237504] cfg80211: Regulatory domain changed to country: DE
Sep 19 09:28:24 scottslinux kernel: [ 1161.237508] cfg80211:  DFS Master region: unset
Sep 19 09:28:24 scottslinux kernel: [ 1161.237510] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Sep 19 09:28:24 scottslinux kernel: [ 1161.237512] cfg80211:   (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Sep 19 09:28:24 scottslinux kernel: [ 1161.237514] cfg80211:   (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Sep 19 09:28:24 scottslinux kernel: [ 1161.237517] cfg80211:   (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm), (0 s)
Sep 19 09:28:24 scottslinux kernel: [ 1161.237518] cfg80211:   (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm), (0 s)
Sep 19 09:28:24 scottslinux kernel: [ 1161.237520] cfg80211:   (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
Sep 19 09:28:24 scottslinux wpa_supplicant[921]: wlan0: Associated with c0:3e:0f:be:76:e1
Sep 19 09:28:24 scottslinux NetworkManager[793]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake
Sep 19 09:28:24 scottslinux kernel: [ 1161.248158] wlan0: Limiting TX power to 20 (20 - 0) dBm as advertised by c0:3e:0f:be:76:e1
Sep 19 09:28:25 scottslinux wpa_supplicant[921]: wlan0: WPA: Key negotiation completed with c0:3e:0f:be:76:e1 [PTK=CCMP GTK=CCMP]
Sep 19 09:28:25 scottslinux wpa_supplicant[921]: wlan0: CTRL-EVENT-CONNECTED - Connection to c0:3e:0f:be:76:e1 completed [id=0 id_str=]
Sep 19 09:28:25 scottslinux wpa_supplicant[921]: wlan0: WPA: Key negotiation completed with c0:3e:0f:be:76:e1 [PTK=CCMP GTK=CCMP]
Sep 19 09:28:25 scottslinux NetworkManager[793]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Sep 19 09:28:25 scottslinux NetworkManager[793]: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'PennyGetYourOwnWIFI'.
Sep 19 09:28:25 scottslinux NetworkManager[793]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
Sep 19 09:28:25 scottslinux NetworkManager[793]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...
Sep 19 09:28:25 scottslinux NetworkManager[793]: <info> (wlan0): device state change: config -> ip-config (reason 'none') [50 70 0]
Sep 19 09:28:25 scottslinux NetworkManager[793]: <info> Activation (wlan0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Sep 19 09:28:25 scottslinux NetworkManager[793]: <info> dhclient started with pid 3298
Sep 19 09:28:25 scottslinux NetworkManager[793]: <info> Activation (wlan0) Beginning IP6 addrconf.
Sep 19 09:28:25 scottslinux NetworkManager[793]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.
Sep 19 09:28:25 scottslinux avahi-daemon[759]: Withdrawing address record for fe80::7edd:90ff:fe41:9772 on wlan0.
Sep 19 09:28:25 scottslinux avahi-daemon[759]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::7edd:90ff:fe41:9772.
Sep 19 09:28:25 scottslinux avahi-daemon[759]: Interface wlan0.IPv6 no longer relevant for mDNS.
Sep 19 09:28:25 scottslinux dhclient: Internet Systems Consortium DHCP Client 4.2.4
Sep 19 09:28:25 scottslinux dhclient: Copyright 2004-2012 Internet Systems Consortium.
Sep 19 09:28:25 scottslinux dhclient: All rights reserved.
Sep 19 09:28:25 scottslinux dhclient: For info, please visit https://www.isc.org/software/dhcp/
Sep 19 09:28:25 scottslinux dhclient: 
Sep 19 09:28:25 scottslinux NetworkManager[793]: <info> (wlan0): DHCPv4 state changed nbi -> preinit
Sep 19 09:28:25 scottslinux dhclient: Listening on LPF/wlan0/7c:dd:90:41:97:72
Sep 19 09:28:25 scottslinux dhclient: Sending on   LPF/wlan0/7c:dd:90:41:97:72
Sep 19 09:28:25 scottslinux dhclient: Sending on   Socket/fallback
Sep 19 09:28:25 scottslinux dhclient: DHCPREQUEST of 192.168.0.23 on wlan0 to 255.255.255.255 port 67 (xid=0x5e7cbaff)
Sep 19 09:28:27 scottslinux avahi-daemon[759]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::7edd:90ff:fe41:9772.
Sep 19 09:28:27 scottslinux avahi-daemon[759]: New relevant interface wlan0.IPv6 for mDNS.
Sep 19 09:28:27 scottslinux avahi-daemon[759]: Registering new address record for fe80::7edd:90ff:fe41:9772 on wlan0.*.
Sep 19 09:28:32 scottslinux kernel: [ 1169.183539] wlan0: deauthenticated from c0:3e:0f:be:76:e1 (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
Sep 19 09:28:31 scottslinux wpa_supplicant[921]: message repeated 6 times: [ wlan0: WPA: Key negotiation completed with c0:3e:0f:be:76:e1 [PTK=CCMP GTK=CCMP]]
Sep 19 09:28:32 scottslinux wpa_supplicant[921]: wlan0: CTRL-EVENT-DISCONNECTED bssid=c0:3e:0f:be:76:e1 reason=15
Sep 19 09:28:32 scottslinux NetworkManager[793]: <warn> Connection disconnected (reason 15)
Sep 19 09:28:32 scottslinux kernel: [ 1169.250716] cfg80211: Calling CRDA to update world regulatory domain
Sep 19 09:28:32 scottslinux NetworkManager[793]: <info> (wlan0): supplicant interface state: completed -> disconnected
Sep 19 09:28:32 scottslinux kernel: [ 1169.254004] cfg80211: World regulatory domain updated:
Sep 19 09:28:32 scottslinux kernel: [ 1169.254009] cfg80211:  DFS Master region: unset
Sep 19 09:28:32 scottslinux kernel: [ 1169.254011] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Sep 19 09:28:32 scottslinux kernel: [ 1169.254014] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
Sep 19 09:28:32 scottslinux kernel: [ 1169.254017] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
Sep 19 09:28:32 scottslinux kernel: [ 1169.254019] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
Sep 19 09:28:32 scottslinux kernel: [ 1169.254021] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
Sep 19 09:28:32 scottslinux kernel: [ 1169.254022] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
Sep 19 09:28:32 scottslinux wpa_supplicant[921]: wlan0: CTRL-EVENT-SCAN-STARTED 
Sep 19 09:28:32 scottslinux NetworkManager[793]: <info> (wlan0): supplicant interface state: disconnected -> scanning
Sep 19 09:28:33 scottslinux wpa_supplicant[921]: wlan0: SME: Trying to authenticate with c0:3e:0f:be:76:e1 (SSID='PennyGetYourOwnWIFI' freq=2412 MHz)
Sep 19 09:28:33 scottslinux kernel: [ 1170.626124] wlan0: authenticate with c0:3e:0f:be:76:e1
Sep 19 09:28:33 scottslinux NetworkManager[793]: <info> (wlan0): supplicant interface state: scanning -> authenticating
Sep 19 09:28:33 scottslinux kernel: [ 1170.671989] wlan0: send auth to c0:3e:0f:be:76:e1 (try 1/3)
Sep 19 09:28:33 scottslinux wpa_supplicant[921]: wlan0: Trying to associate with c0:3e:0f:be:76:e1 (SSID='PennyGetYourOwnWIFI' freq=2412 MHz)
Sep 19 09:28:33 scottslinux kernel: [ 1170.675099] wlan0: authenticated
Sep 19 09:28:33 scottslinux kernel: [ 1170.678539] wlan0: associate with c0:3e:0f:be:76:e1 (try 1/3)
Sep 19 09:28:33 scottslinux NetworkManager[793]: <info> (wlan0): supplicant interface state: authenticating -> associating
Sep 19 09:28:33 scottslinux kernel: [ 1170.681886] wlan0: RX AssocResp from c0:3e:0f:be:76:e1 (capab=0x1411 status=0 aid=8)
Sep 19 09:28:33 scottslinux wpa_supplicant[921]: wlan0: Associated with c0:3e:0f:be:76:e1
Sep 19 09:28:33 scottslinux kernel: [ 1170.688468] wlan0: associated
Sep 19 09:28:33 scottslinux kernel: [ 1170.688555] cfg80211: Calling CRDA for country: DE
Sep 19 09:28:33 scottslinux NetworkManager[793]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake
Sep 19 09:28:33 scottslinux kernel: [ 1170.691580] cfg80211: Regulatory domain changed to country: DE
Sep 19 09:28:33 scottslinux kernel: [ 1170.691584] cfg80211:  DFS Master region: unset
Sep 19 09:28:33 scottslinux kernel: [ 1170.691586] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Sep 19 09:28:33 scottslinux kernel: [ 1170.691589] cfg80211:   (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Sep 19 09:28:33 scottslinux kernel: [ 1170.691591] cfg80211:   (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Sep 19 09:28:33 scottslinux kernel: [ 1170.691593] cfg80211:   (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm), (0 s)
Sep 19 09:28:33 scottslinux kernel: [ 1170.691595] cfg80211:   (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm), (0 s)
Sep 19 09:28:33 scottslinux kernel: [ 1170.691597] cfg80211:   (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
Sep 19 09:28:33 scottslinux kernel: [ 1170.776087] wlan0: Limiting TX power to 20 (20 - 0) dBm as advertised by c0:3e:0f:be:76:e1
Sep 19 09:28:34 scottslinux wpa_supplicant[921]: wlan0: WPA: Key negotiation completed with c0:3e:0f:be:76:e1 [PTK=CCMP GTK=CCMP]
Sep 19 09:28:34 scottslinux wpa_supplicant[921]: wlan0: CTRL-EVENT-CONNECTED - Connection to c0:3e:0f:be:76:e1 completed [id=0 id_str=]
Sep 19 09:28:34 scottslinux wpa_supplicant[921]: wlan0: WPA: Key negotiation completed with c0:3e:0f:be:76:e1 [PTK=CCMP GTK=CCMP]
Sep 19 09:28:34 scottslinux NetworkManager[793]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Sep 19 09:28:31 scottslinux dhclient: message repeated 2 times: [ DHCPREQUEST of 192.168.0.23 on wlan0 to 255.255.255.255 port 67 (xid=0x5e7cbaff)]
Sep 19 09:28:36 scottslinux dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 (xid=0x381ae43b)
Sep 19 09:28:39 scottslinux dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 (xid=0x381ae43b)
Sep 19 09:28:41 scottslinux kernel: [ 1178.643049] wlan0: deauthenticated from c0:3e:0f:be:76:e1 (Reason: 15=4WAY_HANDSHAKE_TIMEOUT)
Sep 19 09:28:40 scottslinux wpa_supplicant[921]: message repeated 6 times: [ wlan0: WPA: Key negotiation completed with c0:3e:0f:be:76:e1 [PTK=CCMP GTK=CCMP]]
Sep 19 09:28:41 scottslinux wpa_supplicant[921]: wlan0: CTRL-EVENT-DISCONNECTED bssid=c0:3e:0f:be:76:e1 reason=15
Sep 19 09:28:41 scottslinux NetworkManager[793]: <warn> Connection disconnected (reason 15)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: WIFI taking 2 to 6 minutes to connect to router

Post by JeremyB »

We can set the regulatory info to GB with

Code: Select all

sudo iw reg set GB

Code: Select all

sudo gedit /etc/default/crda
At the end of the file should be REGDOMAIN=, make it be

Code: Select all

REGDOMAIN=GB
Save, exit program. I would also edit the connection in Network Manager to ignore IPv6
Satscape
Level 1
Level 1
Posts: 29
Joined: Sat Jun 07, 2014 5:45 am

Re: WIFI taking 2 to 6 minutes to connect to router

Post by Satscape »

Thanks for the quick reply. I've made the alterations you suggested and rebooted, but still the same. Also re-examining the log, it still thinks I'm in germany

Code: Select all

Sep 19 11:19:06 scottslinux kernel: [   48.786192] cfg80211: Calling CRDA for country: DE
Sep 19 11:19:06 scottslinux kernel: [   48.788584] cfg80211: Regulatory domain changed to country: DE
and

Code: Select all

cat /etc/default/crda

# Set REGDOMAIN to a ISO/IEC 3166-1 alpha2 country code so that iw(8) may set
# the initial regulatory domain setting for IEEE 802.11 devices which operate
# on this system.
#
# Governments assert the right to regulate usage of radio spectrum within
# their respective territories so make sure you select a ISO/IEC 3166-1 alpha2
# country code suitable for your location or you may infringe on local
# legislature. See `/usr/share/zoneinfo/zone.tab' for a table of timezone
# descriptions containing ISO/IEC 3166-1 alpha2 country codes.

REGDOMAIN=GB
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: WIFI taking 2 to 6 minutes to connect to router

Post by JeremyB »

I wonder what

Code: Select all

cat /sys/module/cfg80211/parameters/ieee80211_regdom
And we could check to see if the other command worked with

Code: Select all

iw reg get
Satscape
Level 1
Level 1
Posts: 29
Joined: Sat Jun 07, 2014 5:45 am

Re: WIFI taking 2 to 6 minutes to connect to router

Post by Satscape »

Code: Select all

cat /sys/module/cfg80211/parameters/ieee80211_regdom
00

iw reg get
country 98:
	(2402 - 2482 @ 40), (N/A, 20)
	(5170 - 5250 @ 40), (N/A, 20), NO-OUTDOOR
	(5250 - 5330 @ 40), (N/A, 20), NO-OUTDOOR, DFS
	(5490 - 5710 @ 40), (N/A, 26), DFS
	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR

JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: WIFI taking 2 to 6 minutes to connect to router

Post by JeremyB »

Is there a country setting in the router?
Satscape
Level 1
Level 1
Posts: 29
Joined: Sat Jun 07, 2014 5:45 am

Re: WIFI taking 2 to 6 minutes to connect to router

Post by Satscape »

JeremyB wrote:Is there a country setting in the router?
Router is a Sky broadband box, the only setting I can see is Wireless network > Region > Europe. No other options in there anyway. Channel is auto and it's choosing channel 1.
It did seem a bit faster connecting today, so *maybe* the changes have had some effect. Just odd that it should still be changing to the German setting :?
Locked

Return to “Networking”