[Kernel/Drive] 装到新系统后,将内核更新到5.10后,无限就一直时断时续的
Tofloor
poster avatar
reader-l
deepin
2021-03-28 17:49
Author

 

感觉是不是以前瞎搞,驱动装歪了

Reply Favorite View the author
All Replies
deepinuser17
deepin
2021-03-28 20:14
#1

这个wifi网卡使用iwlwifi驱动.

 

有一个驱动设置文件, /etc/modprobe.d/iwlwifi.conf. 试试调整参数.

 

把"11n_disable=1"改成"11n_disable=0" 试试. 修改参数以后要重启机器.

下面链接提到:

In newer kernels, inspected as of 5.3.7, setting 11n_disable=1 (or masked with 0x01) will result in 802.11ac being disabled. This will limit the device to a maximum of 54Mbit throughput.

https://wiki.gentoo.org/wiki/Iwlwifi

Reply View the author
reader-l
deepin
2021-03-28 21:24
#2
deepinuser17

这个wifi网卡使用iwlwifi驱动.

 

有一个驱动设置文件, /etc/modprobe.d/iwlwifi.conf. 试试调整参数.

 

把"11n_disable=1"改成"11n_disable=0" 试试. 修改参数以后要重启机器.

下面链接提到:

In newer kernels, inspected as of 5.3.7, setting 11n_disable=1 (or masked with 0x01) will result in 802.11ac being disabled. This will limit the device to a maximum of 54Mbit throughput.

https://wiki.gentoo.org/wiki/Iwlwifi

我没有那个文件

Reply View the author
Ziggy
deepin
2021-03-28 21:48
#3

内核不兼容吧,降级回正常的内核或者手动安装网卡驱动

Reply View the author
reader-l
deepin
2021-03-28 22:10
#4
Ziggy

内核不兼容吧,降级回正常的内核或者手动安装网卡驱动

有手动安装该驱动的帖子吗

Reply View the author
Ziggy
deepin
2021-03-29 00:04
#5
reader-l

有手动安装该驱动的帖子吗

先找到自己的型号,再到网上搜索对应型号,里面都内置readme的

Reply View the author
deepinuser17
deepin
2021-03-29 08:44
#6
reader-l

我没有那个文件

/etc/modprobe.d/iwlwifi.conf深度软件包deepin-default-settings自带的文件.

 

$ dpkg -S /etc/modprobe.d/iwlwifi.conf
deepin-default-settings: /etc/modprobe.d/iwlwifi.conf

 

检查一下你的机器是否安装了deepin-default-settings包. 在我的机器上都安装了这个软件包.

 

$ dpkg -l | grep deepin-default-settings
ii  deepin-default-settings                       2020.12.18-1                                all          default settings for deepin destkop environment
ii  deepin-default-settings-tuning                2020.12.18-1                                all          default settings for deepin destkop environment - misc overrides

 

如果没有安装, 就很奇怪了. 因为这个软件包适配了很多硬件, 以及重要的环境参数.

/etc
/etc/X11
/etc/X11/xinit
/etc/X11/xinit/xinitrc.d
/etc/X11/xinit/xinitrc.d/50-systemd-user.sh
/etc/X11/xorg.conf.d
/etc/X11/xorg.conf.d/40-libinput.conf
/etc/X11/xorg.conf.d/50-synaptics.conf
/etc/X11/xorg.conf.d/75-wacom.conf
/etc/apt
/etc/binfmt.d
/etc/binfmt.d/wine.conf
/etc/fonts
/etc/fonts/conf.d
/etc/gimp
/etc/gimp/2.0
/etc/gimp/2.0/fonts.conf
/etc/lscolor-256color
/etc/modprobe.d
/etc/modprobe.d/8821ce.conf
/etc/modprobe.d/amdgpu.conf
/etc/modprobe.d/radeon.conf
/etc/skel
/etc/skel/.config
/etc/skel/.config/SogouPY
/etc/skel/.config/SogouPY/sogouEnv.ini
/etc/skel/.config/Trolltech.conf
/etc/skel/.config/autostart
/etc/skel/.config/autostart/dde-first-run.desktop
/etc/skel/.config/deepin
/etc/skel/.config/deepin/qt-theme.ini
/etc/skel/.config/user-dirs.dirs
/etc/skel/.icons
/etc/skel/.icons/default
/etc/skel/.icons/default/index.theme
/etc/skel/Music
/etc/sudoers.d
/etc/sudoers.d/01_always_set_sudoers_home
/usr
/usr/bin
/usr/bin/dde-first-run
/usr/lib
/usr/lib/sysctl.d
/usr/lib/sysctl.d/deepin.conf
/usr/share
/usr/share/applications
/usr/share/applications/deepin
/usr/share/applications/deepin/dde-mimetype.list
/usr/share/applications/mimeapps.list
/usr/share/deepin-default-settings
/usr/share/deepin-default-settings/fontconfig.json
/usr/share/doc
/usr/share/doc/deepin-default-settings
/usr/share/doc/deepin-default-settings/changelog.Debian.gz
/usr/share/doc/deepin-default-settings/changelog.gz
/usr/share/doc/deepin-default-settings/copyright
/usr/share/fontconfig
/usr/share/fontconfig/conf.avail
/usr/share/fontconfig/conf.avail/10-enhance-rending.conf
/usr/share/fontconfig/conf.avail/55-language-deepin-zh-cn.conf
/usr/share/fontconfig/conf.avail/55-language-deepin-zh-hk.conf
/usr/share/fontconfig/conf.avail/55-language-deepin-zh-tw.conf
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/deepin-default-settings
/usr/share/mime
/usr/share/mime/packages
/usr/share/mime/packages/deepin-workaround.xml
/usr/share/mime/wine-ini.xml
/usr/share/music
/usr/share/music/bensound-sunny.mp3
/etc/fonts/conf.d/10-enhance-rending.conf
/etc/fonts/conf.d/55-language-deepin-zh-cn.conf
/etc/fonts/conf.d/55-language-deepin-zh-hk.conf
/etc/fonts/conf.d/55-language-deepin-zh-tw.conf
/etc/skel/Music/bensound-sunny.mp3
/etc/modprobe.d/iwlwifi.conf

 

