01 - RouteTrack Pi — Initial Setup & Networking

Date: December 21st, 2025 
Category: Raspberry Pi / Linux / Networking
Backlink: RouteTrack Pi Overview


Project Overview

This page documents the initial setup and networking foundation for a Raspberry Pi–based GPS logging and mapping project designed for in-vehicle use.

The long-term goal of this project is to build a reliable, headless system capable of:

This entry focuses on hardware bring-up, OS selection, headless access, and resilient Wi-Fi configuration.


Hardware Used (Initial Phase)


Cooling & Power Verification

The cooling fan was wired directly to the Raspberry Pi’s 5 V rail:

Results:

An always-on fan was chosen for simplicity and reliability.


Operating System Selection

Installed OS:

Reasoning:

The OS was written using Raspberry Pi Imager with Advanced Options enabled:


Headless SSH Access

After first boot:

This confirmed:


Wi-Fi Management (Scanning, Adding, Deleting)

This project uses NetworkManager on Raspberry Pi OS, so Wi-Fi is managed using the nmcli command-line tool.

Scan for available Wi-Fi networks

sudo nmcli connection show
sudo nmcli dev wifi rescan
sudo nmcli dev wifi list

2025-12-21 13_39_55-Greenshot.png

Check current network status

sudo nmcli device status
sudo nmcli -f GENERAL.CONNECTION,GENERAL.STATE dev show wlan0

Add / connect to a Wi-Fi network

(This also saves the network for future use.)

sudo nmcli dev wifi connect "SSID" password "PASSWORD"

If the SSID is hidden:

sudo nmcli dev wifi connect "SSID" password "PASSWORD" hidden yes

List saved Wi-Fi connections

sudo nmcli -f NAME,TYPE,DEVICE connection show

Switch networks manually (useful for testing)

sudo nmcli connection up "HomeWiFi"
# or
sudo nmcli connection up "PhoneHotspot"

Rename a saved connection

(Helps keep connection names readable.)

sudo nmcli connection modify "OldName" connection.id "NewName"

Delete a saved Wi-Fi connection

Delete by connection NAME (from nmcli connection show), not necessarily the SSID.

sudo nmcli connection delete "ConnectionName"

Set auto-connect priorities

(Higher number = preferred when multiple known networks are available.)

sudo nmcli connection modify "HomeWiFi" connection.autoconnect yes
sudo nmcli connection modify "HomeWiFi" connection.autoconnect-priority 10

sudo nmcli connection modify "PhoneHotspot" connection.autoconnect yes
sudo nmcli connection modify "PhoneHotspot" connection.autoconnect-priority 1

image.png

Restart networking (if things get weird)

sudo systemctl restart NetworkManager

Multi-Wi-Fi Configuration

The Pi is intended to operate across multiple networks:

Wi-Fi management is handled by NetworkManager, allowing:

Saved connections:

Verified using:

sudo nmcli connection show

Automatic Network Failover

Network priorities were configured to prefer home Wi-Fi:

sudo nmcli connection modify HomeWiFi connection.autoconnect-priority 10
sudo nmcli connection modify PhoneHotspot connection.autoconnect-priority 1

Behavior:

Failover was verified by disabling the hotspot and confirming the Pi automatically connected to the home network.


Wi-Fi Band Notes (Pi 3 B+)


Current Status

At this stage, the system has a solid foundation:

The Raspberry Pi is now ready for GPS hardware integration.


Next Steps

Upcoming phases will document:


Revision #12
Created 21 December 2025 17:46:57 by Nate Nash
Updated 25 December 2025 18:15:28 by Nate Nash