Python script that sets a static/reserved IP for Raspberry Pi
This was my first code repository on Github
wget -qO- https://raw.githubusercontent.com/slashtechno/PiStaticIP/main/install | bash
staticIP
wget -qO- https://raw.githubusercontent.com/slashtechno/PiStaticIP/main/staticIP | python3
wget -qO- https://raw.githubusercontent.com/slashtechno/PiStaticIP/main/update | bash
wget -qO- https://raw.githubusercontent.com/slashtechno/PiStaticIP/main/uninstall | bash
-
Asks user if they are using WiFi or Ethernet
-
Executes a command that shows current IP info.
-
Asks user for what the command output was
-
Adds static IP info to
/etc/dhcpcd.conf