https://github.com/slashtechno/pistaticip
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: 4 months ago
JSON representation
Python script that sets a static/reserved IP for Raspberry PI
- Host: GitHub
- URL: https://github.com/slashtechno/pistaticip
- Owner: slashtechno
- License: gpl-3.0
- Created: 2021-03-07T23:56:14.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-07-29T19:37:06.000Z (over 3 years ago)
- Last Synced: 2025-08-23T21:54:21.488Z (5 months ago)
- Topics: automated, ip, python-script, raspberry-pi, script, static-ip, static-ip-address
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`