pppoe

50 views
Skip to first unread message

youling 257

unread,
May 17, 2019, 5:34:01 AM5/17/19
to Android-x86
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

DDS Central

unread,
May 17, 2019, 7:40:45 AM5/17/19
to Android-x86
Linux can do PPoE, but AFAIK there's no integration for it on Android.  Modern Android versions seem to not obey the standard Linux routes but instead run everything through netd. You will need to use netd to configure the network.
Why not just use a router ? 

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/6e7994c2-96e3-4e07-9b3d-292da06823d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages