Template: 5G Network Speed Test
5G Network Speed Test
In the speed measurement part, because the Raspberry Pi comes with a Gigabit Ethernet port, and there are few USB network cards above Gigabit, we use the SpeedTest For Python tool to perform speed measurement by the commands. Connect to the terminal of OpenWrt and enter the commands one by one to measure the speed:
## OpenWRT opkg update opkg install python3 opkg install python3-pip pip install speedtest_cli speedtest # or use speedtest_cli
Raspberry Pi minicom Serial Port Debugging
1. Insert the module into the Raspberry Pi and set the S_TX and S_RX of the dipswitch to ON.
2. Install minicom, minicom is the serial port debugging tool for Linux.
- Use minicom to open ttyUSB2:
sudo minicom -D /dev/ttyUSB2
Send to enable the UART serial port:
AT+CCUART=1
3. Open ttyS0 via minicom - ttyS0 is the serial port of the Raspberry Pi 3B/3B+/4B, and the default baud rate is 115200.
sudo minicom -D /dev/ttyS0
4. Raspberry Pi 2B/zero, the user serial device number is ttyAMA0; you can use the following command line to confirm that serial0 is the selected serial device number, as follows:
ls -l /dev/serial*