CentOS6.5下:
(工具安装:yum install usbutils wireless-tools wpa-supplicant)
①cd到驱动文件目录内
②编译源文件make(注意:编译需要安装:yum install kernel-devel)
③make install
④加载刚才安装好的驱动modprobe mt7601Usta
KaliLinux1.09a下:
①刚安装好的kali系统必须先更新。
修改sources.list文件:
leafpad /etc/apt/sources.list
然后选择添加以下适合自己较快的源(可自由选择,不一定要全部):
#官方源
deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
#激进源,新手不推荐使用这个软件源
deb http://repo.kali.org/kali kali-bleeding-edge main
deb-src http://repo.kali.org/kali kali-bleeding-edge main
#中科大kali源
deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free
#阿里云kali源
deb http://mirrors.aliyun.com/kali kali main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free
保存之后运行:
apt-get update #刷新系统
apt-get dist-upgrade #安装更新
参考链接:Kali-linux安装之后的简单设置
②cd到驱动文件夹中,把rt_linux.c里面报错那里:
current_fsuid() 跟 current_fsgid()改成:
current_fsuid().val current_fsgid().val
参考见:http://tieba.baidu.com/p/3010940964
③编译make
④安装make install
⑤加载刚才安装好的驱动modprobe mt7601Usta