pppd拔号完不能上网的问题
本人对linux不熟悉,这几天在android下面linux kernel里面用pppd ttys1拔完号(cmnet),已经显示
I/pppd ( 216): local IP address 10.194.216.202
I/pppd ( 216): remote IP address 192.168.0.1
然后route显示:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.1 * 255.255.255.255 UH 0 0 0 ppp0
ifconfig显示:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.188.143.104 P-t-P:192.168.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:40 (40.0 B) TX bytes:93 (93.0 B)
ping 202.108.22.142(www.baidu.com)也不通
请教各位有可能是什么原因?
在网上说是必须设置route中的gateway,不知道在linux下面怎么设置gateway?
I/pppd ( 216): local IP address 10.194.216.202
I/pppd ( 216): remote IP address 192.168.0.1
然后route显示:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.1 * 255.255.255.255 UH 0 0 0 ppp0
ifconfig显示:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.188.143.104 P-t-P:192.168.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:40 (40.0 B) TX bytes:93 (93.0 B)
ping 202.108.22.142(www.baidu.com)也不通
请教各位有可能是什么原因?
在网上说是必须设置route中的gateway,不知道在linux下面怎么设置gateway?
...全文
相关推荐
Linux中 pppoe客户端代码
Linux中 pppoe客户端代码编译内核时将PPPD编译进去,解压这个包,./config一把后,Make,再用root帐户Make install既可。配置时,进入/sbin下用./pppoe-s
CentOS 6.9 拨号工具包
这两个命令都是 pppd(PPP 控制程序)的一部分,负责管理和控制 PPP 连接。6.
Linux 3G拨号实现分析
本文主要探讨了在Linux系统环境下实现3G数据卡拨号的过程,涵盖了3G技术的基础知识以及它与Linux内核和用户空间软件的交互。首先,文章简要介绍了蜂窝移动通信系统的演进历程,从第一代模拟制式1G(
VDA 19.1_3rd edition_2026_English.rar
VDA 19.1_3rd edition_2026_English.rar
正交拉丁超立方(OLHC)分组与实验设计(DOE)评估的优化Python实现,移植自MATLA.rar
正交拉丁超立方(OLHC)分组与实验设计(DOE)评估的优化Python实现,移植自MATLA.rar


