Network tools

来自百问网嵌入式Linux wiki
Wiki讨论 | 贡献2020年11月6日 (五) 14:38的版本 →‎ip

ping

手册页位于 ping(8)
ping 使用ICMP协议的强制性ECHO_REQUEST数据报来从主机或网关引出ICMP ECHO_RESPONSE。ECHO_REQUEST数据报具有IP和ICMP标头,后跟一个struct timeval,然后是任意数量的“ pad”字节,用于填充数据包。

ifconfig

请参考专用页面 ifconfig

route

手册页位于 route(8)
route 命令用于显示/操作IP路由表。 它主要用于设置通过接口到特定主机或网络的静态路由。

traceroute

手册页位于 traceroute(8)
traceroute是一个内置工具,用于显示路由并测量网络中数据包的延迟。

netstat

请参考专用页面 netstat

ip

请参考专用页面 ip

ethtool

Man page at ethtool(8)
ethtool utility is used to view and change the ethernet device parameters.

iw

Man page at iw(8)
iw utility is used to view and change the wireless device parameters.

wpa_supplicant

Man page at wpa_supplicant
wpa_supplicant is a WPA Supplicant for Linux, BSD, Mac OS X, and Windows with support for WPA and WPA2 (IEEE 802.11i / RSN). It is suitable for both desktop/laptop computers and embedded systems. Supplicant is the IEEE 802.1X/WPA component that is used in the client stations. It implements key negotiation with a WPA Authenticator and it controls the roaming as well as IEEE 802.11 authentication/association of the wlan driver.

brctl

Man page at brctl(8)
brctl is used to set up, maintain, and inspect the ethernet bridge configuration in the linux kernel. An ethernet bridge is a device commonly used to connect different physical Ethernet networks together, so that these physical networks appear as one unified network to the users.

iptables

Man page at iptables(8)
iptables is an administration tool for IPv4 packet filtering and NAT.
It is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel. Several different tables may be defined. Each table contains a number of built-in chains and may also contain user-defined chains.
Each chain is a list of rules which can match a set of packets. Each rule specifies what to do with a packet that matches. This is called a 'target', which may be a jump to a user-defined chain in the same table.

gatttool

Man page at [1] <securetransclude src="ProtectedTemplate:PublicationRequestId" params="10432 | 2019-01-24 | BrunoB"></securetransclude>