ref: 32a2c4be671ebcc50421254d731ddca896f45171
parent: 6ea90bd90d08e80f11fa7d55a045c06f422fe80b
author: Aaron Lin <jrmu@inter9.org>
date: Tue Oct 29 02:56:13 EDT 2024
Add instructions for automatically starting wifi upon boot
--- a/rpi-wifi-p9.ms
+++ b/rpi-wifi-p9.ms
@@ -31,3 +31,12 @@
2: rtt 24841 µs, avg rtt 32852 µs, ttl = 56
3: rtt 22609 µs, avg rtt 30291 µs, ttl = 56
4: rtt 20432 µs, avg rtt 28319 µs, ttl = 56
+
+To automatically start wifi upon boot, put these lines in /cfg/$sysname/termrc or cpurc:
+
+bind -a '#l1' /net
+echo 'key proto=wpapsk essid=ESSID !password='^`{cat /lib/wpa/ESSID} > /mnt/factotum/ctl
+aux/wpa -2 -s 'ESSID' /net/ether1
+ip/ipconfig ether /net/ether1
+
+Put the wifi password in /lib/wpa/ESSID.