Dropped connections help

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

  1. stefanos

    stefanos Member


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

    falko Super Moderator ISPConfig Developer

  3. stefanos

    stefanos Member


    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?

    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?

    Last edited: Jun 27, 2010
  4. falko

    falko Super Moderator ISPConfig Developer

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

Share This Page