1、检测系统中是否存在TUN模块,ctrl+alt+t打开Ubuntu终端,输入:
①modinfo tun
modinfo: ERROR: Module tun not found.
②modprobe tun
lsmod | grep tun
没有任何输出
就是说没有这个tun模块
2、更新Ubuntu
①以root身份登录
输入:su
密码
如果忘记密码,使用·:sudo passwd root 可以重置密码
②同步source.list
输入:apt-get update
更新成功之后
输入:apt-get install linux-source
y
3、配置模块驱动
①输入:cd /usr/src/linux-source-3.13.0/
注意文件夹路径,在上一步apt-get install linux-source时,终端显示
这里能看到