Hi, I need to use a ppp0 interface using a 4/5G module. I've used this ip-up script and I can see my ppp0 interfasce which is up, but when I ping something (such as www.google.com) is prompts "unknown host www.google.it", what am I missing?
IP-UP script: *#!/system/bin/sh* */system/bin/setprop "net.interfaces.defaultroute" "gprs"* *NAME=${LINKNAME:-"$1"}* */system/bin/setprop "net.$NAME.dns1" "$DNS1"* */system/bin/setprop "net.$NAME.dns2" "$DNS2" * */system/bin/setprop "net.$NAME.local-ip" "$IPLOCAL" * */system/bin/setprop "net.$NAME.remote-ip" "$IPREMOTE" * IFCONFIG PPP0 result: *ppp0 Link encap:Point-to-Point Protocol * * inet addr:xx.xx.xx.xx P-t-P:yy.yy.yy.yy 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:4 errors:0 dropped:0 overruns:0 carrier:0 * * collisions:0 txqueuelen:3 * * RX bytes:52 TX bytes:58 * Of course I have a valid xx.xx.xx.xx and yy.yy.yy.yy IP addresses. -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/android-porting/6770fecd-977e-4c41-a1b4-302d49a32c8bn%40googlegroups.com.