# Network Lens 1.0.1 for Linux

A native, local Wi-Fi dashboard by Dustin Pressley. Inspect access points, signal quality, security, channels, scan freshness, live adapter traffic and local connection details. Select a network to inspect it; use the explicit Connect button to join it. Saved NetworkManager profiles are reused. New passwords use the system authentication agent; Network Lens never stores or reads passwords. New connections created here have autoconnect disabled. Enterprise setup opens the installed desktop’s network settings or connection editor.

## Install

Download `network-lens-1.0.1-fedora.run`, then run:

```sh
sh network-lens-1.0.1-fedora.run
```

The installer contains the app, icon and GNOME extension. It installs per user. Native OS libraries are reused or installed through the chosen distribution’s package manager with sudo; an Internet connection is needed only if dependencies are missing. No Python pip environment, Electron runtime, background daemon or account required. GNOME provides the Wi-Fi submenu entry. Cinnamon, Xfce and other desktops use the Applications launcher. The app also opens from Applications and `~/.local/bin/network-lens`.

Open the Wi-Fi arrow in Quick Settings, then **Open Network Lens…** under All Networks. A new GNOME extension may require signing out and back in once. GNOME 45–51 metadata is provided; the current matrix includes Fedora 44 / GNOME 50 and Fedora 45 / GNOME 51, alongside the other distribution builds. Other desktop environments can use the app launcher; their panel menus are not modified.

## Live data and its limits

The window refreshes cached NetworkManager values and adapter byte counters every second. It requests a Wi-Fi scan about every 20 seconds while open and unpaused; manual scans have a 10-second cooldown. NetworkManager/hardware decides when results complete. The scan age and each AP’s last observation are displayed. AP observations older than 60 seconds are marked stale. Signal history retains at most 120 observations / five minutes in memory. Percent signal quality is not a dBm reading. Channel information is not a spectrum analyzer or interference measurement. Advertised AP rate and negotiated Wi-Fi rate are not Internet speed tests. Traffic is for the selected Wi-Fi adapter; VPNs may change effective routes/DNS.

Resizes to GNOME half-screen tiles and narrow windows. Pause freezes observations and disables connection actions. Closing stops polling and scan requests, while NetworkManager keeps the current connection. Export is explicitly initiated and warns that SSIDs, BSSIDs, local IPs and DNS are private. Nothing is uploaded.

No Wi-Fi hardware, airplane mode, hardware blocks, scan errors, open networks, same-name access points, disconnected adapters and unavailable optional measurements are represented explicitly. NetworkManager and its normal desktop secret agent must be running to connect. Enterprise/hidden setup is available through your desktop’s network settings or connection editor. There is no custom credential store or bypass of system permissions.

## Uninstall / inspect

```sh
sh network-lens-1.0.1-fedora.run --uninstall
sh network-lens-1.0.1-fedora.run --check
sh network-lens-1.0.1-fedora.run --extract=./network-lens-files
```

Uninstall removes only Network Lens’s installed files and extension, retaining NetworkManager profiles, your connections and downloaded installers. Run `~/.local/bin/network-lens --demo` for a synthetic, clearly labeled preview that never queries NetworkManager. `--json` prints a real snapshot with private identifiers; review it before sharing.

## Build

`/usr/bin/python3 build.py` creates a deterministic zipapp, Fedora installer, source archive, extension archive and SHA256SUMS in `dist/`. MIT licensed. Native requirements: Python3, PyGObject, Cairo, GTK4, libadwaita, libnm and NetworkManager. Dedicated installers cover the seven distributions in the cross-distribution release matrix. See the validation report for exact tested releases.

## Validation

The x86-64 matrix covers Fedora 44 and Fedora 45 plus Ubuntu, Debian, Kali, Linux Mint, Arch and openSUSE Leap. Tests cover physical Wi-Fi observations without switching the host connection, signal/security data handling, multiple-adapter selection, search, pause/resume, closing cleanup and seven window sizes. Disposable native GNOME compositors check the actual Wi-Fi submenu action, removal/re-enabling without duplicates, and native left/right half-screen allocation. The native tiling call is not exposed by all target typelibs; the development-only harness invokes `meta_window_tile` with GDB inside its owned disposable compositor. No debugger or test extension is installed in the real session or runtime package.

Connection tests use one Fedora Cloud VM with `mac80211_hwsim`, separate access-point networking, hostapd and DHCP. A VM-only test secret agent supplies the synthetic test password. Checks cover WPA2 and open networks, DHCP, real traffic counters, saved-profile reuse, disconnect, paused mutation guards, and retaining an established connection when the app stops. Radio-off and missing-adapter windows and export warning/cancellation are checked as well. The test VM and its image/keys are deleted after evidence is collected.

This does not certify every physical Wi-Fi adapter, captive portal, WPA3 or enterprise authentication setup. Those require additional field testing. `validation/` holds local evidence; the website release summary lists exact payload and installer hashes. The development VM scripts are outside the runtime application. Runtime minimums are GTK 4.10+ and libadwaita 1.5+.


## Distribution-wide update

The current release targets Fedora, Ubuntu, Debian, Kali Linux, Linux Mint, Arch Linux and openSUSE Leap. Every distro has its own installer with native package dependencies. Responsive layouts and GNOME menu integration are shared across the builds. GNOME provides the Quick Settings buttons; other desktops receive their standard Applications-menu launcher.

The cross-distribution release suite installs, runs, exercises live data and responsive layouts, verifies the desktop launcher, and uninstalls all four dashboards on each VM before deleting that VM and moving to the next distribution. See the release validation report for tested versions and hardware limits. Virtual GPUs may expose no GPU/VRAM usage counters; those values stay unavailable rather than being fabricated. Website updates and publishing are a later stage.


### Current target baselines

The distribution-wide release uses separate x86-64 installers for Fedora, Ubuntu, Debian, Kali, Linux Mint, Arch and openSUSE Leap. Validation targets Fedora **44 and 45 separately**, Ubuntu 24.04 LTS, Debian 13, Kali 2026.3, Linux Mint 22.3 Cinnamon, Arch rolling and openSUSE Leap 16.0. Other releases are not automatically claimed tested. The same Fedora installer is exercised on both Fedora versions.

Use the installer whose suffix matches your distribution, for example `-fedora.run`, `-ubuntu.run` or `-linuxmint.run`. GNOME supplies the Quick Settings button (or Network Lens’s existing Wi-Fi submenu action); other desktops receive native Applications-menu launchers. A new GNOME extension may require one sign-out/sign-in. The per-app all-distro bundle includes the current test report and exact installer checksums. The full release matrix covers 28 unique files / 32 installer-VM combinations.
