我的 wifi 卡出现了一些问题,导致出现以下消息:
iwlwifi 0000:00:14.3: Unhandled alg: 0x707
Run Code Online (Sandbox Code Playgroud)
无论何时连接,每秒都会输出十几次到syslog文件kern.log中/var/logs。
wifi卡本身的问题是一个长期存在的问题,我多次尝试解决但都失败了,但奇怪的是wifi仍然可以正常工作,所以我并没有专门要求解决它。
问题是日志文件每分钟增长约 4 MB,每天增长 5 GB。该/var目录是它自己的分区,因此限制了问题,但我仍然需要logrotate在任何时候运行 时强制并删除存档文件apt upgrade,例如,出于任何原因读取日志文件都是不可能的,以及使用 ttys因为该消息也会输出到它们身上。
有没有办法禁止将该消息输出到日志?
配置:
编辑 :
sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
[sudo] password for penwywern:
Reading package lists... Done
Building dependency tree Reading state information... Done
linux-generic-hwe-18.04 is already the newest version (5.0.0.36.94).
xserver-xorg-hwe-18.04 is already the newest version (1:7.7+19ubuntu8~18.04.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
Run Code Online (Sandbox Code Playgroud)
小智 2
我也试图解决这个问题,我想我做到了。我关闭了 iwlwifi 中的一些加密选项,并且我不再在日志文件中看到不断出现的“未处理的 alg”错误。
我添加了这一行:
options iwlwifi swcrypto=0
Run Code Online (Sandbox Code Playgroud)
到这个文件:
/etc/modprobe.d/iwlwifi.conf
Run Code Online (Sandbox Code Playgroud)
并重新启动。
如果您需要“swcrypto”所做的任何事情,我想这不是最好的选择。但这也许可以帮助其他人解决问题?
| 归档时间: |
|
| 查看次数: |
14607 次 |
| 最近记录: |