我购买了一台 Alfa AWUS036NH,我认为我已经正确设置了它,但是当我ifconfig
在运行 Kali Linux 时键入时,没有显示 IPv4 地址的设备。
输出:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::a00:27ff:fef0:7ead prefixlen 64 scopeid 0x20<link>
ether 08:00:27:f0:7e:ad txqueuelen 1000 (Ethernet)
RX packets 2057987 bytes 1965468395 (1.8 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 743272 bytes 114166643 (108.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1198257 bytes 1736573576 (1.6 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1198257 bytes 1736573576 (1.6 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0mon: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
unspec 00-11-22-33-44-55-30-3A-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
答案1
从你的ifconfig
输出:
wlan0mon: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
unspec 00-11-22-33-44-55-30-3A-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
假设这wlan0
是您的 AWUS036NH,您已将其设置为监控模式。处于监视模式的接口本质上是一个外部观察者:它报告它看到的所有网络数据包,但不属于任何网络,因此没有 IP 地址。