ubuntu22.04mt76x2u网卡断网

复制代码
[315708.280716] mt76x2u 1-7:1.0:vendor request reg:07.off:1200 failed:-110
bash 复制代码
$ lsusb -v | grep -i mt76
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Bus 001 Device 004: ID 0e8d:7612 MediaTek Inc. MT7612U 802.11a/b/g/n/ac Wireless Adapter
  idProduct          0x7612 MT7612U 802.11a/b/g/n/ac Wireless Adapter
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
$ lsusb
Bus 001 Device 004: ID 0e8d:7612 MediaTek Inc. MT7612U 802.11a/b/g/n/ac Wireless Adapter

解决办法

1.查看网卡是不是插在了usb3.0上,换一个2.0插口。480代表插入usb2.0,插入正确,不是这个问题。

bash 复制代码
#执行:
lsusb -t l grep -B2 -A2 mt76
#结果
Port 3: Dev 7,1f 0,Class=Human Interface Device, Driver=usbhid, 1.5
Port 2:Dev 5,If 0,class=Human Interface Device, Driver=usbhid, 1.5M
Port 7: Dev 4,1f 0,Class=Vendor specific class, Driver=nt76x2u, 480M
Port 10:Dev 6,1f o,Class=Hub, Driver=hub/4p,
480M

2.首先修改网卡的模式

复制代码
echo "options mt76_usb disable_usb_sg=1" | sudo tee /etc/modprobe.d/mt76-usb.conf
sudo update-initramfs -u

然后禁止使用usb省电

复制代码
sudo su
cat > /etc/udev/rules.d/50-mt7612u-power.rules <<EOF
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0e8d", ATTRS{idProduct}=="7612", ATTR{power/control}="on"
ATTR{power/autosuspend}="0"
ATTR{power/autosuspend_delay_ms}="0"
EOF
exit

最后重启电脑

bash 复制代码
sudo reboot

开机执行,如果没有报错就是修改完成

bash 复制代码
dmesg | grep -i mt76x2u

其他(deepseek)

网卡参数调优

bash 复制代码
# 1. 关闭网卡节能模式(避免超时)
sudo iw dev wlx0013ef4f662a set power_save off
# 2. 调整无线速率(强制802.11n,避免协商异常)
sudo iw dev wlx0013ef4f662a set bitrates ht-mcs-5 7
# 3. 重启网络服务
sudo systemctl restart NetworkManager
相关推荐
黄同学real2 小时前
解决 Visual Studio Web Deploy 远程发布报 401 未授权 (ERROR\_USER\_UNAUTHORIZED)
服务器
天天进步20152 小时前
Tunnelto 源码解析 #9:控制服务器设计:Warp、WebSocket、Ping/Pong 与连接保活
运维·服务器·websocket
凡人叶枫2 小时前
Effective C++ 条款04:确定对象被使用前已先被初始化
java·linux·开发语言·c++·嵌入式开发
云栖梦泽3 小时前
玩转RK3506SDK
linux·嵌入式硬件
极客先躯3 小时前
高级java每日一道面试题-2026年02月01日-实战篇[Docker]-Docker Volume 的生命周期管理是怎样的?
java·运维·docker·容器·持久化·架构图·容器卷
Java面试题总结3 小时前
Linux-Ubantu-贴士-apt的地盘
linux·运维·服务器
●VON3 小时前
AtomGit Flutter鸿蒙客户端:数据模型
android·服务器·安全·flutter·harmonyos·鸿蒙
志栋智能3 小时前
超自动化巡检:提升MTTR,缩短业务影响时间
运维·自动化
酉鬼女又兒3 小时前
零基础入门计算机网络:网络层核心任务、三大关键问题、两种服务类型与 TCP/IP 网际层协议体系全解析
服务器·网络·网络协议·tcp/ip·计算机网络·php·求职招聘
kong@react4 小时前
Rocky Linux 10.2 全面解析:企业级 CentOS 替代方案及保姆级docker安装
java·linux·运维·docker