• 1 Post
  • 338 Comments
Joined 3 years ago
cake
Cake day: June 15th, 2023

help-circle
  • tburkhol@lemmy.worldtoSelfhosted@lemmy.worldIPv6
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    Not familiar with opnSense, but on your PC, you can check the address it assigns - if it’s /128, it’s a single address.

    My ISP does not assign a prefix for delegation unless you specifically ask for it. I had to add “request_prefix 1” to my dhclient.conf file to get a /64 I assume opnSense has a friendly setting somewhere for that. For me, the key phrase was ‘prefix delegation.’ After I got that, I could search around and get my solution.



  • Beyond “whomever holds the highest office at the moment,” there’s “whomever gets the biggest media coverage.” That might be Gavin Newsom, who’s not very popular, even in his home state. Bernie Sanders and AOC always get good coverage, but that’s partly because they’re so far outside the mainstream.

    US isn’t really set up for singular leaders at the national level, which is part of what makes Trump so unusual.








  • If you only need it to be accessible inside your home, then you just need to run your own DNS. Have your dhcp point at your DNS and your DNS declare itself the master for your domain.

    To get full functionality, you’ll probably want to have your registrar point to the public IP you get from your ISP as the domain’s authoritative name server.You should be able to script it to update the registrar when your ISP changes your IP, but that usually happens infrequently enough to do manually. Obviously can’t do that if you’re behind CGNAT.

    To get Lets Encrypt certificates, you can do the DNS challenge. If your ISP gives you a (even inconsistent) public IP, you can do fancy ‘views’ with your selfhosted DNS, where it responds with private IPs inside your network and your ISP-given IP outside your network. I have certbot set up to expose my DNS & web server just before it starts its renewal process, then close the firewall after. Once you have the certificate, you can move it to where ever it will actually be used.



  • To me, the nonstandard port is mostly nice for reducing log spam from scripts. The risk is that using a nonstandard port lulls one into a false sense of security and overlook good sshd practices. Good sshd practices will prevent the script-kiddies just as well as the non-standard port, while a non-standard port will not challenge a targeted attack. And, if you interact with multiple servers, it can be inconvenient to remember a different port for each one.







  • I have a n ESP32 with a thermocouple stuffed down my (gas) oven chimney, so I can tell what temperature it actually is (about 40°F/20°C cooler than the dial).

    I have one plugged into an addressable LED matrix, which has yet to get mounted, but will eventually be a closet/dressing light. There’s a few places where I’d like a ‘normal’ warm white light, with the option to switch to a blinding daylight for chores, and maybe a low-light, colorful animated nightlight.

    I have a Pi-0w reading temp/humidity/CO2 in a grow tent that’s a good candidate for ESP32-ification. I have an air quality sensor plugged directly into a Home Assistant server that could go on ESP32 if I wanted it in a different location. Humidity in the bathroom, with a controller for the bathroom fan is another good candidate.

    If I can come up with a good way to put them on battery, with a 6-12 month lifetime, then temperature in the attic, and on the input/output sides of the HVAC would be useful.



  • I was really intimidated by ESP32. Liked RPi, back in the 3b days, because I could comfortably sit in the python interpreter, play with sensor interfaces, and get immediate feedback of what & where I screwed up. Familiarity led me to RPi4 for libreelec and 0w for more sensors.

    Recently took the plunge on some ESP32s, though, and, just…wow. I mean, I’m going through esphome, but every sensor and control I’ve checked is just a couple of lines of YAML away. And low enough power that I’m starting to think about batteries. ESP32 is still pretty intimidating for noobs, but the ecosystem that’s grown up around it is fantastic once you get over that hump.