Quantcast
Viewing all articles
Browse latest Browse all 4367

Beginners • Static IP issues, instructions on the net dont work

I have had a pi 3b for years now and I easily set the static ip and used it for years,
today I upgraded to the latest version on a new sd card, and I cant seem to set the ip to static

After hours of searching on the net and following almost all instructions I still havent figured out what is wrong.

I see that setting an ip is a topic neglected by the developers of the Pi,
Setting up the static ip should be as simple as setting the password for wifi.

(Im doing all this over SSH I havent connected via a gui this time I dont remember if it was that way I did it years ago)
I hope that rpi developers will fix this and make setting up static ip something easy.

the instructions found on many sites that are like this do not work, the pi just gets a dynamic ip from the default gateway router even if these lines are added to /etc/dhcpcd.conf :

interface eth0
static ip_address=192.168.0.4/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1 (?)

And the offical documentation barely mentions it and give no meaningful instruction on how to do it.

Perhaps it should be added to raspi-config.

Statistics: Posted by odarcan — Fri Jan 19, 2024 3:08 pm — Replies 1 — Views 16



Viewing all articles
Browse latest Browse all 4367

Trending Articles