Embedded Linux System---PPP dialing, 4G module Internet "Turn"

Source: Internet
Author: User

This article was reproduced from: http://blog.csdn.net/qq562029186/article/details/65438553

4G module PPP dial-up Internet Method 1

Required Documents:
Xxx-chat-connect,xxx-chat-disconnect, XXX-PPP
Copy the above three files into the/etc/ppp/peers directory

    1. In the Xxx-ppp file

      Modify your serial device name and PPPD dial using the Username,password.

    2. In the Xxx-chat-connect file

      Modify your APN. Apn/username/password is obtained from your network provider.

    3. Use the following command to start PPP dialing

      PPPD Call XXX-PPP &
      Command last & can let PPPD run in the background

Method 2

Required Documents:
Xxx-pppd.sh,ip-up, Xxx-ppp-kill
Copy the above ip-up file to the/ETC/PPP directory

    • Using xxx-pppd.sh dialing, the command form is as follows:

./xxx-pppd.sh serial device name (e.g./DEV/TTYUSB3) APN username password

    • IP-UP:PPPD after acquiring IP and DNS, this script file is automatically called to set the system's DNS

Embedded systems generally need to copy this file into the/ETC/PPP directory.
Make sure that the file has executable permissions on your system.

    • Xxx-ppp-kill used to hang up the dial, the PPPD must be properly hung up, otherwise it may cause your next PPP dial-up to fail.

Use the following method to invoke this script

./xxx-ppp-kill

Cond...... (not finished)

Embedded Linux System---PPP dialing, 4G module Internet "Turn"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.