LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2008, 09:39 AM   #1
Posilo
LQ Newbie
 
Registered: May 2008
Posts: 7

Rep: Reputation: 0
OpenVPN says "Starting virtual private network daemon. [OK]" but then nothing happens


I installed OpenVPN and eventually everything seemed to be in place. I'm running on Xubuntu 8.04. I start OpenVPN ("sudo /etc/init.d/openvpn start") and get "Starting virtual private network daemon. [OK]" and - yes! diddit! - now it seems that it should be up and running...

However, nothing seems to happen. I am not prompted for username and password for the remote host, and thus have no access to the facilities I should have access to (through Firefox). If I then type the appropriate "stop" command ("sudo /etc/init.d/openvpn stop") I get OK'd again, as if the connection had been established all the time.

I tried the search already but found no answer. Would be grateful for a few words of advice. Thanks in advance!

Last edited by Posilo; 05-24-2008 at 09:41 AM.
 
Old 05-24-2008, 01:00 PM   #2
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 32
did you create any ssl keys, modify openvpn config files on server/client ?

http://openvpn.net/index.php/documen.../examples.html
 
Old 05-24-2008, 03:21 PM   #3
Posilo
LQ Newbie
 
Registered: May 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Here are the steps I took, more or less, following instructions. First:
Code:
sudo apt-get update && sudo apt-get install openvpn build-essential
Then I dowloaded, extracted and installed OpenVPN. After
Code:
./configure
there was an error message: "configure: error: OpenSSL Crypto headers not found.". So I tried
Code:
./configure --disable-lzo
as it was suggested in the instructions, but this did not solve the problem. I looked for solutions on a couple of forums and one of them suggested installing libssl0.9.8 and libssl.dev. I opened Synaptic and discovered I had libsll0.9.8 already installed but not libssl.dev. So I added that and tried again, and the installation
Code:
make
sudo make install
seemed to work.
Then I saved "openvpn.conf" and "liteca.crt" and:
Code:
cd ~ sudo mv openvpn.conf liteca.crt /etc/openvpn
Done. Then:
Code:
sudo /etc/init.d/openvpn start
This is when I got the message "Starting virtual private network daemon. [OK]". I expected to be prompted for my username and password for the remote host but nothing of the sort happened.

Could it be that LZO should have been installed?

Or could it be that there was something wrong with the openvpn.conf file?

I did not create any ssl keys (I think...).
 
Old 05-24-2008, 05:42 PM   #4
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 32
your system will not necessarily ask for any passwords like in a web browser when entering say a forum.

you've managed to start the openvpn service on your system. openvpn creates an encrypted link between 2 computers, which _can_ be secured with ssl certificates to make sure the other machine is really who it claims to be. this is _not_ bound to any users it's a "thing" between 2 computers. if the link is up and running, there should be a new network interface visible (most likely called tun0, tap0 if you use bridged setup). depending on the parameters (ip addresses ...) you configured in openvpn.conf (maybe called server.conf / client.conf) you should be able to ping the other machine. sample config files can be found on the openvpn.org website or in /usr/share/doc/packages/openvpn (if that exists on debian too).

Last edited by rtspitz; 05-24-2008 at 05:55 PM.
 
Old 05-25-2008, 05:41 AM   #5
Posilo
LQ Newbie
 
Registered: May 2008
Posts: 7

Original Poster
Rep: Reputation: 0
[EDIT: The problem had a very simple solution: I finally realized that for some reason I had saved the openvpn.conf and certificate file in a wrong directory! How stupid of me! Thanks rtspitz for your suggestions and sorry for taking your time.

This is what I wrote earlier, before the editing:]

But the thing is that I am trying to connect my home computer to a remote network, namely my university's network including library resources (e-texts, dictionaries, etc., "secured to subscribers" and freely accessible only via the subscribing institutions). I must emphasize that I'm a total newbie to Linux and I'm even a bit confused [hehe!] about whether the server/client questions are actually my concern in this case at all. As far as I know, after I have started the OpenVPN service, I should be prompted for my username and password in the university network (this is at least what the instructions at the university's IT dept.'s web page say).

I previously had the connection via OpenVPN working perfectly with WinXP, but at the moment I have only Xubuntu 8.04 on my laptop (and would also like to keep it that way: I really do not miss MS, in spite of this hassle with the VPN connection and a few other issues).

Thanks for your patience! Tomorrow (on Monday, that is) I will harass the IT dept. of my university with these questions... [EDIT: Well, did not have to do that after all... Sorry for the bother, again! Next time I will consider even longer before I submit a stupid question like this one...]

Last edited by Posilo; 05-25-2008 at 07:30 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing password for "nn-something daemon" for wireless network arashi256 Linux - Newbie 2 01-09-2008 02:53 AM
OpenVPN - Can't ping private network chabam Linux - Networking 2 11-27-2007 07:35 AM
Boot freezes at "Starting HAL daemon" after Kernel recompile DiBosco Linux - Software 2 04-14-2007 05:53 AM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
ES Hangs at "Starting Red Hat Network" miami311 Linux - General 0 07-03-2004 12:09 PM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration