LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-20-2011, 06:38 AM   #1
HuMan-BiEnG
Member
 
Registered: Jun 2010
Posts: 92

Rep: Reputation: 15
Angry fedora 14, openvpn disconnected from the network giving the following error ..!!!!


Hello there,

i have Fedora 14 OS, i installed an openvpn, & i got a problem with it, which i get disconnected automatically after successfully logined, one of the members here (ZeroSignal ) told me to comment any lines in /etc/openvpn/anyname.conf file, which contain the word update-resolf.conf, & my problem get solved, but now after i logined to the openvpn network & after half an hour (or less sometimes) i got disconnected from the network, & i got the following errors in /var/log/messages file :

Code:
Jan 20 13:01:46 ViRuS openvpn[8784]: read UDPv4 [EHOSTUNREACH]: No route to host (code=113)
Jan 20 13:01:46 ViRuS openvpn[8784]: read UDPv4 [EHOSTUNREACH]: No route to host (code=113)
Jan 20 13:01:47 ViRuS openvpn[8784]: read UDPv4 [EHOSTUNREACH]: No route to host (code=113)
Jan 20 13:01:47 ViRuS openvpn[8784]: read UDPv4 [EHOSTUNREACH]: No route to host (code=113)
Jan 20 13:01:47 ViRuS openvpn[8784]: read UDPv4 [EHOSTUNREACH]: No route to host (code=113)
Jan 20 13:01:48 ViRuS openvpn[8784]: read UDPv4 [EHOSTUNREACH]: No route to host (code=113)
Jan 20 13:01:48 ViRuS openvpn[8784]: read UDPv4 [EHOSTUNREACH]: No route to host (code=113)
Jan 20 13:01:48 ViRuS openvpn[8784]: read UDPv4 [EHOSTUNREACH]: No route to host (code=113)
Jan 20 13:01:48 ViRuS openvpn[8784]: read UDPv4 [EHOSTUNREACH|EHOSTUNREACH]: No route to host (code=113)
Jan 20 13:03:02 ViRuS openvpn[8784]: [office.serverXX.tld] Inactivity timeout (--ping-restart), restarting
Jan 20 13:03:02 ViRuS openvpn[8784]: TCP/UDP: Closing socket
Jan 20 13:03:02 ViRuS openvpn[8784]: SIGUSR1[soft,ping-restart] received, process restarting
Jan 20 13:03:02 ViRuS openvpn[8784]: Restart pause, 2 second(s)
Jan 20 13:03:04 ViRuS openvpn[8784]: WARNING: Make sure you understand the semantics of --tls-remote before using it (see the man page).
Jan 20 13:03:04 ViRuS openvpn[8784]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jan 20 13:03:04 ViRuS openvpn[8784]: Re-using SSL/TLS context
Jan 20 13:03:04 ViRuS openvpn[8784]: LZO compression initialized
Jan 20 13:03:04 ViRuS openvpn[8784]: Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Jan 20 13:04:56 ViRuS openvpn[8784]: RESOLVE: Cannot resolve host address: office.serverXX.tld: [TRY_AGAIN] A temporary error occurred on an authoritative name server.
Jan 20 13:04:56 ViRuS openvpn[8784]: Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Jan 20 13:04:56 ViRuS openvpn[8784]: Local Options hash (VER=V4): 'XXXXXXX'
Jan 20 13:04:56 ViRuS openvpn[8784]: Expected Remote Options hash (VER=V4): 'XXXXXX'
here are some information that may help :
- SeLinux disabled
- Iptables off
- i edited /etc/resolf.conf file, with the name servers of the openvpn network & also prevented DHCP for automatically changing the file
- openvpn version OpenVPN 2.1.1 i686-redhat-linux-gnu
- internet connection through wired adsl cable (from my laptop to the router)
- the problem sometimes doesnt happen for about 2 hours, but many time it happens every half an hour (& maybe less than this period)
- i used to connect to the openvpn network through the following command (as root) :
Code:
/etc/init.d/openvpn start
then enter my authentication information
- i didnt add any routes for the openvpn network

my questions are,

is the problem from the remote openvpn server ??

, i doubt because my friend logined to the network from openvpn but under windows & say that the network didnt disconnect with him when it disconnect here with me

is the problem with my internet connection ??

,i also doubt because my other windows PC didnt get disconnected from the internet when i get disconnected from the openvpn network & also disconnected from the internet

is the problem with the way i login to the openvpn network or with the openvpn parameters ??

please anyone could help me in this ,,,

may all accept my best regards,,
 
Old 01-20-2011, 09:30 AM   #2
HuMan-BiEnG
Member
 
Registered: Jun 2010
Posts: 92

Original Poster
Rep: Reputation: 15
could this problem because of timeout value ??

& how could i view/edit openvpn timeout value ??
 
Old 01-20-2011, 06:59 PM   #3
HuMan-BiEnG
Member
 
Registered: Jun 2010
Posts: 92

Original Poster
Rep: Reputation: 15
Angry

anyone could help me ??
 
Old 01-26-2011, 06:03 AM   #4
HuMan-BiEnG
Member
 
Registered: Jun 2010
Posts: 92

Original Poster
Rep: Reputation: 15
hello there,

sorry for bothering all of you,

i discovered that the problem was from my internet connection,

when i got disconnected i notice that the ADSL lamp in my router is restarting which is the main reason for disconnect,

my all accept my best regards,,
 
  


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
Error When converting Routing OpenVPN to bridge mode openvpn danmartinj Linux - Software 0 11-06-2009 10:23 AM
Wireless Networking Error "the network connection has been disconnected" RyanHall85 Linux - Networking 3 04-08-2009 02:55 PM
fedora problem : "The network has been disconnected" ritam_bkp Linux - Newbie 6 10-08-2008 04:54 AM
network disconnected dfw123 Linux - Networking 6 05-03-2007 05:42 PM
why am getting error when ever after giving user name and passwd in Fedora 3? spbalaji Linux - General 3 10-03-2006 03:35 AM


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