[Click Android Development] kittcn:
D/VpnManager( 287): succeeded to connect to VPN service
D/com.android.settings.vpn.AuthenticationActor( 287): ~~~~~~ connect() succeede
d!
D/VpnSettings( 287): received connectivity: Vpn: connected? CONNECTING err=0
I/SProxy_mtpd( 428): Stop VPN daemon: mtpd
D/SProxy_mtpd( 428): mtpd is stopped after 0 msec
D/SProxy_mtpd( 428): stopping mtpd, success? true
I/SProxy_racoon( 428): Stop VPN daemon: racoon
D/SProxy_racoon( 428): racoon is stopped after 0 msec
D/SProxy_racoon( 428): stopping racoon, success? true
D/VpnService( 428): Local IP: 10.116.228.46, if: rmnet0
D/VpnService( 428): VPN UP: down
I/SProxy_mtpd( 428): Start VPN daemon: mtpd
D/SProxy_mtpd( 428): mtpd is running after 0 msec
D/SProxy_mtpd( 428): service not yet listen()ing; try again
D/mtpd ( 475): Waiting for control socket
D/mtpd ( 475): Received 20 arguments
I/mtpd ( 475): Using protocol pptp
I/mtpd ( 475): Connecting to 208.43.150.120 port 1723
I/SProxy_mtpd( 428): got data from control socket: 20
I/mtpd ( 475): Connection established (socket = 11)
D/mtpd ( 475): Sending SCCRQ
D/mtpd ( 475): Received SCCRP -> Sending OCRQ (local = 14291)
I/mtpd ( 475): Tunnel established
D/mtpd ( 475): Received OCRQ (remote = 32976)
I/mtpd ( 475): Session established
I/mtpd ( 475): Creating PPPoX socket
I/mtpd ( 475): Starting pppd (pppox = 12)
I/mtpd ( 475): Pppd started (pid = 476)
I/pppd ( 476): Using PPPoX (socket = 12)
E/pppd ( 476): This system lacks kernel support for PPP. This could be beca
use
E/pppd ( 476): the PPP kernel module could not be loaded, or because PPP was
not
E/pppd ( 476): included in the kernel configuration. If PPP was included as
a
E/pppd ( 476): module, try `/sbin/modprobe -v ppp'. If that fails, check th
at
E/pppd ( 476): ppp.o exists in /lib/modules/`uname -r`/net.
E/pppd ( 476): See README.linux file in the ppp distribution for more detail
s.
I/mtpd ( 475): Received signal 17
I/mtpd ( 475): Pppd is terminated (status = 4)
I/mtpd ( 475): Mtpd is terminated (status = 36)
I/SProxy_mtpd( 428): got data from control socket: 36
E/VpnService( 428): onError()
E/VpnService( 428): com.android.server.vpn.VpnConnectingError: Connecting error
: 36
E/VpnService( 428): at com.android.server.vpn.VpnService.onError(VpnService.
java:183)
E/VpnService( 428): at com.android.server.vpn.VpnService.waitUntilConnectedO
rTimedout(VpnService.java:210)
E/VpnService( 428): at com.android.server.vpn.VpnService.onConnect(VpnServic
e.java:148)
E/VpnService( 428): at com.android.server.vpn.VpnServiceBinder$2.run(VpnServ
iceBinder.java:118)
E/VpnService( 428): at java.lang.Thread.run(Thread.java:1019)
I/VpnService( 428): disconnecting VPN...
D/VpnSettings( 287): received connectivity: Vpn: connected? DISCONNECTING err
=0
I/PROFILE ( 144): Group: Gmail containing : com.android.server.vpn : false
I/PROFILE ( 144): Group: Phone containing : com.android.server.vpn : false
I/PROFILE ( 144): Group: Calendar containing : com.android.server.vpn : false
I/PROFILE ( 144): Group: Email containing : com.android.server.vpn : false
I/PROFILE ( 144): Group: SMS containing : com.android.server.vpn : false
I/SProxy_mtpd( 428): Stop VPN daemon: mtpd
D/SProxy_mtpd( 428): mtpd is stopped after 0 msec
D/SProxy_mtpd( 428): stopping mtpd, success? true
I/SProxy_racoon( 428): Stop VPN daemon: racoon
D/SProxy_racoon( 428): racoon is stopped after 0 msec
D/SProxy_racoon( 428): stopping racoon, success? true
D/VpnService( 428): onFinalCleanUp()
I/VpnService( 428): restore original suffices --> null
D/dalvikvm( 204): GC_CONCURRENT freed 401K, 52% free 2915K/6023K, external 194K
/513K, paused 7ms+20ms
D/VpnSettings( 287): received connectivity: Vpn: connected? IDLE err=36
D/dalvikvm( 428): GC_EXPLICIT freed 55K, 54% free 2524K/5379K, external 0K/0K,
paused 73ms
I/power ( 144): *** set_screen_state 0
D/SurfaceFlinger( 144): About to give-up screen, flinger = 0x11e890
D/lights ( 144): set_speaker_light_locked colorRGB=FFFFFF00, onMS=0, offMS=0
D/AK8973 ( 105): Thread is going to finish!
D/AK8973 ( 105): Compass CLOSE
D/dalvikvm( 144): GC_CONCURRENT freed 389K, 52% free 4520K/9351K, external 1029
K/1052K, paused 9ms+13ms

i don't know how to use logcat,is this code what you want?