1

请教大家都是用的什么无线网卡?MT7922尝试

发表于:2024-10-9 12:50:12 520
本帖最后由 djh0558 于 2024-10-16 09:06 编辑

我的网卡是MT7922,SSH下也能看到,但是已无法驱动,想打补丁或者编译一直没成功,报错太多。

折腾了两天算了,放弃,不研究了,供参考
1、直接安装额外驱动包文件deb驱动,手动安装
sudo dpkg -i  firmware-misc-nonfree* (试了好几个版本的,最新9月9号的,都没成功
2、自动安装
sudo apt-get update
sudo apt-get  install firmware-mediatek  (联发科)

sudo apt-get install firmware-iwlwifi(inter)
sudo apt-get install firmware-realtek (螃蟹)
sudo apt-get install firmware-at**s  (高通)

3、根据方法编译安装
https://github.com/wjy7717/mt7922_driver_linux6_2
https://github.com/sa-y0nara/Redmibook-7840HS-Linux/




$lspci |grep Network

$nmcli device wifi list     

哪位有支持的网卡或者处理方法,告知下。
也可以回帖报下自己的wifi型号,看是否支持,给他人做个参考
1、AX210  OK
2、mt7922 NG
3、





按照楼下的subtlelonging的方法,看驱动是有了,但是感觉无法加载和驱动,还是不行
安装后看起来驱动文件有了,但是没有跑起来:


想着Ubuntu比较新,经测可以驱动起来,经过对比,缺少驱动的.KO文件
root@TEST:~# dpkg -S mt792
firmware-mediatek: /usr/lib/firmware/mediatek/mt7925
linux-image-6.1.0-18-amd64: /lib/modules/6.1.0-18-amd64/kernel/drivers/net/wireless/mediatek/mt76/mt7921/mt7921e.ko
linux-image-6.1.0-17-amd64: /lib/modules/6.1.0-17-amd64/kernel/drivers/net/wireless/mediatek/mt76/mt7921/mt7921-common.ko
firmware-mediatek: /usr/lib/firmware/mediatek/mt7925/BT_RAM_CODE_MT7925_1_1_hdr.bin
firmware-mediatek: /usr/lib/firmware/mediatek/mt7925/WIFI_RAM_CODE_MT7925_1_1.bin
linux-image-6.1.0-18-amd64: /lib/modules/6.1.0-18-amd64/kernel/drivers/net/wireless/mediatek/mt76/mt7921
linux-image-6.1.0-17-amd64: /lib/modules/6.1.0-17-amd64/kernel/drivers/net/wireless/mediatek/mt76/mt7921/mt7921e.ko
linux-image-6.1.0-18-amd64: /lib/modules/6.1.0-18-amd64/kernel/drivers/net/wireless/mediatek/mt76/mt7921/mt7921u.ko
linux-image-6.1.0-17-amd64: /lib/modules/6.1.0-17-amd64/kernel/drivers/net/wireless/mediatek/mt76/mt7921
linux-image-6.1.0-17-amd64: /lib/modules/6.1.0-17-amd64/kernel/drivers/net/wireless/mediatek/mt76/mt7921/mt7921u.ko
firmware-mediatek: /usr/lib/firmware/mediatek/mt7925/WIFI_MT7925_PATCH_MCU_1_1_hdr.bin
linux-image-6.1.0-18-amd64: /lib/modules/6.1.0-18-amd64/kernel/drivers/net/wireless/mediatek/mt76/mt7921/mt7921-common.ko
root@TEST:~# dpkg -S mt7922
dpkg-query: no path found matching pattern *mt7922*
(看起来似乎mt7921有驱动,有此网卡的可以试试)

Ubuntu  ko驱动在下面的路径,而fnos下没有对应的




收藏
送赞 1
分享

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

发表回复

评论列表(10)

看我的帖子,MT系列驱动方式一样
2024-10-10 00:08:46 回复
解决了吗
2024-10-9 23:50:45 回复
没成功,在实验中  详情 回复
2024-10-10 08:45
没成功,在实验中
2024-10-10 08:45:54 回复
买了一个无线网卡,需要安装驱动,失败了
2024-10-10 10:34:54 回复
坛子用户不多,积极性不高
官方也没支持
冷清  静待。。。。
2024-10-11 20:58:58 回复
你这个成功了吗?我也是mtk的网卡,不过是7921,驱动我传到/bin/firmware/mediatek。就是没法驱动起来,我把反馈给你看一下
01:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Ada
        Subsystem: Lenovo MT7921 802.11ax PCI Express Wireless Network Adapter
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at d0000000 (64-bit, prefetchable) [size=1M]
        Memory at d0100000 (64-bit, prefetchable) [size=16K]
        Memory at d0104000 (64-bit, prefetchable) [size=4K]
        Capabilities: [80] Express Endpoint, MSI 00
        Capabilities: [e0] MSI: Enable- Count=1/32 Maskable+ 64bit+
        Capabilities: [f8] Power Management version 3
        Capabilities: [100] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?>
        Capabilities: [108] Latency Tolerance Reporting
        Capabilities: [110] L1 PM Substates
        Capabilities: [200] Advanced Error Reporting
2024-10-15 08:40:30 回复
不行呢,试了各种办法,编译的话报错,不想弄了。 firmware-misc-nonfree更新到9月9号的最新还是不行。 参考下: https://github.com/wjy7717/mt7922_driver_linux6_2 https://github.com/sa-y0nara/Redmibook-7840H  详情 回复
2024-10-15 08:49
不行呢,试了各种办法,编译的话报错,不想弄了。
firmware-misc-nonfree更新到9月9号的最新还是不行。
参考下:
https://github.com/wjy7717/mt7922_driver_linux6_2
https://github.com/sa-y0nara/Redmibook-7840HS-Linux/

因为openwrt不支持AX210换了几个7922,没想到,这里反而因特尔的可以,mt的反而不行了
2024-10-15 08:49:11 回复
sudo apt install firmware-at-he-ros(去掉横岗)居然是屏蔽词不显示
2024-10-16 09:10:56 回复
这个网卡,安装报错。没办法了。Network controller: Broadcom Inc. and subsidiaries BCM4352 802.11ac Wireless Network Adapter (rev 03)
-bash: udo: command not found
root@hntrip01:/vol1# sudo apt-get install firmware-iwlwif
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package firmware-iwlwif
root@hntrip01:/vol1#

////
root@hntrip01:/vol1# apt-get install broadcom-sta-source
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libtool : Depends: libc6-dev but it is not going to be installed or
                    libc-dev
E: Unable to correct problems, you have held broken packages.
root@hntrip01:/vol1# apt-get install firmware-b43-installer
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
firmware-b43-installer is already the newest version (1:019-8).
0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up iwlwifi-3.16.2-dkms (1.0) ...
Removing old iwlwifi-3.16.2-1.0 DKMS files...
Deleting module iwlwifi-3.16.2-1.0 completely from the DKMS tree.
Loading new iwlwifi-3.16.2-1.0 DKMS files...
Deprecated feature: REMAKE_INITRD (/usr/src/iwlwifi-3.16.2-1.0/dkms.conf)
Building for 6.6.38-trim
Building for architecture amd64
Building initial module for 6.6.38-trim
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/iwlwifi-3.16.2/1.0/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.6.38-trim (amd64)
Consult /var/lib/dkms/iwlwifi-3.16.2/1.0/build/make.log for more information.
dpkg: error processing package iwlwifi-3.16.2-dkms (--configure):
installed iwlwifi-3.16.2-dkms package post-installation script subprocess returned error exit status 10
Setting up synaptic-i2c-hid-3.13.0-32-backport-dkms (1.6.1) ...
Removing old synaptic-i2c-hid-3.13.0-32-backport-1.6.1 DKMS files...
Deleting module synaptic-i2c-hid-3.13.0-32-backport-1.6.1 completely from the DKMS tree.
Loading new synaptic-i2c-hid-3.13.0-32-backport-1.6.1 DKMS files...
Deprecated feature: REMAKE_INITRD (/usr/src/synaptic-i2c-hid-3.13.0-32-backport-1.6.1/dkms.conf)
Building for 6.6.38-trim
Building for architecture amd64
Building initial module for 6.6.38-trim
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/synaptic-i2c-hid-3.13.0-32-backport/1.6.1/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.6.38-trim (amd64)
Consult /var/lib/dkms/synaptic-i2c-hid-3.13.0-32-backport/1.6.1/build/make.log for more information.
dpkg: error processing package synaptic-i2c-hid-3.13.0-32-backport-dkms (--configure):
installed synaptic-i2c-hid-3.13.0-32-backport-dkms package post-installation script subprocess returned error exit status 10
Setting up oem-audio-hda-daily-dkms (0.1) ...
Removing old oem-audio-hda-daily-0.1 DKMS files...
Deleting module oem-audio-hda-daily-0.1 completely from the DKMS tree.
Loading new oem-audio-hda-daily-0.1 DKMS files...
First Installation: checking all kernels...
Building only for 6.6.38-trim
Building for architecture amd64
Building initial module for 6.6.38-trim
Error! The /var/lib/dkms/oem-audio-hda-daily/0.1/6.6.38-trim/amd64/dkms.conf for module oem-audio-hda-daily includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built.
dpkg: error processing package oem-audio-hda-daily-dkms (--configure):
installed oem-audio-hda-daily-dkms package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of somerville-platform-dino:
somerville-platform-dino depends on synaptic-i2c-hid-3.13.0-32-backport-dkms; however:
  Package synaptic-i2c-hid-3.13.0-32-backport-dkms is not configured yet.

dpkg: error processing package somerville-platform-dino (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
iwlwifi-3.16.2-dkms
synaptic-i2c-hid-3.13.0-32-backport-dkms
oem-audio-hda-daily-dkms
somerville-platform-dino
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@hntrip01:/vol1# apt list firmware-iwlwifi
Listing... Done
firmware-iwlwifi/stable,stable,now 20230210-5 all [installed]
root@hntrip01:/vol1# sudo apt install firmware-iwlwifi
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
firmware-iwlwifi is already the newest version (20230210-5).
0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up iwlwifi-3.16.2-dkms (1.0) ...
Removing old iwlwifi-3.16.2-1.0 DKMS files...
Deleting module iwlwifi-3.16.2-1.0 completely from the DKMS tree.
Loading new iwlwifi-3.16.2-1.0 DKMS files...
Deprecated feature: REMAKE_INITRD (/usr/src/iwlwifi-3.16.2-1.0/dkms.conf)
Building for 6.6.38-trim
Building for architecture amd64
Building initial module for 6.6.38-trim
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/iwlwifi-3.16.2/1.0/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.6.38-trim (amd64)
Consult /var/lib/dkms/iwlwifi-3.16.2/1.0/build/make.log for more information.
dpkg: error processing package iwlwifi-3.16.2-dkms (--configure):
installed iwlwifi-3.16.2-dkms package post-installation script subprocess returned error exit status 10
Setting up synaptic-i2c-hid-3.13.0-32-backport-dkms (1.6.1) ...
Removing old synaptic-i2c-hid-3.13.0-32-backport-1.6.1 DKMS files...
Deleting module synaptic-i2c-hid-3.13.0-32-backport-1.6.1 completely from the DKMS tree.
Loading new synaptic-i2c-hid-3.13.0-32-backport-1.6.1 DKMS files...
Deprecated feature: REMAKE_INITRD (/usr/src/synaptic-i2c-hid-3.13.0-32-backport-1.6.1/dkms.conf)
Building for 6.6.38-trim
Building for architecture amd64
Building initial module for 6.6.38-trim
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/synaptic-i2c-hid-3.13.0-32-backport/1.6.1/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.6.38-trim (amd64)
Consult /var/lib/dkms/synaptic-i2c-hid-3.13.0-32-backport/1.6.1/build/make.log for more information.
dpkg: error processing package synaptic-i2c-hid-3.13.0-32-backport-dkms (--configure):
installed synaptic-i2c-hid-3.13.0-32-backport-dkms package post-installation script subprocess returned error exit status 10
Setting up oem-audio-hda-daily-dkms (0.1) ...
Removing old oem-audio-hda-daily-0.1 DKMS files...
Deleting module oem-audio-hda-daily-0.1 completely from the DKMS tree.
Loading new oem-audio-hda-daily-0.1 DKMS files...
First Installation: checking all kernels...
Building only for 6.6.38-trim
Building for architecture amd64
Building initial module for 6.6.38-trim
Error! The /var/lib/dkms/oem-audio-hda-daily/0.1/6.6.38-trim/amd64/dkms.conf for module oem-audio-hda-daily includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch/config.
This indicates that it should not be built.
dpkg: error processing package oem-audio-hda-daily-dkms (--configure):
installed oem-audio-hda-daily-dkms package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of somerville-platform-dino:
somerville-platform-dino depends on synaptic-i2c-hid-3.13.0-32-backport-dkms; however:
  Package synaptic-i2c-hid-3.13.0-32-backport-dkms is not configured yet.

dpkg: error processing package somerville-platform-dino (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
iwlwifi-3.16.2-dkms
synaptic-i2c-hid-3.13.0-32-backport-dkms
oem-audio-hda-daily-dkms
somerville-platform-dino
E: Sub-process /usr/bin/dpkg returned an error code (1)

前天 11:27 回复
12下一页
djh0558

TA还没有介绍自己~

0

主题

4

回帖

4

积分

江湖小虾

积分
4
话题