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 with 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 WAN side of you LTE device?
1. Connect the LTE device to the PC.
2. Login to the device via telnet or console (use root account).
3. Use tcpdump to save the packets from the WAN.
Type the command: “tcpdump –s 0 –Ieth1 –w/tmp/name/pcap” because WAN interface is eth1.
4.Press Ctrl + C on the keyboard to stop the packet capturing.
5.Login to the device via FTP (use root account).
6.Change directory to /tmp.
7.Type “bin”to use binary mode.
8.Download the file to the local PC.
9.Open the file (d:\name.pcap) via Wireshark or other packet capture software tools.