wm: doc

Download patch

ref: b1a410674d706622cd93804d64ec1c06f455edac
parent: e4141585e87220cb9542cfc7641733becac84e7b
author: jrmu <jrmu@9book>
date: Wed Jun 26 15:15:20 EDT 2024

Added guide for configuring iwl internet

--- a/iwl.ms
+++ b/iwl.ms
@@ -9,7 +9,7 @@
 
 http://firmware.openbsd.org/firmware/7.5/
 
-For Intel Wireless AC 3168
+For Intel Wireless AC 3168, it may be necessary to apply this patch:
 
 diff 6b5d2ac468490a417e2dc36d13662b021d360200 uncommitted
 --- a/sys/src/9/port/etheriwl.c
@@ -32,9 +32,9 @@
 ; mk install
 ; 9fs 9fat
 
-(might it be necessary to rebuild the entire system? http://fqa.9front.org/fqa5.html)
+(Optionally, you can rebuild the entire system: http://fqa.9front.org/fqa5.html)
 
-For 386:
+Then, copy the kernel. For 386:
 
 ; cp /386/9pc /n/9fat/
 
@@ -53,20 +53,23 @@
 
 On this machine, the second line is the wifi card, Intel Dual Band Wireless-AC 3168NGW [Stone Peak].
 
-and put them into /lib/firmware, should I see an extra /net/ether1 device at bootup? I currently only see /net/ether0, for my wired ethernet NIC
-
-
 Troubleshooting:
 
 ; ls '#l1'
 ls: #l1: no free devices
 
-Device is not recognized.
+The device is not recognized.
 
-wpa(8)
+In /dev/kmesg, you should see a line that resembles:
 
-/net.alt/ether1/ifstats will show local access points
+#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
@@ -74,6 +77,23 @@
 ; 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
\ No newline at end of file
+; ip/ping 8.8.8.8
+
+Thanks to qwx on OFTC for helping with instructions and the patch!
\ No newline at end of file