我的 Ubuntu 17.04 通过无线连接无法获得正确的互联网速度。我的移动设备和其他笔记本电脑的互联网速度都正常。请说明需要哪些更多信息,以便您了解问题。
我从命令中得到以下输出lspci -knn | grep Net -A3
08:00.0 Network controller [0280]: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe [1814:3090]
Subsystem: Lenovo RT3090 Wireless 802.11n 1T/1R PCIe [17aa:f101]
Kernel driver in use: rt2800pci
Kernel modules: rt2800pci
nmcli d show
命令给出以下输出:
GENERAL.DEVICE: wlan0
GENERAL.TYPE: wifi
GENERAL.HWADDR: 60:D8:19:36:AC:3A
GENERAL.MTU: 0
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: Gateway
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/3
IP4.ADDRESS[1]: 192.168.0.105/24
IP4.GATEWAY: 192.168.0.1
IP4.ROUTE[1]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]: 192.168.0.1
IP4.DNS[2]: 8.8.8.8
IP6.ADDRESS[1]: fe80::4641:2af2:d5d6:b998/64
IP6.GATEWAY:
GENERAL.DEVICE: br-23ac3a4d281d
GENERAL.TYPE: bridge
GENERAL.HWADDR: 02:42:1E:36:5E:73
GENERAL.MTU: 1500
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 172.18.0.1/16
IP4.GATEWAY:
IP6.ADDRESS[1]: fe80::42:1eff:fe36:5e73/64
IP6.GATEWAY:
GENERAL.DEVICE: docker0
GENERAL.TYPE: bridge
GENERAL.HWADDR: 02:42:9B:10:4A:8A
GENERAL.MTU: 1500
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 172.17.0.1/16
IP4.GATEWAY:
IP6.GATEWAY:
GENERAL.DEVICE: eth0
GENERAL.TYPE: ethernet
GENERAL.HWADDR: DC:0E:A1:64:A4:59
GENERAL.MTU: 1500
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
WIRED-PROPERTIES.CARRIER: off
IP4.GATEWAY:
IP6.GATEWAY:
GENERAL.DEVICE: veth6dfaaec
GENERAL.TYPE: ethernet
GENERAL.HWADDR: CE:28:53:0F:37:BC
GENERAL.MTU: 1500
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
WIRED-PROPERTIES.CARRIER: on
GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 127.0.0.1/8
IP4.GATEWAY:
IP6.ADDRESS[1]: ::1/128
IP6.GATEWAY:
iwconfig
命令给出以下输出:
eth0 no wireless extensions.
br-23ac3a4d281d no wireless extensions.
veth6dfaaec no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"Gateway"
Mode:Managed Frequency:2.437 GHz Access Point: 98:DE:D0:98:26:08
Bit Rate=121.5 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=70/70 Signal level=-37 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:220 Invalid misc:50251 Missed beacon:0
docker0 no wireless extensions.
lo no wireless extensions.
nmcli d wifi
给出以下输出:
* SSID MODE CHAN RATE SIGNAL BARS SECURITY
JioFi2_A3C7E6 Infra 10 54 Mbit/s 100 ▂▄▆█ WPA2
* Gateway Infra 6 54 Mbit/s 77 ▂▄▆_ WPA1 WPA2
当我使用 JioFi2_A3C7E6 连接时,我获得了适当的互联网速度,并且对于我的移动设备和 Ubuntu 笔记本电脑来说都是相同的。
但是当我使用网关连接时,我的 ubuntu 笔记本电脑的速度不太好,但我的移动设备的互联网速度很好。
答案1
为了提高连接质量:
检查路由器通道
禁用 IPv6(如果可能)
Firefox 浏览器:
about:config
布尔键 network.dns.disableIPv6
全局从 'false' 改为 'true'sudo -H gedit /etc/sysctl.conf
添加:
ipv6.conf.all.disable_ipv6=1
激活:
sudo sysctl -p
查看:
ip -o -6 addr show wlan0 | sed -e 's/^.*inet6 \([^ ]\+\).*/\1/'
如果结果为空,则 OK
国家代码(最重要)
检查你的:
sudo iw reg get
找到并暂时将其设置为您的国家/地区:
例如:
sudo iw reg set BR
或者
sudo iw reg set IN
永久设置:
sudo -H gedit /etc/default/crda
例如:
REGDOMAIN=BR
或者
REGDOMAIN=IN