Xun 4418 Development Board QT Transplant Mobile 4G Module Part II

Source: Internet
Author: User
Tags nameserver

The first part:

Http://www.cnblogs.com/topeet/p/6509248.html

Part II:

5.ping Non-access domain name is generally not set to cause DNS. There is a file resolv.conf under etc . This file is used to put DNS . This is the domain name is not set to. However , it is mandatory to copy this file to 192.168.1.1 in Eth0 's run script . This results in even if the correct DNS is set up in the file here , it will be found that the file is already 192.168.1.1 after booting . This is due to the eth0, which is powered on from the boot.

6. So we're going to create a new file under etc resolv.conf_back:vim resolv.conf_back Enter DNS:

NameServer 202.99.160.68

NameServer 221.130.33.52

NameServer 221.130.33.60

NameServer 192.168.1.1

7. create a new script file under etc ppp0:vim ppp0 input:

#!/bin/sh

Ifconfig eth0 Down

Cp/etc/resolv.conf_back/etc/resolv.conf

/ETC/PPP/PPPD Call wcdma&

The first step here is to turn off the eth0, and the second step is to overwrite our DNS files on resolv.conf and run the third step. After booting to etc under the input ppp0 can.

This is all done.

Xun 4418 Development Board QT Transplant Mobile 4G Module Part II

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.