In my ever-ongoing struggle to disentangle myself and my family from our corporate overlords I have gleefully dived into self-hosting and have a little intranet oasis available; media, passwords, backups, files, notes, contacts, calendars – basically everything I needed the Big G suite for at one point, I’m hosting locally, and loving it. But Unfortunately… my ISP can be shitty. Normally its’ fine and no complaints, but every now and then the network itself goes down for maintenance for a few hours, half a day, a day. When those outages happen even though I have a battery backup/generator, I’m basically stuck treading water, unable to even listen to podcasts. I’m wondering what the folks here’ have as a contingency plan for these kinds of outages. Part of me is considering pricing out some kind of VPS for barebone, password manager, podcast player, notes etc for outages; but I haven’t dipped my toe into that world yet. Just wondering what folks are doing/recommending/

  • @r036
    link
    English
    19 months ago

    Can I get more details on this captive portal? How does it diagnose network issues or what software are you using for the captive portal?

    • @[email protected]
      link
      fedilink
      English
      2
      edit-2
      9 months ago

      I use very simple software for this. My firewall can use route monitoring and failover and use policy based routing. I just send all traffic to another machine with the diagnosis part. It does ping through the firewall and fetch some info from the firewall. The page itself is not pretty but say what is wrong. Enough for parents to read what error. I also send DNS traffic to a special DNS server that responds with the same static ip address - enough for the browser to continue with a HTTP GET that the firewall will send forward to my landing page. It is sad that I don’t have any more problems since I changed ISP.

      Had a scenario when the page said gateway reachable but nothing more. ISP issue. DHCP lease slowly ran out. There were a fiber cut between our town and the next. Not much I could do about it. Just configured the IP static and could reach some friends through IRC in the same city so we could talk about it.

      The webpage itself was written in php that read icmp logs and showed the relevants logs of up and down. Very simple.