
Appendix B. The MQTT protocol 223
To download and install Wireshark:
1. Set up an ID that has access to run the trace.
2. The tracing is done using the Wireshark GUI. If you are using the root user ID, start the
GUI with the gksudo command, which is documented at:
https://help.ubuntu.com/community/RootSudo#Graphical_sudo|gksudo
Typ e gksudo wireshark on the command line, and press Enter.
3. To see the list of interfaces that are available in the Wireshark GUI, go to Capture
Interfaces. See Figure B-1. Do
not click Start yet.
Figure B-1 Available interfaces
For the sake of brevity, we also add a filter in this example so that only those packets that ...