Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/slashtechno/pistaticip

(My first code repo) Python script that sets a static/reserved IP for Raspberry PI
https://github.com/slashtechno/pistaticip

automated ip python-script raspberry-pi script static-ip static-ip-address

Last synced: 13 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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`