LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-07-2005, 01:09 PM   #1
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: SuSE 9.2 Professional, OpenSuSE 10.1 64 bit, Open SuSE 10.2, Debian Etch
Posts: 535

Rep: Reputation: 30
OpenVPN disconnect


I am using OpenVPN to connect to a remote server,.
I do so with this command:
/usr/sbin/openvpn --remote 123.45.678.90 --dev tunX

To disconnect, I did a ctrl-z
Apparently this doesn't really disconnect, because when i reconnect, i get this msg:

Mon Feb 7 12:02:42 2005 0[0]: OpenVPN 1.6_rc4 i686-pc-linux-gnu [SSL] [LZO] [PTHREAD] built on Oct 2 2004
Mon Feb 7 12:02:42 2005 1[0]: ******* WARNING *******: all encryption and authentication features disabled -- all data will be tunnelled ascleartext
Mon Feb 7 12:02:42 2005 2[0]: Socket bind failed on local address [undef]:5000: Address already in use
Mon Feb 7 12:02:42 2005 3[0]: Exiting

How do I really disconnect?
 
Old 02-07-2005, 09:24 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
ctrl-z will suspend the job, not abort it. try ctrl-z and then type bg - it will send the job to background as if you typed
command &
to bring it back to foreground, ctrl-z and fg, and ctrl-c will abort the job in foreground.
 
Old 02-07-2005, 10:46 PM   #3
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: SuSE 9.2 Professional, OpenSuSE 10.1 64 bit, Open SuSE 10.2, Debian Etch
Posts: 535

Original Poster
Rep: Reputation: 30
ok thanks
 
  


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
Problem with OpenVPN eantoranz Linux - Networking 8 10-10-2005 04:49 PM
OpenVPN Voyager_MP Linux - Networking 0 07-09-2004 04:32 AM
openvpn errors adamantium Linux - Networking 3 04-30-2004 04:10 PM
OpenVPN dunmarie Linux - Networking 1 03-31-2004 09:28 AM
OpenVPN dunmarie Linux - Software 1 10-13-2003 12:10 PM


All times are GMT -5. The time now is 11:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration