ja takze nie moge sie uporac z tym openvpn... ;/
zainstalowalem openvpn installer i settings.
sytuacja na na andku wyglada tak:
# netcfg
lo UP 127.0.0.1 255.0.0.0 0x00000049
usb0 DOWN 0.0.0.0 0.0.0.0 0x00001002
tunl0 DOWN 0.0.0.0 0.0.0.0 0x00000080
gre0 DOWN 0.0.0.0 0.0.0.0 0x00000080
sit0 DOWN 0.0.0.0 0.0.0.0 0x00000080
svnet0 UP 0.0.0.0 0.0.0.0 0x000000d1
eth0 UP 192.168.1.111 255.255.255.0 0x00001043
# lsmod
tun 11983 0 - Live 0xbf237000
dhd 276737 0 - Live 0xbf1e1000
bthid 4605 0 - Live 0xbf1da000
storage 1453 0 - Live 0xbf1d4000 (P)
modemctl 7479 0 - Live 0xbf1cd000
svnet 28042 0 - Live 0xbf1c0000
onedram 9722 2 modemctl,svnet, Live 0xbf1b8000
param 11415 0 - Live 0xbf1b0000 (P)
j4fs 74608 1 - Live 0xbf197000 (P)
Si4709_driver 19603 0 - Live 0xbf18c000
vibrator 7049 2 - Live 0xbf185000
s3c_bc 3146 0 - Live 0xbf17f000
s3c_lcd 5585 0 - Live 0xbf178000
pvrsrvkm 227320 38 s3c_bc,s3c_lcd, Live 0xbf135000
rfs_fat 290457 5 - Live 0xbf0e2000 (P)
rfs_glue 89921 1 rfs_fat, Live 0xbf0c4000 (P)
fsr_stl 300275 6 j4fs, Live 0xbf071000 (P)
fsr 406166 2 storage,fsr_stl, Live 0xbf000000 (P)
# cat /sdcard/openvpn/openvpn.log
Tue Mar 22 09:07:38 2011 SIGTERM[hard,init_instance] received, process exiting
Tue Mar 22 09:07:41 2011 OpenVPN 2.1.1 i686-pc-linux-gnu [sSL] [LZO2] [EPOLL] built on Feb 2 2010
Tue Mar 22 09:07:41 2011 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue Mar 22 09:07:41 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Mar 22 09:07:41 2011 WARNING: file '/sdcard/openvpn/client1.key' is group or others accessible
Tue Mar 22 09:07:41 2011 LZO compression initialized
Tue Mar 22 09:07:41 2011 Attempting to establish TCP connection with 217.x.x.x:1194 [nonblock]
Tue Mar 22 09:07:41 2011 OpenVPN 2.1.1 i686-pc-linux-gnu [sSL] [LZO2] [EPOLL] built on Feb 2 2010
Tue Mar 22 09:07:42 2011 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue Mar 22 09:07:42 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Mar 22 09:07:42 2011 WARNING: file '/sdcard/openvpn/client1.key' is group or others accessible
Tue Mar 22 09:07:42 2011 LZO compression initialized
Tue Mar 22 09:07:42 2011 Attempting to establish TCP connection with 217.x.x.x:1194 [nonblock]
Tue Mar 22 09:07:42 2011 TCP: connect to 217.x.x.x:1194 failed, will try again in 5 seconds: Connection refused
Tue Mar 22 09:07:43 2011 TCP: connect to 217.x.x.x:1194 failed, will try again in 5 seconds: Connection refused
na logach serwera VPN nic nie drgnie nawet. ;/
----
troche pogrzebalem i teraz jest tak, ze zeby sie polaczyl vpn to musze zrobic 'netcfg tun0 up'...
bo inaczej sie nie laczy, ale jak juz sie polaczy 😛 to mam tak:
Tue Mar 22 11:26:38 2011 PUSH: Received control message: 'PUSH_REPLY,route 10.0.0.1 255.255.255.0,route 10.0.2.1,topology net30,ping 10,ping-restart 120,ifconfig 10.0.2.6 10.0.2.5'
Tue Mar 22 11:26:38 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:1: route (2.1.1)
Tue Mar 22 11:26:38 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:2: route (2.1.1)
Tue Mar 22 11:26:38 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:6: ifconfig (2.1.1)
Tue Mar 22 11:26:38 2011 OPTIONS IMPORT: timers and/or timeouts modified
Tue Mar 22 11:26:38 2011 OPTIONS IMPORT: --ifconfig/up options modified
Tue Mar 22 11:26:38 2011 Note: Cannot ioctl TUNSETIFF tun0: Device or resource busy (errno=16)
Tue Mar 22 11:26:38 2011 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Tue Mar 22 11:26:38 2011 MANAGEMENT: Client disconnected
Tue Mar 22 11:26:38 2011 Cannot open TUN/TAP dev /dev/tun0: No such file or directory (errno=2)
Tue Mar 22 11:26:38 2011 Exiting
Tue Mar 22 11:26:41 2011 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Mar 22 11:26:47 2011 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Mar 22 11:26:52 2011 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Mar 22 11:26:58 2011 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Mar 22 11:27:03 2011 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)