Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.61 KB

File metadata and controls

53 lines (34 loc) · 1.61 KB

Set static IP for raspberry pi

Raspberry pi os bookworm [currently not supported with install script]

raspberry pi os bullseye and before

Simple program that writes

interface wlan0
static ip_address= 
static routers= 
static domain_name_servers= 

interface eth0
static ip_address= 
static routers= 
static domain_name_servers= 

to dhcpcd.conf file.

Prerequisites

  • dhcpcd

Install

  1. Run the install script with this command
  • ./install

If dhcpcd error occurs.. it might not be running. Use these commands to start and enable dhcpcd service.

  • sudo service dhcpcd start
  • sudo systemctl enable dhcpcd

Check if service is running.

  • sudo service dhcpcd status

Uninstall

  • Manual uninstall. The uninstall script open up the dhcpcd file with sudo privileges.

Support

If you found this program useful and would like to show your appreciation, you can Buy Me A Cup Of 		Coffee

Thank you for using this program! Feel free to reach out if you have any questions or need further assistance.