我刚刚添加了一个DWA 582 PCI-e WiFi适配器,使用Realtek RTL8812AE芯片组。我在https://wiki.debian.org/rtl819x#rtl8821ae确认了对芯片组的支持。我已经使用apt-get install firmware-realtek安装了Realtek固件,并确认当我连接到无线接入点时,它正在使用modprobe rtl8821ae,我可以维护一个连接6秒。通常,我连接的时间足够长,足以建立dhcp租约,然后网络再次断开。尽管我已经阅读了几个小时的论坛帖子并尝试了一些建议,但在如何诊断/解决这个问题上,我并没有很成功地找到很多信息。
我试过用wicd替换Network,没有任何改变或改进。
我真的不知道诊断这个问题的最佳信息是什么,所以我已经发布了一些开始,我希望你们所有的大师会想要更多和/或有一些想法和解决方案!
无线信息工具输出http://pastebin.com/Dd7igCqb
root@pink-fluffy-unicorn:~# uname -v
#1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17)root@pink-fluffy-unicorn:~# lspci | grep Network
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8812AE 802.11ac PCIe Wireless Network Adapter (rev 01)root@pink-fluffy-unicorn:~# apt-get install firmware-realtek
Reading package lists... Done
Building dependency tree
Reading state information... Done
firmware-realtek is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.root@pink-fluffy-unicorn:~# modprobe rtl8821ae
root@pink-fluffy-unicorn:~#root@pink-fluffy-unicorn:~# iwconfig
eth0 no wireless extensions.
wlan0 IEEE 802.11abgn ESSID:"WLAN-927602"
Mode:Managed Frequency:2.462 GHz Access Point: 94:4A:0C:DF:A5:BB
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=62/70 Signal level=-48 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
lo no wireless extensions.journalctl -u NetworkManager http://pastebin.com/4zzbMxcC
journalctl -u wpa_supplicant http://pastebin.com/1MPx03fj
journalctl -k http://pastebin.com/JAvM9gDy
根据GAD3R的建议,我尝试使用iwconfig禁用电源管理,结果如下:
root@pink-fluffy-unicorn:~# iwconfig wlan0 power off
Error for wireless request "Set Power Management" (8B2C) :
SET failed on device wlan0 ; Operation not supported.然后,我启用了使用modprobe rtl8821ae swlps=1进行电源管理的电源管理,然后再次运行iwconfig wlan0 power off,该操作执行时没有出现错误。然后,我确认使用iwconfig wlan0禁用了电源管理,并监视来自journalctl -f的输出。修改后的配置似乎没有任何变化(我还尝试过iwconfig wlan0 power on看看是否有任何更改/改进,但似乎没有产生任何重大影响)
发布于 2019-12-04 18:58:47
这就是linux中对这张糟糕的卡起作用的原因:
WIFI驱动-无线AC1200双频PCI适配器rtl8812ae DWA-582
sudo pacman -S linux419-headers
git clone http://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
make
sudo make install
sudo modprobe rtl8821ae现在,在linux系统上,我的wifi比在windows 10中工作得更好,在windows中,我有随机断开(在linux上没有),或者至少更少断开连接。真讨厌这张卡,它杀死了我的很多时间和神经细胞。
发布于 2016-02-03 19:05:37
您需要禁用电源管理。
iwconfig wlan0 power offhttps://unix.stackexchange.com/questions/259644
复制相似问题