ubuntu 16.04 重启主机后,无线网卡需插拔后才可以使用,求老鸟们协查

DDFlycom 发布于 2017/09/18 16:31
阅读 430
收藏 0

最近在台式机上安装了ubuntu 16.04,搭配了 USB插口的TP LINK TL-WN823N 无线网卡。
幸运的是可以正常上网了
不幸的是,只要reboot重启主机,无线网卡就需要重新插拔才可以用。

但是冷启动的话,无线网卡就可以正常使用,就是有的时候会掉线。

以下是一些命令,应该是看内核和驱动的吧

root@work-PC:~# uname -r
4.10.0-33-generic
root@work-PC:~#


lsusb:
root@work-PC:~# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 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 001 Device 002: ID 0bda:818b Realtek Semiconductor Corp.
Bus 001 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 004 Device 003: ID 03f0:0324 Hewlett-Packard SK-2885 keyboard
Bus 004 Device 002: ID 046d:c014 Logitech, Inc. Corded Workstation Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@work-PC:~#
root@work-PC:~#

lsusb -t:
root@work-PC:~# lsusb -t
/:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
    |__ Port 2: Dev 2, If 0, Class=Vendor Specific Class, Driver=rtl8xxxu, 480M
root@work-PC:~#
root@work-PC:~#

lsmod | grep 8192:
root@work-PC:~# lsmod | grep 8192
snd_hda_core           81920  4 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic,snd_hda_codec_realtek


sudo dmesg | grep 8192:
root@work-PC:~# sudo dmesg | grep 8192
[    0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] percpu: Embedded 36 pages/cpu @ffffa0f0bb600000 s107992 r8192 d31272 u524288
[    0.000000] pcpu-alloc: s107992 r8192 d31272 u524288 alloc=1*2097152
[    0.000000]     RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=4.
[   12.031268] usb 1-2: rtl8192eu_parse_efuse: dumping efuse (0x200 bytes):
[   12.031371] usb 1-2: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0, GPS=0, HI PA=0
[   12.031373] usb 1-2: RTL8192EU MAC: 30:b4:9e:84:1f:28
[   12.031375] usb 1-2: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
root@work-PC:~#
root@work-PC:~#

sudo iwconfig:
root@work-PC:~# sudo iwconfig
enp0s25   no wireless extensions.

lo        no wireless extensions.

wlx30b49e841f28  IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          
root@work-PC:~#
root@work-PC:~#

 

 

加载中
0
fly__fly
fly__fly

看下reboot后,无线网卡是否自动激活,centos,默认的eth0 就是没自动激活,

DDFlycom
DDFlycom
怎么看呀,需要修改什么文件么?
0
hlStack
hlStack

兄弟,幸好你用的台式机。
 Ubuntu对于usb无线网卡的支持一直不怎么灵光,我的建议:弃坑,换PCI-E无线网卡——开机自动识别,信号满格,速度杠杠的。
  给你我购买的地址:
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.2ed6e797QQbUAe&id=553178056583&_u=i3i0jrd9c8d
 不谢!

DDFlycom
DDFlycom
这确实是个解决方案,不过请问一下哥们你的Ubuntu是哪个版本的?热启动reboot什么的也没有问题,能正常用咩?
0
开源中国首席罗纳尔多
DDFlycom
DDFlycom
官方的驱动没有,试了一下第三方的驱动,也不太行
0
hlStack
hlStack
我用的也是16.04
DDFlycom
DDFlycom
那您用reboot热启动能正常联网么?
返回顶部
顶部