Agreed. It's been a while, but I moved over to managing the local network first with the capabilities of the router I was using, and then on to a dedicated Pi B+ running bind9, which is amazingly still going strong. Plus DHCP reservations on whichever host made sense, depending upon the current networkng components. It will be a pain, Rich, but I think in the long run it will be worth taking a step back and re-working the infrastructure. These technologies were built to address the specific problems you're running up against. Moving to them will pay dividends, I promise.
Kevin On Tue, Nov 17, 2026 at 9:13 PM <[email protected]> wrote: > This is the way. > > Privacy randomization is a thing for IPv6 but they don't do it by mucking > around with the MAC addresses, fortunately. > > Because privacy randomization was never a part of the IPv4 standard, > mucking around with the MAC addresses is the only way to do it. > > IMHO privacy randomization is utter baloney. > > Note that if you run your own private DNS server on your LAN at home you > can configure your DHCP clients to register their hostnames into the DNS > server. This is of course more valuable for large networks but it's kind > of nice to have logs on your stuff with the actual private hostname instead > of just random IP addresses > > Ted > > -----Original Message----- > From: PLUG <[email protected]> On Behalf Of Russell Senior > Sent: Tuesday, November 17, 2026 2:31 PM > To: Portland Linux/Unix Group <[email protected]> > Subject: Re: [PLUG] ssh shuts down on laptop > > You should configure your gateway router's DHCP server to always give your > laptop the same IP address with DHCP, sometimes called lease reservation. > That way, the laptop works when you take it somewhere else, but always > gets the same IP address when you are home. The lease reservations are a > happy middle ground where the devices are dynamically configured and adapt > to their surroundings, but also have a reliably consistent address at home > so other devices can find them. Clever DHCP servers will do DNS resolution > of hostnames as well. Your /etc/hosts entries override DNS and so if they > get misaligned you can expect problems too. Better to rely on DNS than > brittle /etc/hosts entries. > > One caveat: Some modern setups do a mac address randomization for privacy > reasons. That is for each SSID, it will pick and record a randomized mac > address to use, so your device can't be so easily tracked across town. This > can sometimes mess with the lease reservations, since they are based on the > mac address. This is mostly a thing on phones, but might also appear on > laptops, not sure. > > On Tue, Nov 17, 2026, 12:26 Rich Shepard <[email protected]> wrote: > > > On Tue, 17 Nov 2026, Rich Shepard wrote: > > > > > Well, /etc/rc.d/rc.inet1.conf still has eth0 set to the laptop's IP > > address > > > and both /etc/ssh/sshd_config and ~/.ssh/ssh_config have the correct > > > port number. > > > > And, I stopped and restarted sshd before rebooting. It didn't fix the > > problem. > > > > Rich > > > > -- In Vino Veritas
