#1  
Old 25th June 2010, 20:27
stefanos stefanos is offline
Junior Member
 
Join Date: Nov 2008
Posts: 29
Thanks: 6
Thanked 1 Time in 1 Post
Default Dropped connections help

Hi,

I am using a free ISP to connect to the internet from home. My problem is every 30min the system cuts off and I need to login again.

I have written a script that does the auto login and it works fine but as the connection is dropped so is my SSH connection and any downloads I have.

My question:
As I have a server running at work is it possible to set up some sort of tunnel that will be maintained/re-established so an SSH session will not be lost.

i.e. PC -> TUN ->FREE ISP -> TUN -> SERVER -> INTERNET

I will be honest I do not know where to start so I am asking for some pointers / help.

Kind Regards
Stephen
Reply With Quote
Sponsored Links
  #2  
Old 26th June 2010, 13:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Take a look at screen: http://www.howtoforge.com/linux_screen
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
stefanos (26th June 2010)
  #3  
Old 26th June 2010, 18:43
stefanos stefanos is offline
Junior Member
 
Join Date: Nov 2008
Posts: 29
Thanks: 6
Thanked 1 Time in 1 Post
Default

Hi,

I forgot about screen, I used it quite a few years ago for running some stuff over night it's very usfull.

But that is not really what I would like to solve..

Say I would like to download a large file locally (one that takes longer than 30min). Because my ISP dropps the connection after 30 min My problem is that the download also breaks.

What I was hopeing for is a solution along the lines of a virtual connection to the server that if dropped, re-connects but sessions are maintained. So downloads and ssh sessions continue.

Does VPN maintain a session if the connection is dropped and re-connects?

EDIT ADD:
I have identified what is creating one of my problem, it's my ISP's load balancer and thus my ip keeps changing at random intervals. Is there a way to configure my server to ignore the ip changes?

Stephen

Last edited by stefanos; 27th June 2010 at 19:36.
Reply With Quote
  #4  
Old 27th June 2010, 21:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

I'm not sure, but I think wget can resume downloads. Take a look at
Code:
man wget
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPCONFIG 3 - Centos 5.3 - To many connections Amorphous Installation/Configuration 12 25th August 2009 21:33
Managing multiple connections & Dyndns accounts Camomille Server Operation 2 29th April 2009 23:15
Strange IRC Connections Niekoesj Server Operation 3 3rd July 2008 14:29
how to make Apache serve 1 000,000 simultaneously connections Angelito Server Operation 2 13th April 2008 20:18
smtp connections to nameservers IP kyriakos Server Operation 10 16th February 2007 18:14


All times are GMT +2. The time now is 05:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.