[Asus  Eee Pad Transformer Prime] schack:
L2TP VPN problem

Thanks a lot, but it's L2TP VPN is still not working, it still reboots my tablet when trying to establish a connection.

Here is some logcat, first part is from my Transformer Prime up to the point where it reboots, second part is from my Galaxy S2, when performing the same operation and getting a VPN connection with success.

By the way, does the kernel contain PPTP support ? Wasn't able to make that work either, simply wont connect/authenticate.

TRANSFORMER PRIME:

I/keystore( 119): uid: 1000 action: i -> 1 state: 1 -> 1 retry: 4

I/Vpn ( 214): Switched from [Legacy VPN] to [Legacy VPN]

V/LegacyVpnRunner( 214): Waiting

V/LegacyVpnRunner( 214): Executing

D/racoon ( 2357): Waiting for control socket

D/racoon ( 2357): Received 6 arguments

I/racoon ( 2357): ipsec-tools 0.8.0 (http://ipsec-tools.sf.net)

D/dalvikvm( 496): GC_FOR_ALLOC freed 1687K, 20% free 9389K/11655K, paused 60ms

I/dalvikvm-heap( 496): Grow heap (frag case) to 10.778MB for 1638416-byte allocation

D/dalvikvm( 496): GC_CONCURRENT freed 1K, 6% free 10988K/11655K, paused 2ms+5ms

E/Fluency_Log( 496): Cannot save an empty KeyPressModel - call reset() or loadFile() to set up the model first

W/InputModelImpl( 496): Attempted to save before layout configured.

I/racoon ( 2357): 192.168.1.133[500] used for NAT-T

I/racoon ( 2357): 192.168.1.133[500] used as isakmp port (fd=10)

I/racoon ( 2357): 192.168.1.133[4500] used for NAT-T

I/racoon ( 2357): 192.168.1.133[4500] used as isakmp port (fd=11)

D/mtpd ( 2694): Waiting for control socket

D/mtpd ( 2694): Received 20 arguments

I/mtpd ( 2694): Using protocol l2tp

I/mtpd ( 2694): Connecting to 209.237.232.5 port 1701 via wlan0

I/mtpd ( 2694): Connection established (socket = 11)

D/mtpd ( 2694): Sending SCCRQ (local_tunnel = 12783)

I/racoon ( 2357): IPsec-SA request for 209.237.232.5 queued due to no phase1 found.

I/racoon ( 2357): initiate new phase 1 negotiation: 192.168.1.133[500]<=>209.237.232.5[500]

I/racoon ( 2357): begin Identity Protection mode.

I/racoon ( 2357): received broken Microsoft ID: MS NT5 ISAKMPOAKLEY

I/racoon ( 2357): received Vendor ID: RFC 3947

I/racoon ( 2357): received Vendor ID: draft-ietf-ipsec-nat-t-ike-02

I/racoon ( 2357):

I/racoon ( 2357): received Vendor ID: FRAGMENTATION

I/racoon ( 2357): Selected NAT-T version: RFC 3947

I/racoon ( 2357): Hashing 209.237.232.5[500] with algo #2

I/racoon ( 2357): Hashing 192.168.1.133[500] with algo #2

I/racoon ( 2357): Adding remote and local NAT-D payloads.

I/racoon ( 2357): Hashing 192.168.1.133[500] with algo #2

I/racoon ( 2357): NAT-D payload #0 doesn't match

I/racoon ( 2357): Hashing 209.237.232.5[500] with algo #2

I/racoon ( 2357): NAT-D payload #1 verified

I/racoon ( 2357): NAT detected: ME

I/racoon ( 2357): KA list add: 192.168.1.133[4500]->209.237.232.5[4500]

I/racoon ( 2357): ISAKMP-SA established 192.168.1.133[4500]-209.237.232.5[4500] spi:18c22a8530de293d:71ef9ee0d7f79107

I/racoon ( 2357): initiate new phase 2 negotiation: 192.168.1.133[4500]<=>209.237.232.5[4500]

I/racoon ( 2357): NAT detected -> UDP encapsulation (ENC_MODE 2->4).

I/racoon ( 2357): received RESPONDER-LIFETIME: 3600 seconds

W/racoon ( 2357): attribute has been modified.

I/racoon ( 2357): Adjusting my encmode UDP-Transport->Transport

I/racoon ( 2357): Adjusting peer's encmode UDP-Transport(4)->Transport(2)

I/racoon ( 2357): IPsec-SA established: ESP/Transport 192.168.1.133[4500]->209.237.232.5[4500] spi=79916391(0x4c36d67)

I/racoon ( 2357): IPsec-SA established: ESP/Transport 192.168.1.133[4500]->209.237.232.5[4500] spi=573148229(0x22298c45)

D/mtpd ( 2694): Timeout -> Sending SCCRQ

D/mtpd ( 2694): Timeout -> Sending SCCRQ

(Tablet reboots)

Galaxy S2:

I/keystore( 1866): uid: 1000 action: i -> 1 state: 1 -> 1 retry: 4

I/Vpn ( 2032): Switched from [Legacy VPN] to [Legacy VPN]

V/LegacyVpnRunner( 2032): Waiting

V/LegacyVpnRunner( 2032): Executing

D/racoon (15528): Waiting for control socket

D/racoon (15528): Received 6 arguments

I/racoon (15528): ipsec-tools 0.8.0 (http://ipsec-tools.sf.net)

I/racoon (15528): 192.168.69.34[500] used for NAT-T

I/racoon (15528): 192.168.69.34[500] used as isakmp port (fd=10)

I/racoon (15528): 192.168.69.34[4500] used for NAT-T

I/racoon (15528): 192.168.69.34[4500] used as isakmp port (fd=11)

D/mtpd (15709): Waiting for control socket

D/mtpd (15709): Received 20 arguments

I/mtpd (15709): Using protocol l2tp

I/mtpd (15709): Connecting to 209.237.232.5 port 1701 via wlan0

I/mtpd (15709): Connection established (socket = 11)

D/mtpd (15709): Sending SCCRQ (local_tunnel = 16538)

I/racoon (15528): IPsec-SA request for 209.237.232.5 queued due to no phase1 found.

I/racoon (15528): initiate new phase 1 negotiation: 192.168.69.34[500]<=>209.237.232.5[500]

I/racoon (15528): begin Identity Protection mode.

I/racoon (15528): received broken Microsoft ID: MS NT5 ISAKMPOAKLEY

I/racoon (15528): received Vendor ID: RFC 3947

I/racoon (15528): received Vendor ID: draft-ietf-ipsec-nat-t-ike-02

I/racoon (15528):

I/racoon (15528): received Vendor ID: FRAGMENTATION

I/racoon (15528): Selected NAT-T version: RFC 3947

I/racoon (15528): Hashing 209.237.232.5[500] with algo #2

I/racoon (15528): Hashing 192.168.69.34[500] with algo #2

I/racoon (15528): Adding remote and local NAT-D payloads.

I/racoon (15528): Hashing 192.168.69.34[500] with algo #2

I/racoon (15528): NAT-D payload #0 doesn't match

I/racoon (15528): NAT-D payload #1 verified

I/racoon (15528): NAT detected: ME

I/racoon (15528): KA list add: 192.168.69.34[4500]->209.237.232.5[4500]

I/racoon (15528): Hashing 209.237.232.5[500] with algo #2

I/racoon (15528): ISAKMP-SA established 192.168.69.34[4500]-209.237.232.5[4500] spi:73c74a45546c50b0:f94d761bb94a45fa

I/racoon (15528): initiate new phase 2 negotiation: 192.168.69.34[4500]<=>209.237.232.5[4500]

I/racoon (15528): NAT detected -> UDP encapsulation (ENC_MODE 2->4).

I/racoon (15528): received RESPONDER-LIFETIME: 3600 seconds

W/racoon (15528): attribute has been modified.

I/racoon (15528): Adjusting my encmode UDP-Transport->Transport

I/racoon (15528): Adjusting peer's encmode UDP-Transport(4)->Transport(2)

I/racoon (15528): IPsec-SA established: ESP/Transport 192.168.69.34[4500]->209.237.232.5[4500] spi=220226107(0xd20623b)

I/racoon (15528): IPsec-SA established: ESP/Transport 192.168.69.34[4500]->209.237.232.5[4500] spi=2282874140(0x8811e51c)

D/mtpd (15709): Timeout -> Sending SCCRQ

D/mtpd (15709): Received SCCRP (remote_tunnel = 57861) -> Sending SCCCN

D/mtpd (15709): Received ACK -> Sending ICRQ (local_session = 47795)

I/mtpd (15709): Tunnel established

D/mtpd (15709): Received ACK

D/mtpd (15709): Received ICRP (remote_session = 256) -> Sending ICCN

D/mtpd (15709): Received ACK

I/mtpd (15709): Session established

I/mtpd (15709): Creating PPPoX socket

I/mtpd (15709): Starting pppd (pppox = 12)

I/mtpd (15709): Pppd started (pid = 15710)

I/pppd (15710): Using PPPoX (socket = 12)

D/pppd (15710): using channel 2

I/pppd (15710): Using interface ppp0

I/pppd (15710): Connect: ppp0 <-->

I/pppd (15710): local IP address 209.237.232.94

I/pppd (15710): remote IP address 209.237.232.7

I/pppd (15710): primary DNS address 216.131.94.5

I/pppd (15710): secondary DNS address 216.131.95.20

D/VpnJni ( 2032): Route added on ppp0: 0.0.0.0/0

(Ready to start Netflix)

/Henrik Schack