The Following User Says Thank You to ticktock666 For This Useful Post: | ||
![]() |
2011-12-19
, 22:50
|
Posts: 638 |
Thanked: 1,692 times |
Joined on Aug 2009
|
#2
|
The Following User Says Thank You to xes For This Useful Post: | ||
![]() |
2011-12-20
, 21:50
|
Posts: 38 |
Thanked: 14 times |
Joined on Feb 2010
|
#3
|
![]() |
2011-12-21
, 00:52
|
Posts: 638 |
Thanked: 1,692 times |
Joined on Aug 2009
|
#4
|
The Following User Says Thank You to xes For This Useful Post: | ||
![]() |
2011-12-21
, 05:56
|
|
Posts: 92 |
Thanked: 74 times |
Joined on Nov 2008
@ Indonesia
|
#5
|
when running the follwing command in terminal :
openvpn --connect client.ovpn
I get the following error :
options error : unrecognized option or missing parameter(s) in [CMD-LINE]:1: connect (2.1.1)
openvpn --config client.ovpn
![]() |
2011-12-21
, 08:44
|
Posts: 638 |
Thanked: 1,692 times |
Joined on Aug 2009
|
#6
|
The Following User Says Thank You to xes For This Useful Post: | ||
![]() |
2011-12-21
, 09:16
|
Posts: 38 |
Thanked: 14 times |
Joined on Feb 2010
|
#7
|
![]() |
2011-12-22
, 04:02
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#8
|
which openvpn
![]() |
2011-12-22
, 08:53
|
Posts: 638 |
Thanked: 1,692 times |
Joined on Aug 2009
|
#9
|
The Following User Says Thank You to xes For This Useful Post: | ||
![]() |
2011-12-23
, 14:41
|
Posts: 38 |
Thanked: 14 times |
Joined on Feb 2010
|
#10
|
Nokia-N900:/home/user/MyDocs/unseen/vpn# openvpn --config client.ovpn Fri Dec 23 16:22:55 2011 OpenVPN 2.2.0 arm-linux-gnueabi [SSL] [LZO2] [EPOLL] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Aug 20 2011 Fri Dec 23 16:22:55 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Fri Dec 23 16:22:55 2011 WARNING: file 'keys/ticktock666.key' is group or others accessible Fri Dec 23 16:22:55 2011 WARNING: file 'keys/tls-auth.key' is group or others accessible Fri Dec 23 16:22:55 2011 Control Channel Authentication: using 'keys/tls-auth.key' as a OpenVPN static key file Fri Dec 23 16:22:55 2011 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication Fri Dec 23 16:22:55 2011 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication Fri Dec 23 16:22:55 2011 LZO compression initialized Fri Dec 23 16:22:55 2011 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ] Fri Dec 23 16:22:55 2011 Socket Buffers: R=[65536->131072] S=[16384->131072] Fri Dec 23 16:22:55 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ] Fri Dec 23 16:22:55 2011 Local Options hash (VER=V4): '504e774e' Fri Dec 23 16:22:55 2011 Expected Remote Options hash (VER=V4): '14168603' Fri Dec 23 16:22:55 2011 UDPv4 link local: [undef] Fri Dec 23 16:22:55 2011 UDPv4 link remote: [AF_INET][serverip]:1194 Fri Dec 23 16:23:55 2011 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Fri Dec 23 16:23:55 2011 TLS Error: TLS handshake failed Fri Dec 23 16:23:55 2011 TCP/UDP: Closing socket Fri Dec 23 16:23:55 2011 SIGUSR1[soft,tls-error] received, process restarting Fri Dec 23 16:23:55 2011 Restart pause, 2 second(s) Fri Dec 23 16:23:57 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Fri Dec 23 16:23:57 2011 Re-using SSL/TLS context Fri Dec 23 16:23:57 2011 LZO compression initialized Fri Dec 23 16:23:57 2011 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ] Fri Dec 23 16:23:57 2011 Socket Buffers: R=[65536->131072] S=[16384->131072] Fri Dec 23 16:23:57 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ] Fri Dec 23 16:23:57 2011 Local Options hash (VER=V4): '504e774e' Fri Dec 23 16:23:57 2011 Expected Remote Options hash (VER=V4): '14168603' Fri Dec 23 16:23:57 2011 UDPv4 link local: [undef] Fri Dec 23 16:23:57 2011 UDPv4 link remote: [AF_INET][serverip]:1194 Fri Dec 23 16:24:57 2011 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Fri Dec 23 16:24:57 2011 TLS Error: TLS handshake failed Fri Dec 23 16:24:57 2011 TCP/UDP: Closing socket Fri Dec 23 16:24:57 2011 SIGUSR1[soft,tls-error] received, process restarting Fri Dec 23 16:24:57 2011 Restart pause, 2 second(s) Fri Dec 23 16:24:59 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Fri Dec 23 16:24:59 2011 Re-using SSL/TLS context Fri Dec 23 16:24:59 2011 LZO compression initialized Fri Dec 23 16:24:59 2011 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ] Fri Dec 23 16:24:59 2011 Socket Buffers: R=[65536->131072] S=[16384->131072] Fri Dec 23 16:24:59 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ] Fri Dec 23 16:24:59 2011 Local Options hash (VER=V4): '504e774e' Fri Dec 23 16:24:59 2011 Expected Remote Options hash (VER=V4): '14168603' Fri Dec 23 16:24:59 2011 UDPv4 link local: [undef] Fri Dec 23 16:24:59 2011 UDPv4 link remote: [AF_INET][serverip]:1194 ^CFri Dec 23 16:25:01 2011 event_wait : Interrupted system call (code=4) Fri Dec 23 16:25:01 2011 TCP/UDP: Closing socket Fri Dec 23 16:25:01 2011 SIGINT[hard,] received, process exiting
I have Openvpn running on a remote server, successfully connected to it using openvpn-gui on my windows machine, I've installed openvpn/applet on the n900, downloaded the files I needed from the server (linux server, downloaded files through gftp directly to the n900), now when I import the client.ovpn using the applet it detects all the files (key,cert...etc) but if I try to connect I get a "starting connection" message and nothing happens (applet shows no active connections), if I try the test button sometimes it shows a white log window that stays empty and sometimes even the window doesn't show up .
I've tried copy/paste the contents of the files into new leafpad files and saved them on the n900 (to avoid unicode problems), removed all lines with # from the client.ovpn file, still no luck
when running the follwing command in terminal :
openvpn --connect client.ovpn
I get the following error :
options error : unrecognized option or missing parameter(s) in [CMD-LINE]:1: connect (2.1.1)
Any help would be much appreciated, atm I use ssh/tsocks combo to surf the net, but it's a bit too much everytime I need to connect, since I can't use direct internet in my country atm due to fear of bigBrother monitoring everything (living in S.Y.R.I.A) and openvpn would really simplify things for me
p.s : some nokia repos are blocked here, so the first time i tried to install openvpn through app manager it wasn't able to find "bash" and refused to install, I fired FAPman with tsocks through SSH, removed openvpn, and reinstalled it with bash 3, not sure if this is of any relation, also in the /etc/openvpn directory i found a maemo-update-resolvconf file that starts with #!/bin/bash , could this be of any relation to my problem ?
Thanks in advance