Raspberry Pi settings

From TARPN Wiki
Revision as of 01:43, 5 May 2023 by KV4P (talk | contribs) (Created page with "(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 via VNC or ssh) # Edit your network configuration by running: sudo nano /etc/dhcpcd.conf # Hit '''ctrl-v''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

(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:

  1. Connect to your node's linux console (either via VNC or ssh)
  2. Edit your network configuration by running: sudo nano /etc/dhcpcd.conf
  3. Hit ctrl-v to scroll to the next page of contents
  4. Look for the section "Example static IP configuration", and move your text cursor there.
  5. 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


  6. 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.