参考链接:https://blog.youkuaiyun.com/fljhm/article/details/79281655
一开始以为是内核的问题,所以一直在升级内核,thinkpad采用的是rtl的网卡,所以我的网卡一直没有加载出来,跟博客的问题很像,采用了很多方法的都没有解决好,期间遇到/boot的内存不足的问题,想升级到18.04是有点困难,解决好这个问题可以愉快的使用linux了。
----------------2019/08/19更新-------------------------
第二次使用ubuntu18.04的时候遇到同样的问题:wifi无法正常安装驱动模块,
解决的思路:csdn参考链接
- 下载驱动,编译内核模块
$ git clone https://github.com/tomaspinho/rtl8821ce
$ cd rtl8821ce
1.1 文中说需要修改Makefile文件 - 终端安装
- 修改内核模块
!important
但是文中提到需要修改:Makefile文件的export TopDIR ?=这一行,
其实是不用的,你去看看人家原来版本的README.md文件,才是正解,
还有一点就是可以看看自己报错的地方也是可以发现问题:图片2
附上人家的github
DKMS
This driver can be installed using DKMS. This is a system which will automatically recompile and install a kernel module when a new kernel gets installed or updated. To make use of DKMS, install the dkms package.
Installation of Driver
Make sure you have a proper build environment and dkms installed.
Ubuntu & Debian
sudo apt install bc module-assistant build-essential dkms
sudo m-a prepare
Manual installation of driver
In order to install the driver open a terminal in the directory with the source code and execute the following command:
sudo ./dkms-install.sh
图片1:问题的产生
“图片二:make文件寻找目录时出现错误”
### 过程中常见的使用命令
1. lspci -vvv
表示列出系统的常用设备一些情况
2. chmod +w [文件对象]
表示修改该文档的权限,使得文件具有可write的操作
一般grub是开机启动文件,放在/boot/grub/grub.cfg(***开机引导的相关文件***)的文件的下面,但是etc/default/grub也是有相关文件***(这个文件下面存放的运行脚本)***
3.