9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Modification of etheriwl.c for AC 7265 ethernet card
@ 2022-11-25 14:14 Chris Gorman
  2022-11-25 14:45 ` ori
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Gorman @ 2022-11-25 14:14 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 938 bytes --]

Hello All,

I needed to add a pci vid/did to etheriwl.c to get my wifi card
working.  I'm sending the patch to the mailing list, but if folks know
of a better place for this info, let me know and I will re post it.
The card I have is an Intel AC-7265 and I am running 9front.

Now that I have my card working, I would like to have it connect at
boot. I have the following commands to run.

bind -a '#l1' /net
echo 'key proto=wpapsk essid=ESSID !password=PASSWORD' >> /mnt/factotum/ctl
aux/wpa -2p -s ESSID /net/ether1
ip/ipconfig ether /net/ether1

I was wondering where to put these commands.  Should they go into
/bin/termrc or is there a more suitable place?

Thanks in advance,

Chris

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T75cc68ba157fecd6-Me43fb15b1e16e7c45ce076dd
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: etheriwl.c.diff --]
[-- Type: text/x-patch, Size: 266 bytes --]

--- /sys/src/9/pc/etheriwl.c.orig
+++ /sys/src/9/pc/etheriwl.c
@@ -4444,6 +4444,7 @@
 			family = 7000;
 			fwname = "iwm-7260-17";
 			break;
+		case 0x95a:	/* Wireless AC 7265 */
 		case 0x95b:	/* Wireless AC 7265 */
 			family = 7000;
 			fwname = "iwm-7265-17";

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-25 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-25 14:14 [9fans] Modification of etheriwl.c for AC 7265 ethernet card Chris Gorman
2022-11-25 14:45 ` ori
2022-11-25 15:02   ` Chris Gorman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).