LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-15-2011, 02:16 PM   #1
HuMan-BiEnG
Member
 
Registered: Jun 2010
Posts: 92

Rep: Reputation: 15
Angry fedora 14, openvpn disconnect automatically after login, please help !!!!!


Hello there,

i'm using openvpn under linux OS which is Fedora Core 14,

in the folder "/etc/openvpn" i put 5 files which belongs to the network server that i should connect to, files are :

two files with the extension ".crt"
two files with the extension ".key"
one file with the extension ".conf"

now, when i issue the following command (as root) :
Code:
/etc/init.d/openvpn start
it asks for my username & password to the network server, & after i entered the required authentication informations, i successfully logined, but i get disconnected automatically after two or three seconds ,,

some information that can help :

- i connect to the network without any disconnection or problems under windows
- i use openvpn version "openvpn-2.1.1-2.fc13.i686"
- there was a bug in my OS "Fedora core 14" which is that i cannt activate or deactivate any ethernet cards, which solved by disabling NetworkManager in all run levels
- i disabled iptables
- i disabled selinux
- i got this error in /var/log/messages file when i disconnect from the openvpn network "

Jan 15 21:45:15 ViRuS openvpn[4143]: script failed: could not execute external program
Jan 15 21:45:15 ViRuS openvpn[4143]: Exiting
Jan 15 21:45:15 ViRuS avahi-daemon[1494]: Withdrawing workstation service for tun0.

- i couldnt find the file called "/etc/openvpn/update-resolv-conf"

what is the problem or the solution that will let me didnt automatically disconnected from openvpn network after i successfully login ???

any help will be appretiated,,

my best regards,,,
 
Old 01-15-2011, 07:55 PM   #2
HuMan-BiEnG
Member
 
Registered: Jun 2010
Posts: 92

Original Poster
Rep: Reputation: 15
is there any help !!!!
 
Old 01-15-2011, 07:58 PM   #3
zer0signal
Member
 
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Rep: Reputation: 29
Did this work on the previous setup? Did you change anything in your /etc/openvpn/whatever.conf? I would look in there for something along the lines of 'update-resolv-conf'. IF you see something in your conf file that has 'update-resolv-conf' comment it out with # and try restarting the service. 'service openvpn restart' I dont have anything for update-resolv-conf in my conf file..

Last edited by zer0signal; 01-15-2011 at 08:02 PM.
 
1 members found this post helpful.
Old 01-16-2011, 06:13 AM   #4
HuMan-BiEnG
Member
 
Registered: Jun 2010
Posts: 92

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by zer0signal View Post
Did this work on the previous setup? Did you change anything in your /etc/openvpn/whatever.conf? I would look in there for something along the lines of 'update-resolv-conf'. IF you see something in your conf file that has 'update-resolv-conf' comment it out with # and try restarting the service. 'service openvpn restart' I dont have anything for update-resolv-conf in my conf file..
Hello Zer0signal,,

yes man i comment out two lines which contain the word "update-conf" & tried again & didnt disconnected atoumatically again,,

thanks again Zer0signal,,

please man accept my best regards,,
 
Old 01-16-2011, 02:48 PM   #5
zer0signal
Member
 
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Rep: Reputation: 29
I am glad it worked for you! Enjoy!
 
  


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
VNC disconnect immediately after correct login... tripleseven Linux - Server 4 01-03-2012 03:33 AM
[SOLVED] Samba client shares disconnect over openvpn connection claude56 Linux - Networking 1 06-24-2010 11:14 AM
Cron job to automatically to runlevel 1 or disconnect al logged on users foramgoram Ubuntu 4 06-12-2008 01:07 PM
OpenVPN disconnect allelopath Linux - Networking 2 02-07-2005 10:46 PM
dialing up in Fedora core 1 - how to connect/disconnect? carjumble Linux - Newbie 7 12-22-2003 06:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:28 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