求助!!!新手.台式机 USB无线网卡不识别无法上网!!!
Tofloor
poster avatar
qq363614984
deepin
2020-06-02 03:11
Author
lee@lee-PC:~/Desktop$ lsusb && lspci
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 0bda:1a2b Realtek Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 04d9:a0d6 Holtek Semiconductor, Inc.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS880 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller (rev 40)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.1 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1)
00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
lee@lee-PC:~/Desktop$
看看 有知道咋弄的不

Reply Favorite View the author
All Replies
avatar
thepoy
deepin
2020-06-02 03:18
#1
驱动安装了吗
Reply View the author
avatar
qq363614984
deepin
2020-06-02 03:20
#2

安装什么驱动?怎么安装。。。。这个是免驱动的 那种
Reply View the author
avatar
steven-liang
deepin
2020-06-02 03:28
#3
己的PC只安装了Deepin,有2个问题很烦,其他用起来都挺便利的,代码也写得多了一些。这2个很烦的问题,今天都解决了,一起来记录一下。

【问题】
问题一:Chrome浏览器播放视频画面卡顿。
这个问题解决比较顺利,搜了一下,根据帖子 https://blog.csdn.net/DiDongDongDi/article/details/88976719  的指导一下子就解决了。
关键点是从 chrome://flags/ 中通过关键字 hardware 搜出 WebRTC H.264 software video encoder/decoder 配置,然后Disable,重启Chrome就解决了。


问题二:用Chrome访问网页,经常性丢包导致网页访问失败。压轴的在后头~~
解决:
1、最初是查看了论坛帖子  https://bbs.deepin.org/post/153154  了解了大致的思路,可是帖子路径中的驱动没有我本地使用的 r8168 ,无奈只得止步。
说明:可能是因为某些敏感的原因,瑞昱公司的官网访问非常困难,且一直无法下载官网的驱动。只得放弃了

2、徘徊了一阵,后来搜索帖子,发现有人将r8168的源码放到github上了,很幸运,我也从github上搜索到了,赶紧clone下来。自己也fork了一份备份。
https://github.com/mtorromeo/r8168.git

3、刚开始拿到该源码直接去 执行,报错很多。
$ sudo ./autorun.sh

4、铺垫了这么多,其实就是诉诉苦,同时表达下解决问题后的喜悦。^_^ 今天彻底解决了这个问题,现在再也不会丢包了。操作过程如下(前提是本地已经clone了前述的源码):
参考了帖子,最终解决了问题。https://blog.csdn.net/u011727617/article/details/48735859
①查看本地的网卡驱动。网卡类型与Deepin加载的驱动不匹配。
$ lspci -v
......
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)
        Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Flags: bus master, fast devsel, latency 0, IRQ 16
        I/O ports at e000 [size=256]
        Memory at d0004000 (64-bit, prefetchable) [size=4K]
        Memory at d0000000 (64-bit, prefetchable) [size=16K]
        Capabilities:
        Kernel driver in use: r8169
        Kernel modules: r8169


②查找驱动的路径,重命名驱动文件。
$ modinfo r8169
filename:       /lib/modules/4.15.0-29deepin-generic/kernel/drivers/net/ethernet/realtek/r8169.ko

$ cd /lib/modules/4.15.0-29deepin-generic/kernel/drivers/net/ethernet/realtek/
$ sudo mv r8169.ko r8169.ko.bak

③删除驱动。
$ lsmod |grep r8169
r8169                  86016  0
mii                    16384  1 r8169

$ sudo rmmod r8169
再查看一次,已经没有 r8169 驱动了。
$ lsmod |grep r8169

④安装新驱动,重启生效。先进入已clone代码的路径,然后直接执行 autorun.sh 就行了。很简便啦
$ sudo ./autorun.sh
Check old driver and unload it.
Build the module and install
symbolmap: 00000001: invalid section
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:74
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:81
sign-file: certs/signing_key.pem: No such file or directory
DEPMOD 4.15.0-29deepin-generic
load module r8168
Updating initramfs. Please wait.
update-initramfs: Generating /boot/initrd.img-4.15.0-29deepin-generic
WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead.
setupcon is missing. Please install the 'console-setup' package.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes package to fix this.
I: The initramfs will attempt to resume from /dev/sda8
I: (UUID=4d8bacc9-f171-41b3-b300-f9d6c4d8b373)
I: Set the RESUME variable to override this.
Completed.


$reboot            #重启生效

⑤重启完成后,再次访问页面,后台持续ping网站,不再有丢包。
Reply View the author
avatar
steven-liang
deepin
2020-06-02 03:31
#4
这个是驱动

Reply View the author
avatar
thepoy
deepin
2020-06-02 03:51
#5
https://bbs.deepin.org/post/195394
安装什么驱动?怎么安装。。。。这个是免驱动的 那种

所谓的免驱并不是说真的免驱,只是windows里内置了一些网卡驱动,所以才不需要你安装驱动,随插随用。但linux并没有那么人性化,什么网卡都需要驱动,不过有些发行版在你安装系统的时候已经帮你安装好了本地网卡驱动,无需再安装,开机即可使用,但USB无线网卡就要手动安装驱动了。
Reply View the author
avatar
qq363614984
deepin
2020-06-03 00:35
#6

这个是通用的驱动 还是针对realtek的驱动??
Reply View the author
avatar
qq363614984
deepin
2020-06-03 00:38
#7
用的无线usb是MERCURY  水星的 官网上没有驱动包 linux的.
Reply View the author
avatar
deepin-chinaren
deepin
2020-06-03 01:05
#8
本帖最后由 dfqchina 于 2020-6-2 17:08 编辑

买时问了吗?支持linux吗?如果支持卖家那是一定有linux版安装包的,让他发给你就行了。
Reply View the author
avatar
kingtau
deepin
2020-06-03 05:14
#9
不是所有的型号都支持Linux下使用吧,昨天我试了两款都是自驱的,插上就能上网
360随身wifi 2代   和  Tenda  U 3
不知道你用的是什么型号?
Reply View the author
avatar
qq363614984
deepin
2020-06-03 23:28
#10
问了问卖家 人家说不支持.....哎 白装了.
品牌        水星 Mercury
型号        MW150US
类型        无线网卡
接口        USB
外置天线        无
遵循标准        IEEE 802.11b/g/n
无线速率        150Mbps
频率范围        2.4GHz
工作信道        1~13
发射功率        20dBm
其他功能        支持软AP
Reply View the author
avatar
sinux
deepin
2020-06-04 00:27
#11
搜索一下,用的是rtl8188eu,github有驱动,但是你得自己编译
https://github.com/lwfinger/rtl8188eu
Reply View the author
avatar
steven-liang
deepin
2020-06-05 05:58
#12
01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
这个是你自己发的错误提示
Reply View the author
avatar
honda-s660
deepin
2020-06-08 16:20
#13
asdw@asdw-PC:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 1a2c:0002 China Resource Semico Co., Ltd
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 003 Device 004: ID 0bda:818b Realtek Semiconductor Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
asdw@asdw-PC:~$ lsusb
Bus 002 Device 005: ID 0bda:b812 Realtek Semiconductor Corp.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 1a2c:0002 China Resource Semico Co., Ltd
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 003 Device 004: ID 0bda:818b Realtek Semiconductor Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
asdw@asdw-PC:~$
新网卡插拔的区别
USB网卡 rtl8812bu芯片 2T2R的
git上面的驱动也不行  用wine装win驱动也不行
Reply View the author