LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-05-2011, 03:37 AM   #1
sergani
LQ Newbie
 
Registered: Jan 2010
Distribution: Fedora, CentOS, OpenSuse, Oracle Enterprise Linux, MacOSX
Posts: 27

Rep: Reputation: 0
F14 NetworkManager to autoconnect OpenVPN at startup


Dear all,

I have a Fedora 14 machine, and I have an OpenVPN CentOS 5.5 server installed and running without issues.
I've setup the Fedora machine to connect as a client to the server, and all goes pretty well using NetworkManager.

What I'm not able to do is getting NetworkManager to autoconnect to the server upon user login. I have the "Auto Connect" marked, but nothing happens at boot/login.

Is it possible to auto connect?

Last edited by sergani; 07-06-2011 at 06:20 AM.
 
Old 07-06-2011, 12:28 AM   #2
zer0signal
Member
 
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Rep: Reputation: 29
Couldnt you just use the openvpn service?

put your key and conf file in /etc/openvpn/

and then type

chkconfig openvpn on "which it will have the openvpn service start at boot, which should automagically connect to your vpn server"

to turn the service on for just that time

service openvpn start "or stop, or status"


to check if its connected and running you could do a....

tail -f /var/log/messages

which would show you the error log while trying to get it to connect...
 
1 members found this post helpful.
Old 07-06-2011, 06:04 AM   #3
sergani
LQ Newbie
 
Registered: Jan 2010
Distribution: Fedora, CentOS, OpenSuse, Oracle Enterprise Linux, MacOSX
Posts: 27

Original Poster
Rep: Reputation: 0
Thanks 0signal... I'll put that theory to test and let you know how it goes.
Don't know how I missed any of that!
 
Old 07-06-2011, 06:20 AM   #4
sergani
LQ Newbie
 
Registered: Jan 2010
Distribution: Fedora, CentOS, OpenSuse, Oracle Enterprise Linux, MacOSX
Posts: 27

Original Poster
Rep: Reputation: 0
Problem solved, everything working fine.
Thanks a lot for the heads up.
 
Old 07-06-2011, 12:39 PM   #5
zer0signal
Member
 
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Rep: Reputation: 29
Cool!

Cheers!
 
  


Reply



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
Networkmanager + OpenVPN : timeout problem (Fedora 10) jonaskellens Linux - Networking 5 11-02-2011 09:30 AM
[SOLVED] NetworkManager OpenVpn issue mrmnemo Linux - Networking 3 02-27-2011 12:04 PM
After preupgrade f13 to f14 no f14 repos are found ceg4048 Fedora 7 12-22-2010 08:23 PM
Openvpn: where do I put the bridge startup scripts? MikeyCarter Linux - Software 2 09-13-2010 07:08 AM
Configure NetworkManager OpenVPN - Import Configuration Fails morbo77 Linux - Networking 3 09-18-2009 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:36 PM.

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
Open Source Consulting | Domain Registration