Kali 1.06 安装Vmware tools 提示
Searching for a valid kernel header path... The path "" is not a valid path to the 3.7-trunk-686-pae kernel headers. Would you like to change it? [yes]
原因是缺少内核头文件。
执行
apt-get install linux-headers-$( uname -r )
提示未发现软件包。
需要在软件源中添加内核头文件的源,编辑 /etc/apt/source.list,添加
deb http://http.kali.org/kali kali main non-free contrib deb-src http://http.kali.org/kali kali main non-free contrib
然后执行
apt-get update
接着安装linux headers
apt-get install linux-headers-$(uname -r)
ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/