SDAA112 September   2025 AM625

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Use Case
  5. 2Platform and Products
    1. 2.1 Hardware
    2. 2.2 Software
  6. 3Methods
  7. 4Overview of Steps to Bring Up the Interface and Establish A Connection
  8. 5Troubleshooting
    1. 5.1 Power and Initialization First
    2. 5.2 Verify Network Before PPP
    3. 5.3 Test Manual Dial First
    4. 5.4 Timing When Dialing Up
    5. 5.5 Serial Communication
    6. 5.6 Chat Script
    7. 5.7 PPP Options
    8. 5.8 Signal Strength and Antenna Setup
    9. 5.9 Modem Reset
  9. 6Summary
  10. 7References

Software

 Network Stack Figure 2-3 Network Stack

Once hardware connectivity is in place, the PPP provides the bridge between the Linux networking stack and the modem. The PPP daemon (pppd) is responsible for establishing and managing a Point-to-Point Protocol session over the serial port of the modem. This negotiates the PPP session, performs authentication if required (such as CHAP or PAP), and sets up the ppp0 network interface on the host. This includes assigning an IP address, configuring routing, and setting DNS servers so that the system can send and receive IP traffic over the connection.

The modem is controlled through AT commands to register with the cellular network and start a data session. AT commands are an industry standard, providing a text-based interface to the functionality of the modem. For example, AT+CGDCONT=1,"IP","<APN>" configures the PDP context with the desired APN, and ATD*99# initiates the actual connection. Once the modem returns CONNECT, the PPP session becomes active and the modem functions as a transparent link-layer pipe, carrying encapsulated IP packets over the cellular network.

Data from the operating system flows through the ppp0 network interface. The IP packets are encapsulated by PPP and transmitted over the serial link to the modem. The modem converts these packets into cellular data and communicates with the GSM or LTE network, sending and receiving data to the wider internet. In this way, the PPP session bridges the IP layers of the host with the cellular network through the serial interface to the modem.