android native vpn connect did not work

86 views
Skip to first unread message

dong1...@gmail.com

unread,
Dec 7, 2015, 8:17:24 PM12/7/15
to Android-x86
I run android-x86 in  VirtualBox, and i want to use android native vpn, but did not work,
how can i fix this?


I/Vpn     ( 1248): Switched from [Legacy VPN] to [Legacy VPN]
D/Vpn     ( 1248): setting state=IDLE, reason=prepare
D/Vpn     ( 1248): setting state=CONNECTING, reason=startLegacyVpn
V/LegacyVpnRunner( 1248): Waiting
V/LegacyVpnRunner( 1248): Executing
D/Vpn     ( 1248): setting state=CONNECTING, reason=execute
D/mtpd    ( 1972): Waiting for control socket
D/mtpd    ( 1972): Received 20 arguments
I/mtpd    ( 1972): Using protocol pptp
I/mtpd    ( 1972): Connecting to 60.250.10.234 port 1723 via eth0
I/mtpd    ( 1972): Connection established (socket = 11)
D/mtpd    ( 1972): Sending SCCRQ
D/mtpd    ( 1972): Received SCCRP -> Sending OCRQ (local = 23004)
I/mtpd    ( 1972): Tunnel established
D/dalvikvm( 1466): GC_CONCURRENT freed 154K, 6% free 3897K/4128K, paused 6ms+0ms, total 36ms
D/mtpd    ( 1972): Received OCRQ (remote = 146)
I/mtpd    ( 1972): Session established
I/mtpd    ( 1972): Creating PPPoX socket
I/mtpd    ( 1972): Starting pppd (pppox = 12)
I/mtpd    ( 1972): Pppd started (pid = 1973)
I/pppd    ( 1973): Using PPPoX (socket = 12)
D/pppd    ( 1973): using channel 1
I/pppd    ( 1973): Using interface ppp0
I/pppd    ( 1973): Connect: ppp0 <--> 
D/gralloc ( 1028): Registering a buffer in the process that created it. This may cause memory ordering problems.
E/libEGL  ( 1028): called unimplemented OpenGL ES API
E/libEGL  ( 1028): called unimplemented OpenGL ES API
E/libEGL  ( 1028): called unimplemented OpenGL ES API
E/libEGL  ( 1028): called unimplemented OpenGL ES API
E/SurfaceFlinger( 1028): glCheckFramebufferStatusOES error 169376178
E/SurfaceFlinger( 1028): got GL_FRAMEBUFFER_COMPLETE_OES error while taking screenshot
E/libEGL  ( 1028): called unimplemented OpenGL ES API
E/libEGL  ( 1028): called unimplemented OpenGL ES API
D/gralloc ( 1028): Registering a buffer in the process that created it. This may cause memory ordering problems.
E/libEGL  ( 1028): called unimplemented OpenGL ES API
E/libEGL  ( 1028): called unimplemented OpenGL ES API
W/WindowManager( 1248): Screenshot failure taking screenshot for (187x140) to layer 21025
E/libEGL  ( 1028): called unimplemented OpenGL ES API
E/libEGL  ( 1028): called unimplemented OpenGL ES API
E/SurfaceFlinger( 1028): glCheckFramebufferStatusOES error 169376178
E/SurfaceFlinger( 1028): got GL_FRAMEBUFFER_COMPLETE_OES error while taking screenshot
E/libEGL  ( 1028): called unimplemented OpenGL ES API
E/libEGL  ( 1028): called unimplemented OpenGL ES API
W/WindowManager( 1248): Screenshot failure taking screenshot for (187x140) to layer 21025
I/ActivityManager( 1248): START u0 {act=com.android.systemui.recent.action.TOGGLE_RECENTS flg=0x10800000 cmp=com.android.systemui/.recent.RecentsActivity (has extras)} from pid 1416
D/gralloc ( 1028): Registering a buffer in the process that created it. This may cause memory ordering problems.
E/libEGL  ( 1028): called unimplemented OpenGL ES API
E/libEGL  ( 1028): called unimplemented OpenGL ES API
E/libEGL  ( 1028): called unimplemented OpenGL ES API
E/libEGL  ( 1028): called unimplemented OpenGL ES API
E/SurfaceFlinger( 1028): glCheckFramebufferStatusOES error 169376178
E/SurfaceFlinger( 1028): got GL_FRAMEBUFFER_COMPLETE_OES error while taking screenshot
E/libEGL  ( 1028): called unimplemented OpenGL ES API
E/libEGL  ( 1028): called unimplemented OpenGL ES API
W/WindowManager( 1248): Screenshot failure taking screenshot for (187x140) to layer 21025
I/pppd    ( 1973): MPPE 128-bit stateless compression enabled
I/ActivityManager( 1248): Displayed com.android.systemui/.recent.RecentsActivity: +141ms
I/pppd    ( 1973): local  IP address 10.0.0.17
I/pppd    ( 1973): remote IP address 10.0.0.4
I/pppd    ( 1973): primary   DNS address 8.8.8.8
I/pppd    ( 1973): secondary DNS address 8.8.4.4
I/ip6tables( 1025): ip6tables v1.4.11.1: Couldn't find target `MASQUERADE'
I/ip6tables( 1025): Try `ip6tables -h' or 'ip6tables --help' for more information.
I/ip6tables( 1025): ip6tables terminated by exit(2)
E/Netd    ( 1025): exec() res=0, status=512 for /system/bin/ip6tables -t nat -A st_nat_POSTROUTING -o ppp0 -m mark --mark 60 -j MASQUERADE 
I/iptables( 1025): iptables: No chain/target/match by that name.
I/iptables( 1025): iptables terminated by exit(1)
E/Netd    ( 1025): exec() res=0, status=256 for /system/bin/iptables -t mangle -A st_mangle_OUTPUT -m owner --uid-owner 0-99999 -j MARK --set-mark 60 
I/ip6tables( 1025): ip6tables: No chain/target/match by that name.
I/ip6tables( 1025): ip6tables terminated by exit(1)
E/Netd    ( 1025): exec() res=0, status=256 for /system/bin/ip6tables -t mangle -A st_mangle_OUTPUT -m owner --uid-owner 0-99999 -j MARK --set-mark 60 
I/LegacyVpnRunner( 1248): Aborting
I/LegacyVpnRunner( 1248): java.lang.IllegalStateException: command '17 interface fwmark uid add ppp0 0 99999' failed with '400 17 Failed to add uid rule (Success)'
I/LegacyVpnRunner( 1248): at com.android.server.NetworkManagementService.setUidRangeRoute(NetworkManagementService.java:1454)
I/LegacyVpnRunner( 1248): at com.android.server.ConnectivityService$VpnCallback.addUidForwarding(ConnectivityService.java:3899)
I/LegacyVpnRunner( 1248): at com.android.server.ConnectivityService$VpnCallback.addUserForwarding(ConnectivityService.java:3887)
I/LegacyVpnRunner( 1248): at com.android.server.connectivity.Vpn.addVpnUserLocked(Vpn.java:489)
I/LegacyVpnRunner( 1248): at com.android.server.connectivity.Vpn.access$2200(Vpn.java:94)
I/LegacyVpnRunner( 1248): at com.android.server.connectivity.Vpn$LegacyVpnRunner.execute(Vpn.java:1162)
I/LegacyVpnRunner( 1248): at com.android.server.connectivity.Vpn$LegacyVpnRunner.run(Vpn.java:975)
I/LegacyVpnRunner( 1248): Caused by: com.android.server.NativeDaemonConnector$NativeDaemonFailureException: command '17 interface fwmark uid add ppp0 0 99999' failed with '400 17 Failed to add uid rule (Success)'
I/LegacyVpnRunner( 1248): at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:391)
I/LegacyVpnRunner( 1248): at com.android.server.NativeDaemonConnector.executeForList(NativeDaemonConnector.java:327)
I/LegacyVpnRunner( 1248): at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:292)
I/LegacyVpnRunner( 1248): at com.android.server.NetworkManagementService.setUidRangeRoute(NetworkManagementService.java:1451)
I/LegacyVpnRunner( 1248): ... 6 more
I/mtpd    ( 1972): Received signal 15
I/mtpd    ( 1972): Sending signal to pppd (pid = 1973)
I/pppd    ( 1973): Terminating on signal 15
I/pppd    ( 1973): Connect time 0.1 minutes.
I/pppd    ( 1973): Sent 0 bytes, received 0 bytes.
E/pppd    ( 1973): MPPE disabled
D/Vpn     ( 1248): setting state=DISCONNECTED, reason=exit
Reply all
Reply to author
Forward
0 new messages