我有一台运行 ubuntu 16.04 的 Elitebook 8570w 和一台 ac3200 路由器。现在我遇到了这个设置最奇怪的问题:当我靠近路由器时,我无法连接它,但当我走远时,我可以连接。当它断开连接时,它会要求我重新验证身份(再次填写密码)。实验表明,当我在路由器 +-6 米范围内时,我无法连接。当我将路由器移到另一个位置时,似乎也会发生这种情况(所以这不是干扰)。我还切换了路由器频道,但这也没有解决问题(尝试了频道 1-4-8-11)。
$ sudo lshw -C network
*-network
description: Ethernet interface
product: 82579LM Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: enp0s25
version: 04
serial: a4:5d:36:9b:ab:c3
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.15-4 ip=192.168.0.171 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:31 memory:d9400000-d941ffff memory:d943b000-d943bfff ioport:5040(size=32)
*-network
description: Wireless interface
product: Centrino Ultimate-N 6300
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:25:00.0
logical name: wlo1
version: 3e
serial: 3c:a9:f4:7a:35:f0
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.4.0-59-generic firmware=9.221.4.1 build 25532 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
resources: irq:33 memory:d9100000-d9101fff
和
$ lspci -vnn
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)
Subsystem: Hewlett-Packard Company 3rd Gen Core processor DRAM Controller [103c:176b]
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: ivb_uncore
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 24
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: d8000000-d90fffff
Prefetchable memory behind bridge: 00000000c0000000-00000000d1ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04) (prog-if 30 [XHCI])
Subsystem: Hewlett-Packard Company 7 Series/C210 Series Chipset Family USB xHCI Host Controller [103c:176b]
Flags: bus master, medium devsel, latency 0, IRQ 29
Memory at d9420000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
Subsystem: Hewlett-Packard Company 7 Series/C210 Series Chipset Family MEI Controller [103c:176b]
Flags: bus master, fast devsel, latency 0, IRQ 32
Memory at d9435000 (64-bit, non-prefetchable) [size=16]
Capabilities: <access denied>
Kernel driver in use: mei_me
Kernel modules: mei_me
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04)
Subsystem: Hewlett-Packard Company 82579LM Gigabit Network Connection [103c:176b]
Flags: bus master, fast devsel, latency 0, IRQ 31
Memory at d9400000 (32-bit, non-prefetchable) [size=128K]
Memory at d943b000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 5040 [size=32]
Capabilities: <access denied>
Kernel driver in use: e1000e
Kernel modules: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company 7 Series/C210 Series Chipset Family USB Enhanced Host Controller [103c:176b]
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at d943a000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
Subsystem: Hewlett-Packard Company 7 Series/C210 Series Chipset Family High Definition Audio Controller [103c:176b]
Flags: bus master, fast devsel, latency 0, IRQ 34
Memory at d9430000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 25
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: d9300000-d93fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 26
Bus: primary=00, secondary=03, subordinate=23, sec-latency=0
I/O behind bridge: 00002000-00003fff
Memory behind bridge: d4000000-d7ffffff
Prefetchable memory behind bridge: 00000000d2000000-00000000d21fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.2 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 [8086:1e14] (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 27
Bus: primary=00, secondary=24, subordinate=24, sec-latency=0
Memory behind bridge: d9200000-d92fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.3 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 [8086:1e16] (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 28
Bus: primary=00, secondary=25, subordinate=25, sec-latency=0
Memory behind bridge: d9100000-d91fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company 7 Series/C210 Series Chipset Family USB Enhanced Host Controller [103c:176b]
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at d9439000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation QM77 Express Chipset LPC Controller [8086:1e55] (rev 04)
Subsystem: Hewlett-Packard Company QM77 Express Chipset LPC Controller [103c:176b]
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 RAID bus controller [0104]: Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a] (rev 04)
Subsystem: Hewlett-Packard Company 82801 Mobile SATA Controller [RAID mode] [103c:176b]
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 30
I/O ports at 5068 [size=8]
I/O ports at 5074 [size=4]
I/O ports at 5060 [size=8]
I/O ports at 5070 [size=4]
I/O ports at 5020 [size=32]
Memory at d9438000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
Subsystem: Hewlett-Packard Company 7 Series/C210 Series Chipset Family SMBus Controller [103c:176b]
Flags: medium devsel, IRQ 10
Memory at d9434000 (64-bit, non-prefetchable) [size=256]
I/O ports at ef80 [size=32]
Kernel modules: i2c_i801
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107GLM [Quadro K1000M] [10de:0ffc] (rev a1) (prog-if 00 [VGA controller])
DeviceName: 0
Subsystem: Hewlett-Packard Company GK107GLM [Quadro K1000M] [103c:176b]
Flags: bus master, fast devsel, latency 0, IRQ 35
Memory at d8000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 4000 [size=128]
[virtual] Expansion ROM at d9080000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_367, nvidia_367_drm
01:00.1 Audio device [0403]: NVIDIA Corporation GK107 HDMI Audio Controller [10de:0e1b] (rev a1)
Subsystem: Hewlett-Packard Company GK107 HDMI Audio Controller [103c:176b]
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at d9000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
24:00.0 FireWire (IEEE 1394) [0c00]: JMicron Technology Corp. IEEE 1394 Host Controller [197b:2380] (rev 30) (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company IEEE 1394 Host Controller [103c:176b]
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at d9200000 (32-bit, non-prefetchable) [size=2K]
Memory at d9205000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: firewire_ohci
Kernel modules: firewire_ohci
24:00.1 System peripheral [0880]: JMicron Technology Corp. SD/MMC Host Controller [197b:2392] (rev 30)
Subsystem: Hewlett-Packard Company SD/MMC Host Controller [103c:176b]
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at d9204000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at d9208000 [disabled] [size=32K]
Capabilities: <access denied>
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
24:00.2 SD Host controller [0805]: JMicron Technology Corp. Standard SD Host Controller [197b:2391] (rev 30) (prog-if 01)
Subsystem: Hewlett-Packard Company Standard SD Host Controller [103c:176b]
Flags: fast devsel, IRQ 18
Memory at d9203000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel modules: sdhci_pci
25:00.0 Network controller [0280]: Intel Corporation Centrino Ultimate-N 6300 [8086:422b] (rev 3e)
DeviceName: WLAN
Subsystem: Intel Corporation Centrino Ultimate-N 6300 3x3 AGN [8086:1101]
Flags: bus master, fast devsel, latency 0, IRQ 33
Memory at d9100000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
当我遇到连接问题时,请执行以下操作:
$sudo tail -f /var/log/syslog
我得到了(循环)结果
Jan 28 11:55:06 AICORE-reboot dhclient[9232]: DHCPDISCOVER on wlo1 to 255.255.255.255 port 67 interval 3 (xid=0x59a3635c)
Jan 28 11:55:09 AICORE-reboot dhclient[9232]: DHCPDISCOVER on wlo1 to 255.255.255.255 port 67 interval 5 (xid=0x59a3635c)
Jan 28 11:55:14 AICORE-reboot dhclient[9232]: DHCPDISCOVER on wlo1 to 255.255.255.255 port 67 interval 12 (xid=0x59a3635c)
Jan 28 11:55:26 AICORE-reboot dhclient[9232]: DHCPDISCOVER on wlo1 to 255.255.255.255 port 67 interval 8 (xid=0x59a3635c)
Jan 28 11:55:34 AICORE-reboot dhclient[9232]: DHCPDISCOVER on wlo1 to 255.255.255.255 port 67 interval 7 (xid=0x59a3635c)
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <warn> [1485600938.3017] dhcp4 (wlo1): request timed out
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3018] dhcp4 (wlo1): state changed unknown -> timeout
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3182] dhcp4 (wlo1): canceled DHCP transaction, DHCP client pid 9232
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3183] dhcp4 (wlo1): state changed timeout -> done
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3188] device (wlo1): state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3192] manager: NetworkManager state is now DISCONNECTED
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <warn> [1485600938.3201] device (wlo1): Activation: failed for connection 'GLADOS MAINFRAME'
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3214] device (wlo1): state change: failed -> disconnected (reason 'none') [120 30 0]
Jan 28 11:55:38 AICORE-reboot avahi-daemon[1134]: Withdrawing address record for fe80::99ad:80fc:78c3:6eaf on wlo1.
Jan 28 11:55:38 AICORE-reboot avahi-daemon[1134]: Leaving mDNS multicast group on interface wlo1.IPv6 with address fe80::99ad:80fc:78c3:6eaf.
Jan 28 11:55:38 AICORE-reboot avahi-daemon[1134]: Interface wlo1.IPv6 no longer relevant for mDNS.
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3258] policy: auto-activating connection 'GLADOS MAINFRAME'
Jan 28 11:55:38 AICORE-reboot kernel: [15223.206329] wlo1: deauthenticating from 54:b8:0a:37:35:2e by local choice (Reason: 3=DEAUTH_LEAVING)
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3317] device (wlo1): Activation: starting connection 'GLADOS MAINFRAME' (dcb05d08-526f-4777-a602-3eb925aa2152)
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3320] device (wlo1): state change: disconnected -> prepare (reason 'none') [30 40 0]
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3322] manager: NetworkManager state is now CONNECTING
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3331] device (wlo1): state change: prepare -> config (reason 'none') [40 50 0]
Jan 28 11:55:38 AICORE-reboot wpa_supplicant[1384]: wlo1: CTRL-EVENT-DISCONNECTED bssid=54:b8:0a:37:35:2e reason=3 locally_generated=1
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3356] device (wlo1): Activation: (wifi) access point 'GLADOS MAINFRAME' has security, but secrets are required.
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3356] device (wlo1): state change: config -> need-auth (reason 'none') [50 60 0]
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <warn> [1485600938.3377] sup-iface[0xc52a10,wlo1]: connection disconnected (reason -3)
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3378] device (wlo1): supplicant interface state: completed -> disconnected
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3402] device (wlo1): state change: need-auth -> prepare (reason 'none') [60 40 0]
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3407] device (wlo1): state change: prepare -> config (reason 'none') [40 50 0]
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3409] device (wlo1): Activation: (wifi) connection 'GLADOS MAINFRAME' has security, and secrets exist. No new secrets needed.
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3409] Config: added 'ssid' value 'GLADOS MAINFRAME'
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3409] Config: added 'scan_ssid' value '1'
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3409] Config: added 'key_mgmt' value 'WPA-PSK'
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3409] Config: added 'auth_alg' value 'OPEN'
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3410] Config: added 'psk' value '<omitted>'
Jan 28 11:55:38 AICORE-reboot wpa_supplicant[1384]: wlo1: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Jan 28 11:55:38 AICORE-reboot kernel: [15223.223973] cfg80211: World regulatory domain updated:
Jan 28 11:55:38 AICORE-reboot kernel: [15223.223978] cfg80211: DFS Master region: unset
Jan 28 11:55:38 AICORE-reboot kernel: [15223.223980] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Jan 28 11:55:38 AICORE-reboot kernel: [15223.223984] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Jan 28 11:55:38 AICORE-reboot kernel: [15223.223987] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Jan 28 11:55:38 AICORE-reboot kernel: [15223.223990] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Jan 28 11:55:38 AICORE-reboot kernel: [15223.223994] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Jan 28 11:55:38 AICORE-reboot kernel: [15223.223998] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Jan 28 11:55:38 AICORE-reboot kernel: [15223.224001] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
Jan 28 11:55:38 AICORE-reboot kernel: [15223.224004] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Jan 28 11:55:38 AICORE-reboot kernel: [15223.224007] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Jan 28 11:55:38 AICORE-reboot NetworkManager[1189]: <info> [1485600938.3454] sup-iface[0xc52a10,wlo1]: config: set interface ap_scan to 1
Jan 28 11:55:41 AICORE-reboot wpa_supplicant[1384]: wlo1: SME: Trying to authenticate with 54:b8:0a:37:35:2e (SSID='GLADOS MAINFRAME' freq=5500 MHz)
Jan 28 11:55:41 AICORE-reboot kernel: [15226.240577] wlo1: authenticate with 54:b8:0a:37:35:2e
Jan 28 11:55:41 AICORE-reboot kernel: [15226.242927] wlo1: send auth to 54:b8:0a:37:35:2e (try 1/3)
Jan 28 11:55:41 AICORE-reboot NetworkManager[1189]: <info> [1485600941.3763] device (wlo1): supplicant interface state: disconnected -> authenticating
Jan 28 11:55:41 AICORE-reboot wpa_supplicant[1384]: wlo1: Trying to associate with 54:b8:0a:37:35:2e (SSID='GLADOS MAINFRAME' freq=5500 MHz)
Jan 28 11:55:41 AICORE-reboot kernel: [15226.327692] wlo1: authenticated
Jan 28 11:55:41 AICORE-reboot kernel: [15226.328244] wlo1: associate with 54:b8:0a:37:35:2e (try 1/3)
Jan 28 11:55:41 AICORE-reboot kernel: [15226.329249] wlo1: RX AssocResp from 54:b8:0a:37:35:2e (capab=0x11 status=0 aid=1)
Jan 28 11:55:41 AICORE-reboot wpa_supplicant[1384]: wlo1: Associated with 54:b8:0a:37:35:2e
Jan 28 11:55:41 AICORE-reboot NetworkManager[1189]: <info> [1485600941.4522] device (wlo1): supplicant interface state: authenticating -> associated
Jan 28 11:55:41 AICORE-reboot kernel: [15226.332641] wlo1: associated
Jan 28 11:55:41 AICORE-reboot NetworkManager[1189]: <info> [1485600941.4724] device (wlo1): supplicant interface state: associated -> 4-way handshake
Jan 28 11:55:41 AICORE-reboot wpa_supplicant[1384]: wlo1: WPA: Key negotiation completed with 54:b8:0a:37:35:2e [PTK=CCMP GTK=TKIP]
Jan 28 11:55:41 AICORE-reboot wpa_supplicant[1384]: wlo1: CTRL-EVENT-CONNECTED - Connection to 54:b8:0a:37:35:2e completed [id=0 id_str=]
Jan 28 11:55:41 AICORE-reboot NetworkManager[1189]: <info> [1485600941.5562] device (wlo1): supplicant interface state: 4-way handshake -> completed
Jan 28 11:55:41 AICORE-reboot NetworkManager[1189]: <info> [1485600941.5563] device (wlo1): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'GLADOS MAINFRAME'.
Jan 28 11:55:41 AICORE-reboot NetworkManager[1189]: <info> [1485600941.5564] device (wlo1): state change: config -> ip-config (reason 'none') [50 70 0]
Jan 28 11:55:41 AICORE-reboot NetworkManager[1189]: <info> [1485600941.5568] dhcp4 (wlo1): activation: beginning transaction (timeout in 45 seconds)
Jan 28 11:55:41 AICORE-reboot NetworkManager[1189]: <info> [1485600941.5583] dhcp4 (wlo1): dhclient started with pid 9248
Jan 28 11:55:41 AICORE-reboot dhclient[9248]: DHCPREQUEST of 192.168.0.108 on wlo1 to 255.255.255.255 port 67 (xid=0x44238e25)
Jan 28 11:55:43 AICORE-reboot avahi-daemon[1134]: Joining mDNS multicast group on interface wlo1.IPv6 with address fe80::99ad:80fc:78c3:6eaf.
Jan 28 11:55:43 AICORE-reboot avahi-daemon[1134]: New relevant interface wlo1.IPv6 for mDNS.
Jan 28 11:55:43 AICORE-reboot avahi-daemon[1134]: Registering new address record for fe80::99ad:80fc:78c3:6eaf on wlo1.*.
Jan 28 11:55:44 AICORE-reboot dhclient[9248]: DHCPREQUEST of 192.168.0.108 on wlo1 to 255.255.255.255 port 67 (xid=0x44238e25)
谁知道是什么原因导致我的笔记本电脑靠近路由器时无法连接?
哦,在我忘记之前,这个问题在 Windows(双重启动)中没有发生。
答案1
我曾处理过几个使用无线上网驱动程序,当更改 SSID 以消除名称中的空格时,连接问题得到了解决。我建议您将网络名称从 GLADOS MAINFRAME 更改为 GladosMainframe 或 GLADOS_MAINFRAME 或类似名称。
此外,您还可以尝试一些方法来改善连接性。
首先,检查路由器中的设置。首选 WPA2-AES;而不是任何 WPA 和 WPA2 混合模式,当然也不是 TKIP。其次,如果您的路由器支持 N 速度,那么使用 2.4 GHz 频段的 20 MHz 信道宽度(而不是自动 20/40 MHz)可能会获得更好的连接性,尽管它可能会影响 N 速度。使用固定信道(1、6 或 11)比自动信道选择更能带来更好的连接效果。此外,请确保路由器未设置为仅使用 N 速度;首选自动 B、G 和 N。进行这些更改后,重新启动路由器。
接下来,我建议明确设置你的监管范围。检查你的:
sudo iw reg get
如果您选择 00,则这是一个通用的设置。请在此处查找您的设置:http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2然后暂时设置一下:
sudo iw reg set IS
当然,如果不是冰岛,请替换您的国家代码。永久设置它:
gksudo gedit /etc/default/crda
如果您没有文本编辑器 gedit,请使用 nano 或 Kate 或 leafpad。
将最后一行改为:
REGDOMAIN=IS
仔细校对,保存并关闭文本编辑器。
接下来,我在网络管理器中将 IPv6 设置为忽略:http://docs.fedoraproject.org/en-US/Fedora/18/html/Installation_Guide/images/netconfig/network-connections-ipv6-ignore.png 此示例适用于以太网,但您想要无线。
如果这些更改没有帮助,请尝试:
sudo modprobe -r iwlwifi
sudo modprobe iwlwifi 11n_disable=8
如果有帮助,请使其永久生效:
sudo -i
echo "options iwlwifi 11n_disable=8" >> /etc/modprobe.d/iwlwifi.conf
exit
答案2
已经过去了将近两年,但万一你仍然为此烦恼,我确认我在 Ubuntu 16.04LTS 上也看到过类似的糟糕 WiFi 性能,使用的是 Realtek 8188ee WiFi 适配器。之后很多经过研究,包括谷歌搜索和在不同地点使用不同 WiFi 网络的设备进行试验,我得出结论,Ubuntu 本身肯定存在问题,无线 N 上的 WiFi 性能不佳。此问题并非 Intel 或 Realtek 独有,而是 Ubuntu 的问题。在双启动系统上,在完全相同的硬件上、完全相同的 WiFi 上、完全相同的位置上,Windows 10 运行良好。
我对 Lubuntu 18.04LTS 进行了有限的测试,也存在同样的问题。
问题发生在...... - 您附近有很多 WiFi 网络,分布在多个信道上 - 您的 WiFi 连接为 N,信道宽度为 40MHz
如果您将路由器配置为仅使用 20MHz 信道宽度,问题就会消失。
我相信 iw 命令可用于告诉您的 Ubuntu WiFi 卡使用“HT20”,这意味着 20MHz 通道宽度。但我未能成功使其工作。
Chili555 记录了 Intel WiFi 卡有一个方便的参数可以完全禁用无线 N (11n_disable)。Realtek WiFi 卡则没有 - 因此我们不得不尽可能禁用路由器中的 40MHz。并非所有路由器都符合无线 N 标准,禁用 40MHz 信道宽度的选项可能可用也可能不可用。
同一系统上的无线G性能良好。
我不是专家,但我对 20MHz 与 40MHz 的理解是,20MHz 表示单频带通信,而 40MHz 表示双频带通信。后者意味着您的 WiFi 连接实际上使用两个 WiFi 频带来实现 300Mbps 的吞吐量。
希望这有用。