Dropped connections help

Discussion in 'Installation/Configuration' started by stefanos, Jun 25, 2010.

  1. stefanos

    stefanos Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. stefanos

    stefanos Member

    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: Jun 27, 2010
  4. falko

    falko Super Moderator Howtoforge Staff

    I'm not sure, but I think wget can resume downloads. Take a look at
    Code:
    man wget
     

Share This Page