I use pppoeconf on Android, get pppo0 connect to isp ip, and ip route del default, ip route add default dev ppp0, setprop net.dns1 my isp dns,
but network not working, someone can give me some suggest and direction?
eth0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500
inet 192.168.18.2 netmask 255.255.255.0 broadcast 192.168.18.255
inet6 fe80::20e:c6ff:fec3:60ac prefixlen 64 scopeid 0x20<link>
ether 00:0e:c6:c3:60:ac txqueuelen 1000 (以太网)
RX packets 3197 bytes 2744977 (2.7 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3118 bytes 411376 (411.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (本地环回)
RX packets 9953 bytes 5960705 (5.9 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9953 bytes 5960705 (5.9 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1492
inet 172.16.43.83 netmask 255.255.255.255 destination 172.16.0.1
ppp txqueuelen 3 (点对点协议)
RX packets 4 bytes 68 (68.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3 bytes 54 (54.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0