Welcome to the most active Linux Forum on the web.
Go Back > Blogs > des_a
User Name



Setting Static IP on Raspberry Pi

Posted 08-08-2021 at 06:43 PM by des_a

I fought and fought with the Raspberry Pi, trying to set a static IP. I really wanted it to have a static reservation on the DHCP server, like everything else. But, there is [a bug???] in the software that won't get any DHCP address, if you set a static reservation for it.

So the answer to set a static IP? It turned out to be simpler than I thought, but it took me awhile to figure out. Assuming it is a IPv4 address, here is what you do.

Modify rc.local to add a line...
Posted in Uncategorized
Views 275 Comments 1 des_a is offline


All times are GMT -5. The time now is 05:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration