[Droid 2 General] thiagomespb:
Sorry,

I am unable to use the openvpn milestone in February with android 2.2

I installed openvpn and openvpn sentings install, busybox.

The options are

Load kernel module tun

lsnmod 'system / lib / modules / tun

Path to configurations

/ sdcard / openvpn

Path to binary openvpn

/ system / xbin / openpvn

client.conf

client

fast-io

dev tun

proto tcp

nobind

remote XXX.XXX.XXX.XXX: 1194

route-method exe

route-delay 2

resolv-retry infinite

persist-key

persist-tun

auth-user-pass

ca / sdcard / openvpn / turquesa.cer

comp-lzo

verb 3

Status / sdcard / openvpn / openvpn_status.log

log-append / sdcard / openvpn / openvpn.log

The error is this

Sun Feb 13 14:38:18 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables

Sun Feb 13 14:38:18 2011 NOTE: --fast-io is disabled since we are not using UDP

Sun Feb 13 14:38:18 2011 LZO compression initialized

Sun Feb 13 14:38:18 2011 Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]

Sun Feb 13 14:38:18 2011 MANAGEMENT: >STATE:1297618698,RESOLVE,,,

Sun Feb 13 14:38:18 2011 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]

Sun Feb 13 14:38:18 2011 Local Options hash (VER=V4): '69109d17'

Sun Feb 13 14:38:18 2011 Expected Remote Options hash (VER=V4): 'c0103fa8'

Sun Feb 13 14:38:18 2011 Attempting to establish TCP connection with 189.71.249.81:443 [nonblock]

Sun Feb 13 14:38:18 2011 MANAGEMENT: >STATE:1297618698,TCP_CONNECT,,,

Sun Feb 13 14:38:18 2011 MANAGEMENT: CMD 'bytecount 0'

Sun Feb 13 14:38:19 2011 MANAGEMENT: CMD 'bytecount 0'

Sun Feb 13 14:38:20 2011 TCP connection established with XXX.XXX.XXX.XXX:1194

Sun Feb 13 14:38:20 2011 Socket Buffers: R=[131072->131072] S=[131072->131072]

Sun Feb 13 14:38:20 2011 TCPv4_CLIENT link local: [undef]

Sun Feb 13 14:38:20 2011 TCPv4_CLIENT link remote: XXX.XXX.XXX.XXX:1194

Sun Feb 13 14:38:20 2011 MANAGEMENT: >STATE:1297618700,WAIT,,,

Sun Feb 13 14:38:20 2011 MANAGEMENT: CMD 'bytecount 0'

Sun Feb 13 14:38:20 2011 MANAGEMENT: >STATE:1297618700,AUTH,,,

Sun Feb 13 14:38:20 2011 TLS: Initial packet from XXX.XXX.XXX.XXX:1194, sid=9e42ad84 c9a371e6

Sun Feb 13 14:38:20 2011 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this

Sun Feb 13 14:38:20 2011 MANAGEMENT: CMD 'bytecount 0'

Sun Feb 13 14:38:21 2011 VERIFY OK: depth=1, /C=IT/O=efw/CN=efw_CA

Sun Feb 13 14:38:21 2011 VERIFY OK: depth=0, /C=IT/O=efw/CN=127.0.0.1

Sun Feb 13 14:38:23 2011 WARNING: 'dev-type' is used inconsistently, local='dev-type tun', remote='dev-type tap'

Sun Feb 13 14:38:23 2011 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1544', remote='link-mtu 1576'

Sun Feb 13 14:38:23 2011 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1500', remote='tun-mtu 1532'

Sun Feb 13 14:38:23 2011 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key

Sun Feb 13 14:38:23 2011 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication

Sun Feb 13 14:38:23 2011 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key

Sun Feb 13 14:38:23 2011 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication

Sun Feb 13 14:38:23 2011 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA

Sun Feb 13 14:38:23 2011 [127.0.0.1] Peer Connection Initiated with 189.71.249.81:443

Sun Feb 13 14:38:24 2011 MANAGEMENT: >STATE:1297618704,GET_CONFIG,,,

Sun Feb 13 14:38:24 2011 MANAGEMENT: CMD 'bytecount 0'

Sun Feb 13 14:38:26 2011 SENT CONTROL [127.0.0.1]: 'PUSH_REQUEST' (status=1)

Sun Feb 13 14:38:26 2011 PUSH: Received control message: 'PUSH_REPLY,route-gateway 192.168.0.0,route 192.168.0.0 255.255.255.0,route-gateway 192.168.0.0,ping 8,ping-restart 30,ifconfig 192.168.0.240 255.255.255.0'

Sun Feb 13 14:38:26 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:2: route (2.1.1)

Sun Feb 13 14:38:26 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:6: ifconfig (2.1.1)

Sun Feb 13 14:38:26 2011 OPTIONS IMPORT: timers and/or timeouts modified

Sun Feb 13 14:38:26 2011 OPTIONS IMPORT: route-related options modified

Sun Feb 13 14:38:26 2011 Note: Cannot open TUN/TAP dev /dev/tun: No such file or directory (errno=2)

Sun Feb 13 14:38:26 2011 Note: Attempting fallback to kernel 2.2 TUN/TAP interface

Sun Feb 13 14:38:26 2011 MANAGEMENT: Client disconnected

Sun Feb 13 14:38:26 2011 Cannot allocate TUN/TAP dev dynamically

Sun Feb 13 14:38:26 2011 Exiting

Thiago