你可以自己手动安装.

sudo apt install deepin-default-settings
Reply View the author
uos008
deepin
2021-03-29 09:43
#7

sudo nano /etc/modprobe.d/iwlwifi.conf

添加这一行,实测AX200有效。

options iwlwifi 11n_disable=8 amsdu_size=3

 

Reply View the author
caoyuUU
deepin
2021-03-29 20:26
#8

5.8的内核够用了

 

Reply View the author
reader-l
deepin
2021-03-29 21:56
#9
deepinuser17

/etc/modprobe.d/iwlwifi.conf深度软件包deepin-default-settings自带的文件.

 

$ dpkg -S /etc/modprobe.d/iwlwifi.conf
deepin-default-settings: /etc/modprobe.d/iwlwifi.conf

 

检查一下你的机器是否安装了deepin-default-settings包. 在我的机器上都安装了这个软件包.

 

$ dpkg -l | grep deepin-default-settings
ii  deepin-default-settings                       2020.12.18-1                                all          default settings for deepin destkop environment
ii  deepin-default-settings-tuning                2020.12.18-1                                all          default settings for deepin destkop environment - misc overrides

 

如果没有安装, 就很奇怪了. 因为这个软件包适配了很多硬件, 以及重要的环境参数.

/etc
/etc/X11
/etc/X11/xinit
/etc/X11/xinit/xinitrc.d
/etc/X11/xinit/xinitrc.d/50-systemd-user.sh
/etc/X11/xorg.conf.d
/etc/X11/xorg.conf.d/40-libinput.conf
/etc/X11/xorg.conf.d/50-synaptics.conf
/etc/X11/xorg.conf.d/75-wacom.conf
/etc/apt
/etc/binfmt.d
/etc/binfmt.d/wine.conf
/etc/fonts
/etc/fonts/conf.d
/etc/gimp
/etc/gimp/2.0
/etc/gimp/2.0/fonts.conf
/etc/lscolor-256color
/etc/modprobe.d
/etc/modprobe.d/8821ce.conf
/etc/modprobe.d/amdgpu.conf
/etc/modprobe.d/radeon.conf
/etc/skel
/etc/skel/.config
/etc/skel/.config/SogouPY
/etc/skel/.config/SogouPY/sogouEnv.ini
/etc/skel/.config/Trolltech.conf
/etc/skel/.config/autostart
/etc/skel/.config/autostart/dde-first-run.desktop
/etc/skel/.config/deepin
/etc/skel/.config/deepin/qt-theme.ini
/etc/skel/.config/user-dirs.dirs
/etc/skel/.icons
/etc/skel/.icons/default
/etc/skel/.icons/default/index.theme
/etc/skel/Music
/etc/sudoers.d
/etc/sudoers.d/01_always_set_sudoers_home
/usr
/usr/bin
/usr/bin/dde-first-run
/usr/lib
/usr/lib/sysctl.d
/usr/lib/sysctl.d/deepin.conf
/usr/share
/usr/share/applications
/usr/share/applications/deepin
/usr/share/applications/deepin/dde-mimetype.list
/usr/share/applications/mimeapps.list
/usr/share/deepin-default-settings
/usr/share/deepin-default-settings/fontconfig.json
/usr/share/doc
/usr/share/doc/deepin-default-settings
/usr/share/doc/deepin-default-settings/changelog.Debian.gz
/usr/share/doc/deepin-default-settings/changelog.gz
/usr/share/doc/deepin-default-settings/copyright
/usr/share/fontconfig
/usr/share/fontconfig/conf.avail
/usr/share/fontconfig/conf.avail/10-enhance-rending.conf
/usr/share/fontconfig/conf.avail/55-language-deepin-zh-cn.conf
/usr/share/fontconfig/conf.avail/55-language-deepin-zh-hk.conf
/usr/share/fontconfig/conf.avail/55-language-deepin-zh-tw.conf
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/deepin-default-settings
/usr/share/mime
/usr/share/mime/packages
/usr/share/mime/packages/deepin-workaround.xml
/usr/share/mime/wine-ini.xml
/usr/share/music
/usr/share/music/bensound-sunny.mp3
/etc/fonts/conf.d/10-enhance-rending.conf
/etc/fonts/conf.d/55-language-deepin-zh-cn.conf
/etc/fonts/conf.d/55-language-deepin-zh-hk.conf
/etc/fonts/conf.d/55-language-deepin-zh-tw.conf
/etc/skel/Music/bensound-sunny.mp3
/etc/modprobe.d/iwlwifi.conf

 

你可以自己手动安装.

sudo apt install deepin-default-settings

我有装这个软件包,但是就是没有iwlwfi.conf这个文件

Reply View the author
reader-l
deepin
2021-03-29 21:56
#10
uos008

sudo nano /etc/modprobe.d/iwlwifi.conf

添加这一行,实测AX200有效。

options iwlwifi 11n_disable=8 amsdu_size=3

 

自己添加有用吗

Reply View the author
uos008
deepin
2021-03-31 08:16
#11
reader-l

自己添加有用吗

有用的,我的也是新建的文件。

Reply View the author