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
#!/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.