1.WIFI
我使用的电脑是thinkpad P15v,其中windows的网络适配器为
其解决部分参考这位博主
安装Ubuntu18.04后没有WIFI参数设置图标,无法连接wifi
其中我在执行sudo make install这一命令的过程中出现了错误没有注意到,直到按照所有步骤操作后依旧没有成功,回看评论区才发现这一步出现了问题,具体报错为
hy@hy-ThinkPad-P15v-Gen-3:~/backport-iwlwifi$ sudo make install
Building modules, stage 2.
MODPOST 6 modules
INSTALL /home/hy/backport-iwlwifi/compat/compat.ko
At main.c:167:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/hy/backport-iwlwifi/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
At main.c:167:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/hy/backport-iwlwifi/drivers/net/wireless/intel/iwlwifi/mvm/iwlmvm.ko
At main.c:167:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/hy/backport-iwlwifi/drivers/net/wireless/intel/iwlwifi/xvt/iwlxvt.ko
At main.c:167:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/hy/backport-iwlwifi/net/mac80211/mac80211.ko
At main.c:167:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/hy/backport-iwlwifi/net/wireless/cfg80211.ko
At main.c:167:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
DEPMOD 5.4.0-150-generic
Warning: modules_install: missing 'System.map' file. Skipping depmod.
depmod will prefer updates/ over kernel/ -- OK!
Note:
You may or may not need to update your initramfs, you should if
any of the modules installed are part of your initramfs. To add
support for your distribution to do this automatically send a
patch against "update-initramfs.sh". If your distribution does not
require this send a patch with the '/usr/bin/lsb_release -i -s'
("Ubuntu") tag for your distribution to avoid this warning.
Your backported driver modules should be installed now.
Reboot.
解决办法为:更新初始RAM文件系统,以使新安装的模块生效,命令为
sudo update-initramfs -u
然后重启电脑就可以看见wifi图标了
建议这步结束之后最好重启下看看是否有无wifi图标,因为后续安装驱动发现接下来的步骤和以太网驱动有关。
2.有线连接
参考这位博主的链接,因为网络适配器一致,直接三步走,立马见效
Ubuntu18.04 没有有以太网连接的解决办法