At least that shit is somewhat documented.
Uhm, Windows? No.
At least that shit is somewhat documented.
If you are so sure about the way Linux is fully usable and understandable: Please tell me the proper way to set a static IP via terminal on Raspberry Pi OS and/or Debian bookworm.
Because last I checked (about 4 weeks ago) it was basically impossible.
At least that shit is somewhat documented.
Uhm, Windows? No.
Somewhat. That means partially.
At least there arent 500 different ways to set a static IP.
Don’t get me wrong. I like Linux but I can’t get warm witg it as a desktop OS besides SteamDeck.
But I like it very much as a server OS.
So you’re saying you don’t like the choice in Linux? On a given distro, there’s usually one right way and maybe 2 other ways. Learn the right way for your setup and you’re good.
If you’re using Network Manager, do it the Network Manager way. If you’re using Debian as a server, do it the Debian way (`/etc/network/interfaces). If you’re using SUSE, do it the SUSE way (YaST).
If you don’t want to deal with it, use DHCP (usually default) and set the static lease on your router using the MAC address. That’s better anyway because you can change all of your static leases in one spot if you ever need to.
I tried doing it the debian way and (I believe) followed the instructions of one of the debian manuals.
Problem: Most assume (like you) that the DHCP server is always on and able to give out adresses. But sometimes life is in the way (and in my case: offline for maintenance) and it doesnt work with the DHCP option.
I do like the diversity. You learn a few patterns and you can do them all. In the end basically the same but more flexible.
Something like this? devtutorial.io/how-to-configure-static-ip-address…
If I remember correctly that didnt work despite following the instructions.
Either I did it wrong or something changed. Oh well. I will keep that for future reference and maybe it’ll work then.
femtech@midwest.social 1 day ago
cyberciti.biz/…/add-configure-set-up-static-ip-ad…
Appoxo@lemmy.dbzer0.com 23 hours ago
I believe I tried the exact raspberry forum entry but it didnt catch on even with reboots and whatever I tried.
femtech@midwest.social 22 hours ago
If you can I would set static IPs from the router though. That’s what I do as another device can still take the IP and cause issues.
sugar_in_your_tea@sh.itjust.works 22 hours ago
At least set it outside your DHCP range.
I have my DHCP set to use from
.100
and up, and my static addressee are in the.1-99
range.I still set it through my router so I have a place to look up which one is which (they’re piling up), but they’re all in that range.
Appoxo@lemmy.dbzer0.com 18 hours ago
Too bad when the DHCP server is down with the proxmox host ;)
sugar_in_your_tea@sh.itjust.works 22 hours ago
How you set it can vary depending on what you’re running. Linux is all about choice, and choice means multiple ways to do a thing. Places to look:
raspi-config
- catchall CLI tool on Raspbian, not sure if it covers both of the following, but it’s a good option to start withBut you could also have installed something different. If you post your OS and version and what you’re running on it, I can give better advice.
That said, normal networking rules apply:
Appoxo@lemmy.dbzer0.com 14 hours ago
I will remember it for next time I need to set a static IP in Linux. Comment is saved and hopefully I can reference it.
I appreciate the effort you took to help me and anyone that is still looking for help :)