slashtechno / PiStaticIP

(My first code repo) Python script that sets a static/reserved IP for Raspberry PI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PiStaticIP

Python script that sets a static/reserved IP for Raspberry Pi
This was my first code repository on Github

To install:

wget -qO- https://raw.githubusercontent.com/slashtechno/PiStaticIP/main/install | bash

To run

staticIP

One time run

wget -qO- https://raw.githubusercontent.com/slashtechno/PiStaticIP/main/staticIP | python3

To Update (I recommend doing this frequently)

wget -qO- https://raw.githubusercontent.com/slashtechno/PiStaticIP/main/update | bash

To Uninstall

wget -qO- https://raw.githubusercontent.com/slashtechno/PiStaticIP/main/uninstall | bash

How this works

  1. Asks user if they are using WiFi or Ethernet

  2. Executes a command that shows current IP info.

  3. Asks user for what the command output was

  4. Adds static IP info to /etc/dhcpcd.conf

About

(My first code repo) Python script that sets a static/reserved IP for Raspberry PI

License:GNU General Public License v3.0


Languages

Language:Python 100.0%