1.6中如果要启动pppd,需要自己将pppd的代码再加进去。

解决方案 »

  1.   

    yyy025025025:那google为什么要把启动pppd的代码删掉呢
    不启动pppd,怎么使用cmnet,cmwap进行上网?有其它方法?
      

  2.   

    本人对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 ppp0ifconfig显示:
    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?
      

  3.   

    在拨号之前,要先route del default,然后pppd