Git Codebase - Sn0wlink IT
Wifi Sync Tool

Code: Download ZIP

README

NetworkManager Connection Sync Script

A script to Sync wifi passwords between machines.

This repository contains a simple set of shell commands used to export, sanitize, and re‑import NetworkManager connection profiles between a local system and a shared location.

It is intended for Linux systems using NetworkManager (e.g. Debian, Ubuntu, RHEL-family).


Purpose

This allows reuse of connection profiles across machines without UUID or interface conflicts.


Directory Structure

.
└── Connections/
    └── system-connections/

The Connections/system-connections/ directory must exist before running the export step.


Script Logic

1. Copy connections from local system to share

Shell

Show more lines


2. Clean and rebuild connections from share to local

Shell

Show more lines

Removes fields that must be regenerated per-host:


Shell

Show more lines


3. Reload NetworkManager

Shell

Show more lines

Reloads all connection profiles without restarting the NetworkManager service.


Requirements


Safety Notes

Reference:


Typical Use Cases


Tested With