使用kali-linux通过甲骨文虚拟盒在Windows 8.1 操作系统。尝试安装时配置文件只是为了学习目的。E:无法找到包 iwconfig
/$ sudo apt-get 更新
/$ sudo apt-get install iwconfig
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package iwconfig
$ dpkg -l 无线工具 && dpkg -L 无线工具 | grep iwconfig 和 ls /sbin/iw*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-================================================
ii wireless-tools 30~pre9-13.1 amd64 Tools for manipulating Linux Wireless Extensions
grep: and: No such file or directory
grep: ls: No such file or directory
Binary file /sbin/iwconfig matches
如何解决这个问题?
答案1
该命令iwconfig
是包的一部分wireless-tools
。你需要跑
sudo apt install wireless-tools