wm: doc

ref: e4141585e87220cb9542cfc7641733becac84e7b
dir: /iwl.ms/

View raw version
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

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

(might it be necessary to rebuild the entire system? http://fqa.9front.org/fqa5.html)

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].

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.

wpa(8)

/net.alt/ether1/ifstats will show local access points

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

To test if it works:

; ip/ping 8.8.8.8