Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: GPete on July 06, 2006, 10:32:42 PM
-
I have so little experience with Linux that I probably don't qualify as a newbie. That doesn't keep me from using the SME servers, but it is keeping me from using OpenVPN on my SME Servers.
I followed all the directions in Hancees OpenVPN installation packet.
wget said it downloaded.
rpm -Uvh said it did its job.
the openvpn folder says that it has the files I was supposed to add, plus an easy-rsa folder.
I copied the Server and client.config from the directions into notepad, tailored them to my system, saved and copied to the server folder and from there to the openvpn directory.
I did the openvpn.up script the same way and did chmod 700 after I got it in the folder.
service openvpn start shows starting service and almost immediately [failed] in red letters.
I don't know how or where to look for the program.
I don't know if the notepad process is ok in linux.
I don't know how to check and see if the script is executable.
Did I bite off more than I can get help with or are there some knowlegeable people who might see obvious errors and point out solutions?
(I made OpenVPN work on Win2003 and WinXP.)
-
I copied the Server and client.config from the directions into notepad, tailored them to my system, saved and copied to the server folder and from there to the openvpn directory.
Just a guess...
Maybe you should have used an editor which supports UNIX line endings, Windows notepad will give you DOS line endings which I suspect UNIX doesn't interpret correctly.
You can edit the files directly on your server with vim, pico or if you need something a bit more user friendly the editor in mc
Dave
-
I copied the Server and client.config from the directions into notepad, tailored them to my system, saved and copied to the server folder and from there to the openvpn directory.
Just a guess...
Maybe you should have used an editor which supports UNIX line endings, Windows notepad will give you DOS line endings which I suspect UNIX doesn't interpret correctly.
You can edit the files directly on your server with vim, pico or if you need something a bit more user friendly the editor in mc
Dave
noteteba pro, at www.notetab.com can save stuff the unix way and runs on windows. It has a freeware version.
To find out why the service fails you have to look at /var/log/messages
You could copy that file to windows by enabling ssh in the server-manager and then using winscp: http://winscp.net/eng/index.php
Hans-Cees
-
I figured there was a basic reason.
(Not even a newbie.)
>>>>I'll get notetab<<<<
Thanks for all the patience.
-
From /var/log/messages:
Jul 6 13:54:53 smetest openvpn: failed
Jul 6 13:55:32 smetest openvpn[8737]: Options error: Unrecognized option or missing parameter(s) in client.conf:42: status-version2 (2.0.2)
Jul 6 13:55:32 smetest openvpn[8737]: Use --help for more information.
first stop: Line 42.
Thanks again
-
Hey Pete,
My advice to you. Get a Linux geek friend to show you a few tricks. It would probably only take a few minutes and if they teach you enough you might become dangerous.
:lol:
Good luck.
-
(status-version 2) versus (status-version2)
One works (It's up now) One doesn't.
Thanks to all.
You are the closest I know to the linux geeks I was supposed to get to
help
Trust me I am dangerous.