Files
mu300-linux/arch
Abdurrahman Kaan DikeçandClaude Opus 5 b2d95a6b13 wifi-client: join someone else's Wi-Fi, from the toolkit
Until now the radio could only be the hotspot. wifi-client puts it into station
mode: scan, connect (the passphrase is hashed by wpa_passphrase, so it is not
written to /run in plain text), ask for an address with udhcpc, and keep the
network for the next boot. The toolkit gets a Wi-Fi menu that scans, numbers
what it finds and asks for the password without echoing it.

The SC2355 does one thing at a time, so joining stops mu300-hotspot and
disconnecting starts it again - including the "scan" path, which is why that
says so before it runs. The Wi-Fi default route gets metric 50 against mobile
data's 100, so the SIM stays idle while Wi-Fi is connected and takes over again
when it is not.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk
2026-09-18 23:09:01 +03:00
..