Skip to content

heggland/staticip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

set static ip

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages