Cellular 4G test

The cellular 4G test validates Global System for Mobile Communication (GSM) connectivity by establishing a temporary 4G network connection. You can run this test to verify that a 4G GSM modem is available on your host under test (HUT). The modem must also function correctly.

What the test covers
The cellular 4G test runs a Global System for Mobile Communication (GSM) 4G connection test on the HUT. The test checks whether a 4G GSM modem is available on the HUT. If it detects a GSM connection interface, it initializes and establishes a temporary cellular 4G network connection by using the GSM interface. After establishing the connection, the test runs the cellular 4G connection test to validate connectivity and reports its status.
RHEL version supported
  • RHEL 9
  • RHEL 10
What the test does

The test performs the following actions:

  1. Restarts services
    1. Ensures ModemManager and NetworkManager services are running or enabled.
  2. Re-enables USB devices
    1. Temporarily disables or enables USB devices so that the modem can reinitialize. Note

      This test re-enables only the USB devices.

  3. Detects GSM device
    1. Uses nmcli command to check if a GSM 4G modem is available. Note

      The maximum retry limit is 100s.

  4. Enables GSM connection.
    1. Deletes the old GSM configurations, creates a new connection by running the command nmcli add gsm, and activates the new connection.
  5. Tests GSM connection
    1. Finds the modem interface, for example, wwan0.
    2. Runs a ping (ping -I <device> google.com).
    3. If successful, it removes the test connection.
Preparing for the test

The HUT must have a GSM network interface.

Note

If your HUT is present in the USA, then you must configure the Fcclock tool before running the test.

Running the test
The test is non-interactive and only requires you to plan and run the test. Run the following command and then select the appropriate Cellular 4G test from the list that displays: $ rhcert-run
Run time
The test takes less than 5 minutes to finish. Any other mandatory or selected tests add to the overall run time.