If you have any issue with the communication to the 4G network, this article might help!
We usually use Wireshark as our packet analyzer. It is used for network troubleshooting, analysis, software and communication protocol development. It is easy to capture the internet packets by using an ethernet cable between the LTE LAN port and the computer.
Wireshark is a cross-platform software. It can run on Linux, OS X, BSD, Solaris, and some other Unix-like operating systems, and on Microsoft Windows, we can troubleshoot the internet issues at the LAN side by using ethernet cable. But the WAN interface is LTE. It is a wireless interface to the Base Station side, so it is not easy to capture internet packets by using Wireshark software.
So how can you capture the Internet packets from the WAN side of your LTE device?
1. Connect the LTE device to the PC.
2. Log in to the device via telnet or console (use root account).
3. Use tcpdump to save the packets from the WAN.
Type the following command:
tcpdump –s 0 –i eth1 –w /tmp/name.pcap
4. Press Ctrl + C on the keyboard to stop the packet capture.
5. Log in to the device via FTP (use root account).
6. Change directory to /tmp with the following command:
7. Type “bin” to enter the binary mode.
8. Download the file to the local PC.
9. Open the file (name.pcap) via Wireshark or other packet capture software tools.