Last edited 9 months ago

Network tools

Applicable for STM32MP13x lines, STM32MP15x lines, STM32MP25x lines

1. ping[edit | edit source]

Man Page at ping(8)
ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE from a host or gateway. ECHO_REQUEST datagrams have an IP and ICMP header, followed by a struct timeval and then an arbitrary number of pad bytes used to fill out the packet.

2. ifconfig[edit | edit source]

Please refer to the dedicated page ifconfig

3. route[edit | edit source]

Man page at route(8)
route command is used to show/manipulate the IP routing table. It is primarily used to setup static routes to specific host or networks via an interface.

4. traceroute[edit | edit source]

Man page at traceroute(8)
traceroute is a built-in tool for displaying the route and measuring the delay of packets across a network.

5. netstat[edit | edit source]

Please refer to the dedicated page netstat

6. ip[edit | edit source]

Please refer to the dedicated page ip

7. ethtool[edit | edit source]

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

8. iw[edit | edit source]

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

9. wpa_supplicant[edit | edit source]

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.

10. brctl[edit | edit source]

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.

11. iptables[edit | edit source]

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.

12. gatttool[edit | edit source]

Man page at [1]

13. ptp4l[edit | edit source]

Man page at [2]

14. phc2sys[edit | edit source]

Man page at [3]

15. tc[edit | edit source]

Man page at [4]

16. deptp_tool[edit | edit source]

deptp_tool

17. tsntool[edit | edit source]

The tool tsntool is used to configure TSN Qbv and Qav via command line, this tool is provided by TTTech TSN Switch