3G pppd and set up dns
来源:互联网 发布:安卓app源码如何修改 编辑:程序博客网 时间:2024/06/05 20:03
being on lollipop android5, when pppd dial successfully , we got ip and dns addr, then run the following command to fix dns issus
ndc resolver flushnet ppp0
ndc resolver setnetdns ppp0 8.8.8.8 8.8.4.4
as a reference , see this :
Google Groups
netcfg eth0 down
ndc network destroy 100
ndc interface clearaddrs eth0
ifconfig eth0 10.99.4.11 netmask 255.255.252.0
route add default gw 10.99.5.1 dev eth0
ndc resolver setnetdns eth0 8.8.8.8 8.8.4.4
ping www.google.com (### this works well from command line but with this, browser doesn't work: ERR_NOT_REACHABLE)
Then I followed your steps as below:
ndc network create 100
ndc network interface add 100 eth0
ndc network route add 100 eth0 10.99.4.0/22 (This is taken from the output of ip route show, so I presume my gateway is 10.99.4.0)
ndc resolver setnetdns 100 localdomain 192.168.6.55 192.168.6.56 (My DNS addresses are 192,168.6.55 and 192.168.6.56)
ndc network default set 100 (Untill this command, the status is: ping works fine from command line for google, but after I enter this command, command line based ping stops and I am unable to get browser working as was the previous case).
being on lollipop android5, when pppd dial successfully , we got ip and dns addr, then run the following command to fix dns issus
ndc resolver flushnet ppp0
ndc resolver setnetdns ppp0 8.8.8.8 8.8.4.4
as a reference , see this :
Google Groups
netcfg eth0 down
ndc network destroy 100
ndc interface clearaddrs eth0
ifconfig eth0 10.99.4.11 netmask 255.255.252.0
route add default gw 10.99.5.1 dev eth0
ndc resolver setnetdns eth0 8.8.8.8 8.8.4.4
ping www.google.com (### this works well from command line but with this, browser doesn't work: ERR_NOT_REACHABLE)
Then I followed your steps as below:
ndc network create 100
ndc network interface add 100 eth0
ndc network route add 100 eth0 10.99.4.0/22 (This is taken from the output of ip route show, so I presume my gateway is 10.99.4.0)
ndc resolver setnetdns 100 localdomain 192.168.6.55 192.168.6.56 (My DNS addresses are 192,168.6.55 and 192.168.6.56)
ndc network default set 100 (Untill this command, the status is: ping works fine from command line for google, but after I enter this command, command line based ping stops and I am unable to get browser working as was the previous case).
- 3G pppd and set up dns
- pppd拨号3G设备
- pppd拨号3G设备
- Hadoop install and set up
- android 3G pppd 调试记录。
- linux pppd 3g 拨号记录
- 数据连接 3G ppp pppd
- android 3G pppd 调试记录
- Android 3G pppd 调试记录
- android 3G pppd 调试记录。
- linux pppd 3g 拨号记录
- 数据连接 3G ppp pppd
- android 3G pppd 调试记录
- Set up Rsync and Cron Job
- Set up and run a PBS job
- set up Android development environment and python
- Set up Django, nginx and uwsgi
- tomcat - set up username and password
- 使用selenium webdriver进行元素定位
- xml多种方法注入java(学习记录)
- Ping pong
- perl 卸载Oracle数据库
- 多线程与多进程
- 3G pppd and set up dns
- Linux下tomcat、jdk环境 部署过程
- nodejs--express4.x session用法
- 两种高性能I/O设计模式(Reactor/Proactor)的比较
- web api返回json数据
- HDU3450 Counting Sequences(树状数组+dp)
- BJP3 Self-Check 5.23: robustInput Scanner
- 优秀技术网站地址收集
- c语言-指针