您尚未登录。

#1 2017-04-22 12:32:27

我是好人
会员
注册时间: 2014-11-07
帖子: 29

在arch下的wifi网速很慢

这台笔记本用的双系统,windows下网速正常几MB/s,用手机连wifi网速也很快,arch下使用·netctl连接wifi网速很慢,100kb/s以下,连接有线宽带网速却是正常的(也是netctl连接的),路由器型号是TL-WR842N,这是为什么啊?

/etc/netctl/***
escription='Automatically generated profile by wifi-menu'
Interface=wlp2s0
Connection=wireless
Security=wpa
ESSID=fa***
IP=dhcp
Key=f*****
ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 04:7d:7b:48:e0:9a brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 64:27:37:29:fc:a3 brd ff:ff:ff:ff:ff:ff
lspci -v
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 05)
	Subsystem: Lenovo Device 3975
	Flags: bus master, fast devsel, latency 0, IRQ 25
	I/O ports at 1000 [size=256]
	Memory at f0004000 (64-bit, prefetchable) [size=4K]
	Memory at f0000000 (64-bit, prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

02:00.0 Network controller: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe
	Subsystem: Lenovo Device f101
	Flags: bus master, fast devsel, latency 0, IRQ 19
	Memory at f0100000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: rt2800pci
	Kernel modules: rt2800pci

最近编辑记录 我是好人 (2017-04-22 12:34:15)

离线

#2 2017-04-22 12:42:30

luxni
会员
注册时间: 2014-06-08
帖子: 280

Re: 在arch下的wifi网速很慢

DNS的问题?


虽然人菜菜的,但也想做个有趣的人。

离线

#3 2017-04-22 13:09:49

我是好人
会员
注册时间: 2014-11-07
帖子: 29

Re: 在arch下的wifi网速很慢

luxni 说:

DNS的问题?

谢谢你的回答 smile,我登陆路由器的网页也很慢,开网页的时候,ping 114.114.114.114也会变慢,应该不是dns的问题

最近编辑记录 我是好人 (2017-04-22 13:13:10)

离线

#4 2017-04-22 13:38:18

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 在arch下的wifi网速很慢

我是好人 说:

谢谢你的回答 smile,我登陆路由器的网页也很慢,开网页的时候,ping 114.114.114.114也会变慢,应该不是dns的问题

重新连一下试试?
另外你 ping 路由器的回应情况是怎么样的?

离线

#5 2017-04-22 14:02:49

我是好人
会员
注册时间: 2014-11-07
帖子: 29

Re: 在arch下的wifi网速很慢

依云 说:
我是好人 说:

谢谢你的回答 smile,我登陆路由器的网页也很慢,开网页的时候,ping 114.114.114.114也会变慢,应该不是dns的问题

重新连一下试试?
另外你 ping 路由器的回应情况是怎么样的?

不占用网络的时候ping路由器2ms,打开网页的时候就会变成几千ms了 /cry

离线

#6 2017-04-23 08:32:10

roadgo
会员
注册时间: 2012-04-07
帖子: 380

Re: 在arch下的wifi网速很慢

是不是驱动有问题。

离线

#7 2017-04-23 13:22:31

我是好人
会员
注册时间: 2014-11-07
帖子: 29

Re: 在arch下的wifi网速很慢

roadgo 说:

是不是驱动有问题。

可以联网的话,应该不是驱动的问题了吧。

离线

#8 2017-04-23 19:26:37

alexxey
会员
注册时间: 2016-12-28
帖子: 73

Re: 在arch下的wifi网速很慢

这个现象解释为驱动问题是完全合理的。尤其是RT3290网卡用rt2800pci驱动

离线

#9 2017-04-23 23:16:01

我是好人
会员
注册时间: 2014-11-07
帖子: 29

Re: 在arch下的wifi网速很慢

alexxey 说:

这个现象解释为驱动问题是完全合理的。尤其是RT3290网卡用rt2800pci驱动

谢谢你的回答,我去试一试。

离线

#10 2017-04-23 23:37:09

我是好人
会员
注册时间: 2014-11-07
帖子: 29

Re: 在arch下的wifi网速很慢

我是好人 说:
alexxey 说:

这个现象解释为驱动问题是完全合理的。尤其是RT3290网卡用rt2800pci驱动

谢谢你的回答,我去试一试。

https://wiki.archlinux.org/index.php/Wi … ion#rt3090
我找了一下官方文档也有说明,真是太感谢你了 smile

离线

#11 2017-04-28 22:16:08

我是好人
会员
注册时间: 2014-11-07
帖子: 29

Re: 在arch下的wifi网速很慢

我是好人 说:

https://wiki.archlinux.org/index.php/Wi … ion#rt3090
我找了一下官方文档也有说明,真是太感谢你了 smile

之前没有安装linux-headers,安装之后重新安装rt3090还是出错了

[root@myhost arch]# pacman -U build/rt3090-dkms/rt3090-dkms-2.4.0.4-1-x86_64.pkg.tar.xz 
正在加载软件包...
警告:rt3090-dkms-2.4.0.4-1 已经为最新 -- 重新安装
正在解决依赖关系...
正在查找软件包冲突...

软件包 (1) rt3090-dkms-2.4.0.4-1

全部安装大小:  3.80 MiB
净更新大小:  0.00 MiB

:: 进行安装吗? [Y/n] y
(1/1) 正在检查密钥环里的密钥                       [######################] 100%
(1/1) 正在检查软件包完整性                         [######################] 100%
(1/1) 正在加载软件包文件                           [######################] 100%
(1/1) 正在检查文件冲突                             [######################] 100%
(1/1) 正在检查可用硬盘空间                         [######################] 100%
:: 正在运行事务前钩子函数...
(1/1) Remove DKMS modules
==> dkms remove rt3090/2.4.0.4 -k 4.10.11-1-ARCH
Error! There is no instance of rt3090 2.4.0.4
for kernel 4.10.11-1-ARCH (x86_64) located in the DKMS tree.
:: 正在处理软件包的变化...
(1/1) 正在重新安装 rt3090-dkms                     [######################] 100%
Adding Module to DKMS build system
Error! DKMS tree already contains: rt3090-2.4.0.4
You cannot add the same module/version combo more than once.
Doing initial module build
Error! Bad return status for module build on kernel: 4.10.11-1-ARCH (x86_64)
Consult /var/lib/dkms/rt3090/2.4.0.4/build/make.log for more information.
Installing initial module
Error! Bad return status for module build on kernel: 4.10.11-1-ARCH (x86_64)
Consult /var/lib/dkms/rt3090/2.4.0.4/build/make.log for more information.
Done.
:: 正在运行事务后钩子函数...
(1/2) Install DKMS modules
==> dkms install rt3090/2.4.0.4 -k 4.10.11-1-ARCH
Error! Bad return status for module build on kernel: 4.10.11-1-ARCH (x86_64)
Consult /var/lib/dkms/rt3090/2.4.0.4/build/make.log for more information.
(2/2) Arming ConditionNeedsUpdate...

使用dkms安装rt3090模块也出错了

[root@myhost arch]# dkms status
rt3090, 2.4.0.4: added
[root@myhost arch]# dkms install rt3090/2.4.0.4

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.10.11-1-ARCH............(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.10.11-1-ARCH (x86_64)
Consult /var/lib/dkms/rt3090/2.4.0.4/build/make.log for more information.

离线

页脚