Raspberry Pi settings: Difference between revisions

From TARPN Wiki
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''..."
 
No edit summary
Line 6: Line 6:


This is very easy to do on Raspberry Pi OS:
This is very easy to do on Raspberry Pi OS:
# Connect to your node's linux console (either via VNC or ssh)
# 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
# Edit your network configuration by running: sudo nano /etc/dhcpcd.conf
# Hit '''ctrl-v''' to scroll to the next page of contents
# Hit '''ctrl-v''' to scroll to the next page of contents

Revision as of 01:44, 5 May 2023

(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 locally, using VNC, or via 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.