guysoft / FullPageOS

A raspberrypi distro to display a full page browser on boot
GNU General Public License v3.0
3.86k stars 237 forks source link

Setting Static IP #576

Open Murugesh-Hobbyist opened 3 months ago

Murugesh-Hobbyist commented 3 months ago

What were you doing?

I'm connecting ethernet with PI-4 1GB varient. when i try to connect after few days, the ip was changed. Planning to make a static ip.

What did you expect to happen?

Make a static ip and whenever i try to connect, i should have same ip forever.

What happened instead?

I don't know how to setup. while i tried googling, they modifying sudo nano /etc/dhcpcd.conf which is not existing in this os.

Version of FullPageOS?

its recent relase in imager -> 2024-03-31 me@twinbot:~ $ cat /etc/fullpageos_version 0.14.0

guysoft commented 3 months ago

So there are two ways I know of the first is - if you can set a static IP in your router to give to the pi, that tends to be the best way, because it means the router manages the IP, and also provides your PI with the correct gateway and DNS settings.

The other is, that the new bookworm version is using NetworkManager, and not dhcpcd (its an issue, rpi changed it without notification and it created a mess: https://github.com/guysoft/CustomPiOS/issues/219, I am still working on it with help from people from MainsailOS). I have no exact instructions yet because its in the works. Will share when I do.