我正在做一个无线实验,它使用了tp-link路由器WR1043ND闪存OpenWrt系统。因为需要通过路由器捕获软件包,所以需要安装tcpdump软件。
我只是使用命令“ opkg install tcpdump” 进行安装,终端显示安装成功。
但是当我输入“ tcpdump” 命令时,我收到了一个失败提示,显示该提示
-灰:tcpdump:找不到
因此,我尝试了解是否已安装tcpdump。我输入如下:
opkg列表| grep tcpdump
过滤后的结果显示:
openvswitch-ovs-tcpdump - 2.8.1-1 - Dump traffic from an Open vSwitch port using tcpdump
openvswitch-ovs-tcpundump - 2.8.1-1 - Convert ``tcpdump -xx`` output to hex strings
pcapsipdump - 0.2-1 - pcapsipdump is a tool for dumping SIP sessions (+RTP traffic, if available) to disk in a fashion similar to "tcpdump -w" (format is exactly the same), but one file per sip session (even if there is thousands of concurrect SIP sessions).
tcpdump - 4.9.2-1 - Network monitoring and data acquisition tool
tcpdump-mini - 4.9.2-1 - Network monitoring and data acquisition tool (minimal version)
tcpreplay - 4.2.5-1 - tcpreplay is a tool for replaying network traffic from files saved with tcpdump or other tools which write pcap(3) files.
显然,安装成功。 我真的希望有人能帮助我解决这个问题,谢谢!