ref: 429d6e26b4d12dde069409e7cf69f2f532b9c995
parent: 538833854595dd36e25168df2a109e3a66ac08d2
parent: e35d140f5cc53a928d553e8477b1de13e66ee84f
author: jrmu <jrmu@inter9>
date: Mon Jul 1 09:14:17 EDT 2024
Updates
--- /dev/null
+++ b/iwl.ms
@@ -1,0 +1,99 @@
+First, download the firmware:
+
+; git/clone gits://git.9front.org/plan9front/firmware
+; cp firmware/* /lib/firmware/
+
+You only need to copy the firmware you need for your wireless card. You don't need to copy all others.
+
+If you cannot find your card's firmware, check OpenBSD's firmware:
+
+http://firmware.openbsd.org/firmware/7.5/
+
+For Intel Wireless AC 3168, it may be necessary to apply this patch:
+
+diff 6b5d2ac468490a417e2dc36d13662b021d360200 uncommitted
+--- a/sys/src/9/port/etheriwl.c
++++ b/sys/src/9/port/etheriwl.c
+@@ -4479,6 +4479,10 @@
+ family = 8000;
+ fwname = "iwm-8000C-34";
+ break;
++ case 0x24fb: /* Wireless AC 3168 */
++ family = 7000;
++ fwname = "iwm-3168-29";
++ break;
+ case 0x24fd: /* Wireless AC 8265 */
+ family = 8000;
+ fwname = "iwm-8265-34";
+
+Next, rebuild the kernel:
+
+; cd /sys/src/9/pc64
+; mk install
+; 9fs 9fat
+
+(Optionally, you can rebuild the entire system: http://fqa.9front.org/fqa5.html)
+
+Then, copy the kernel. For 386:
+
+; cp /386/9pc /n/9fat/
+
+For amd64:
+
+; cp /amd64/9pc64 /n/9fat/
+
+Reboot:
+
+; fshalt -r
+
+When you view /dev/kmesg, the device should appear:
+
+#l0: rtl8169: 10Mbps port 0x3000 irq 255 ea c46516b43793
+#l1: iwl: 54Mbps port 0xA6B00000 irq 255 ea 000000000000
+
+On this machine, the second line is the wifi card, Intel Dual Band Wireless-AC 3168NGW [Stone Peak].
+
+Troubleshooting:
+
+; ls '#l1'
+ls: #l1: no free devices
+
+The device is not recognized.
+
+In /dev/kmesg, you should see a line that resembles:
+
+#l1: iwl: 54Mbps port 0xA6B00000 irq 255 ea 000000000000
+
+It needs to match your device to indicate that it has been detected.
+
+Connecting
+
+Consult the ipconfig(8) and wpa(8) man pages.
+
+status: associated
+
+; bind -b '#l1' /net.alt
+; bind -b '#I1' /net.alt
+; aux/wpa -s TMOBILE-LIN5G -p /net.alt/ether1
+; ip/ipconfig ether /net.alt/ether1
+
+/net.alt/ether1/ifstats will show local access points
+
+essid: MYACCESSPOINT
+bssid: 40e1aabbccdd
+status: associated
+channel: 01
+rxkey2: ccmp:[16]
+rxkey4: ccmp:[16]
+txkey0: ccmp:[16]
+brsne: 30140100000FAC040100000FAC040100000FAC020C00
+node: 7493dad36ff8 1431 995070 01 Neighbor
+node: 747d2422f122 0411 993550 01 Airport
+node: 087b126868e0 1511 995130 01 Coffee-Shop
+node: f08175055ee6 1411 1002880 11 Library
+
+To test if it works:
+
+; ip/ping 8.8.8.8
+
+Thanks to qwx on OFTC for helping with instructions and the patch!
--- a/newuser.ms
+++ b/newuser.ms
@@ -4,16 +4,22 @@
To put $username in group sys:
-; echo 'newuser $username +sys' >> /srv/cwfs.cmd
+; echo 'newuser sys +$username' >> /srv/cwfs.cmd
+To put $username in group adm:
+
+; echo 'newuser adm +$username' >> /srv/cwfs.cmd
+
Or for interactive usage:
; con -Cl /srv/cwfs.cmd
newuser $username
-To put $username in group sys:
+To put $username in groups sys and adm:
-newuser $username +sys
+newuser sys +$username
+
+newuser adm +$username
Type ctrl+\ to escape, then quit.
--- a/rio.ms
+++ b/rio.ms
@@ -2,44 +2,34 @@
To have nice, large fonts, in /usr/glenda/lib/profile replace:
-
-
rio -i riostart
-
with:
-
-
rio -i riostart -f /lib/font/bit/lucidasans/typeunicode.16.font
-
To download some excellent fonts, check out ftrv.se:
Kurinto:
-
-
; cd /lib/font/bit
; hget https://ftrv.se/_/plan9_fonts/kurinto.18.tar.gz | tar xz
; font=/lib/font/bit/kurinto/kurinto.18.mono.font
-
-
-KNXT:
+See also:
+https://ftrv.se/_/plan9_fonts/kurinto.24.mono+text.tar.gz
+https://ftrv.se/_/plan9_fonts/kurinto.32.mono+text.tar.gz
+KNXT:
- ; cd /lib/font/bit
- ; hget https://ftrv.se/_/plan9_fonts/knxt.20+40.tar.gz | tar xz
- ; font=/lib/font/bit/knxt/knxt.20.font
- # ; font=/lib/font/bit/knxt/knxt.40.font # for 2x the size
+; cd /lib/font/bit
+; hget https://ftrv.se/_/plan9_fonts/knxt.20+40.tar.gz | tar xz
+; font=/lib/font/bit/knxt/knxt.20.font
+# ; font=/lib/font/bit/knxt/knxt.40.font # for 2x the size
-
iosevka:
-
-
- ; cd /lib/font/bit
- ; hget https://ftrv.se/_/plan9_fonts/iosevka.18+20+24+32.tar.gz | tar xz
- ; font=/lib/font/bit/iosevka/iosevka.20.font
\ No newline at end of file
+; cd /lib/font/bit
+; hget https://ftrv.se/_/plan9_fonts/iosevka.18+20+24+32.tar.gz | tar xz
+; font=/lib/font/bit/iosevka/iosevka.20.font