Raspberry Pi settings
From TARPN Wiki
(This page is a work in progress and much more detail will be added.)
Static IP
To make it easier to access TARPN chat on your node, you'll most likely want to configure a static IP so you can bookmark the address without having it change every time your node reboots.
This is very easy to do on Raspberry Pi OS:
- Connect to your node's linux console (either locally, using VNC, or via ssh)
- Edit your network configuration by running: sudo nano /etc/dhcpcd.conf
- Hit ctrl-v to scroll to the next page of contents
- Look for the section "Example static IP configuration", and move your text cursor there.
- Paste in this code, and change "140" to whatever you want your static IP to end in:
interface wlan0
static ip_address=192.168.1.140/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1 - Then do ctrl-x to save.
Whenever you restart your node, it will always use the static IP you specified (in the example, "192.168.1.140"). It won't take effect until you next restart.