9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Chris Gorman <chrisjohgorman@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: [9fans] Modification of etheriwl.c for AC 7265 ethernet card
Date: Fri, 25 Nov 2022 09:14:26 -0500	[thread overview]
Message-ID: <CAHVeOW_U8wvb29u54RgRojR1ShyJAcW=mGkrQ_eNBWOnaqGEvA@mail.gmail.com> (raw)

[-- 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";

             reply	other threads:[~2022-11-25 14:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-25 14:14 Chris Gorman [this message]
2022-11-25 14:45 ` ori
2022-11-25 15:02   ` Chris Gorman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHVeOW_U8wvb29u54RgRojR1ShyJAcW=mGkrQ_eNBWOnaqGEvA@mail.gmail.com' \
    --to=chrisjohgorman@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).