Skip to content

BT's daily disconnects, revisited

As I noted last year, BT, the ISP I use here in Ireland, disconnects broadband sessions on a daily basis, assigning a new IP address; this is really aggravating to anyone who uses a VPN, such as most telecommuters. Reportedly, this is done to work around deficiencies in their billing system.

A comment from Jeremy on that post suggested something interesting, though:

Just had a very helpful tech support guy on from BT. [... he] told me to restart the modem sometime that will make it convenient for the 24 hour IP change - i.e. restart it at 6am, and then it'll change IP every day at 6am.

I've tested this, and it works. Much more convenient! Now the renumbering and VPN breakage can take place when I want it to -- at the start of the workday, instead of some random point chosen by BT's billing system. Quite an improvement.

To make this useful, here's a script, "reboot-zyxel", which will reboot your Zyxel P-660RU router remotely over the LAN. (It requires perl and curl.)

adsl broadband bt esat hacking internet modems p-660ru routers scripts software zyxel

13 Comments

  1. Steve Loughran
    March 2, 2007

    ...I have one of those little timer-plugs, normally used to turn lights on at night, set up to restart my DSL router every night. No need for the rest of the infrastructure, and very reliable -except when trying to SSH home from the US, when there's no way to disable it....

  2. March 2, 2007

    Am I missing something, or is this exactly the half-solution Erik proposed in the first comment to your old post ... ?

  3. March 2, 2007

    Aidan: yes, actually, I guess it is. ;)

    At the time, though, I didn't realise that if I performed the disconnect myself, it'd inhibit their own disconnect timer. it wasn't until Jeremy asked that we figured that would be the case for BT's setup too...

  4. March 3, 2007

    Actually this is a perfect scenario for OpenVPN. Connections/sessions open over that should survive the disconnect and IP change. Cisco and other crappy solutions will not survive.

  5. March 4, 2007

    Toby -- interesting. I had OpenVPN pegged as just another IPSec implementation, and IPSec is allergic to NAT, IP changes and what-not... it seems I was wrong there.

  6. March 4, 2007

    I should have mentioned, I use it over UDP, which should help.

  7. Wonga
    March 4, 2007

    "Cisco and other crappy solutions will not survive" - I dont think Cisco are so bad.

  8. March 5, 2007

    Re: Cisco - The WebVPN is really just a toy; and - based on my experience with the VPN client - if you can get it to run at all - it will not survive outages of internet service. This is of particular importance if you're trying to do remote sysadmin (ssh). Connections over OpenVPN will.

  9. March 7, 2007

    Hey, nice post. I was beginning to get head wrecked with all this IP changing that was going on!

    Thanks for the heads up!

  10. Ciaran
    February 3, 2008

    Hi there

    I am using OpenVPM over a BT residential connection and I seem to be having a lot of problems with the VPN working for a few minutes and then dying. Usually like this:

    "Sun Feb 03 18:05:20 2008 NOTE: This connection is unable to accomodate a UDP packet size of 1573. Consider using --fragment or --mssfix options as a workaround."

    I do have the following setting in my config file:
    mssfix 1450

    I have a Zyxel wireless router and I was wondering is there anything I should have specifically set in there to make sure my OpenVPN works as well as possible?

    Thanks!

  11. June 27, 2008

    hi Paul -- I'd love to sign your petition, but I've already left BT anyway, partly because of this bug. so it's too late for me ;)

  12. June 27, 2008

    ah well! I am considering leaving BT also, but i have to find a similar deal aswe get with them!! thanks for the comment anyway, and letting me spam your blog with the link