Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7995

Raspberry Pi OS • Re: Headless Trixie with static IP set before first boot - here is how

$
0
0
  1. '"You should not use static IP." (Then why does this option even exist?)': because there are cases where you need to e.g. for your gateway and DNS servers. And for historic reasons.
  2. ""Use DHCP." (I never use DHCP.)" Really? Then you're making things much harder for yourself than they need to be.
  3. ""Log in via hostname." (Not working on Windows.)": Probably because you "never use DHCP". It works just fine for those of us who do or, who add the hostname/IP address pair to our DNS server or the hosts file on each machine. Or use "hostname.local" (mDNS).
  4. "d) You want to be able to move the Pi between different locations where networks are working in the same subnet but you are not allowed to change router settings)" : Umm that's what DHCP is for. And you'd need to be 101% certain that your select IP address is free on both networks.
  5. "here is the solution". Nope it's a solution (and "here" should be capalised).
  6. Where's "[Note #1]"?
  7. What about the other reserved private subnets: 10.0.0.0/8 and 172.16.0.0/12? Not every one is using 192.168.0.0/16.
  8. The gateway isn't always on .1
  9. The netmask should match what your network is using. For example, don't use /24 if your network is using /16.
  10. Unless you've gone out of your way ,for most domestic networks the name server and gateway are the same.
  11. No mention that your chosen static IP address needs to be in the same subnet as your router but outside the DHCP range. Otherwise you will see a confilct.
  12. "And that's it! :-)". Only if you're never going to have more than one machine with a static IP address. If you use the same filos with a different Pi you have two (or more) with the same static IP address. Which, obviously, won't work.
  13. "or you can use 8.8.8.8 or some other DNS server and you can specify more than one DNS server as a list, for example: [8.8.8.8, 8.8.4.4]" you are aware that google's DNS servers cannot resolve hostnames on your internal network? Nor can any other public DNS server.
  14. What if I want a static IP address on my WiFi interface?

And don't get me started on your gripes with imager...

Writing good documentation is hard.

Statistics: Posted by thagrol — Tue Feb 17, 2026 12:02 am



Viewing all articles
Browse latest Browse all 7995

Trending Articles