Linux小白一枚,安装过程中遇到一个坑,希望给同是小白的同学以参考.
1.查看芯片型号lsusb
waysung@wei-computer:~$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 1a2c:2c27 China Resource Semico Co., Ltd
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 003: 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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 04ca:0061 Lite-On Technology Corp.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
waysung@wei-computer:~$
看到 0bda:818b Realtek Semiconductor Corp. 百度发现为RTL8192eu的芯片.
2.各种百度,发现网上驱动 https://github.com/Mange/rtl8192eu-linux-driver,下载下来或者直接git clone,然后
$ cd rtl8192eu-linux-driver-master
$ sudo dkms add .
$ sudo dkms install rtl8192eu/1.0
然后就是安装失败,报错.又用系统设置->软件和更新->更改源,选择附加驱动->关闭,让他自动更新,又报boot分区空间不够。
3.清理旧内核,查看现在使用的内核,惊讶的发现我的内核,居然是4.15
waysung@wei-computer:~$ uname -a
Linux wei-computer 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
4.15不是Ubuntu18的内核吗,这时我想到又一次我手欠点了更新系统,后来又半路终止了,结果就是Ubuntu16有了一个4.15的内核。难怪安装4.4内核的驱动安装不上啊。
4.找到问题所在就去找4.15版本驱动,发现这篇文章https://blog.csdn.net/stlinax/article/details/80235407,照做,成功安装,识别网卡!!