maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Openvpn Applet (https://talk.maemo.org/showthread.php?t=20921)

mikkov 2008-08-30 17:45

Re: Openvpn Applet
 
Without seeing your config or log I guess that openvpn first starts but then crashes when using "Start" button.

Openvpn crashes if you have set verb 4 or higher in configuration file. Test button sets verb to 3 but start button uses what ever is set in configuration. Maybe I should address this problem in the next version.

If verb values isn't your problem maybe you could post you configuration file somewhere with private data anonymised (ip addresses etc)

alaaji 2008-09-01 16:05

Re: Openvpn Applet
 
How do I enter the username and password. It doesn't work for me without these two things.

mikkov 2008-09-01 16:16

Re: Openvpn Applet
 
Quote:

Originally Posted by mikkov (Post 215035)
openvpn-applet asks passwors only if condig contains askpass, and username and password only if config contains auth-user-pass

Your config file has to contain one of these parameters. If you are using something else for the authentication, let me know what.

alaaji 2008-09-01 16:23

Re: Openvpn Applet
 
My config file uses the auth-user-pass. When I run the test, I get a message stating: "Enter Auth Username:Mon Sep 1 16:21:00 2008 ERROR: could not read Auth username from stdin" and then it exits.

mikkov 2008-09-01 16:32

Re: Openvpn Applet
 
do you have version 0.3.3? It should work.

Is there anything else on the line with auth-user-pass?

alaaji 2008-09-01 17:22

Re: Openvpn Applet
 
Yes, I have version 0.3.3-1. The only other thing that it says is "OpenVPN 2.0.9 arm-unknown-linux-gnueabi [SSL] [LZO] [EPOLL] built on Jul 31 2008"

Thanks for helping me out here. I've been wracking my brain on how to get this to work even before you came out with this applet. I got it to work just fin on my Ubuntu laptop but this is more of a challenge.

mikkov 2008-09-01 17:45

Re: Openvpn Applet
 
Does it work if you start openvpn from console? start it with "/usr/sbin/openvpn /etc/openvpn/your_config"

mikkov 2008-09-02 10:28

Re: Openvpn Applet
 
Version 0.3.4 should fix problems with usernames and passwords.

alaaji 2008-09-04 04:37

Re: Openvpn Applet
 
Quote:

Originally Posted by mikkov (Post 220027)
Version 0.3.4 should fix problems with usernames and passwords.

I tried the new version but I am still getting the same message from before. :(
When I get the message that it can't read from "stdin", what is that? Can I edit this file? Where is it located? Is there a problem with the LZO option?

mikkov 2008-09-04 08:01

Re: Openvpn Applet
 
Configuration files are in /etc/openvpn. You have imported the file there, so you should have the "source" file. You can edit the source file and import it again. Or you can edit file directly from command line as root.

I can't reproduce you problem, so I would need to see your configuration file in order to fix the problem. You can edit ip-address and other sensitive information out from the file.


All times are GMT. The time now is 23:43.

vBulletin® Version 3.8.8