* [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
* Re: [9fans] Modification of etheriwl.c for AC 7265 ethernet card
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
0 siblings, 1 reply; 3+ messages in thread
From: ori @ 2022-11-25 14:45 UTC (permalink / raw)
To: 9fans
Quoth Chris Gorman <chrisjohgorman@gmail.com>:
> 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.
typically, the 9front list is where the 9front
patches go: 9front@9front.org; applied this one,
> 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,
>
you can put it in plan9.ini, something like:
ether1=type=iwl
essid=ESSID
wpapsk=PASSWORD
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T75cc68ba157fecd6-M0d1c0a6fbaf28e8d782c9be4
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] Modification of etheriwl.c for AC 7265 ethernet card
2022-11-25 14:45 ` ori
@ 2022-11-25 15:02 ` Chris Gorman
0 siblings, 0 replies; 3+ messages in thread
From: Chris Gorman @ 2022-11-25 15:02 UTC (permalink / raw)
To: 9fans
On Fri, Nov 25, 2022 at 9:47 AM <ori@eigenstate.org> wrote:
>
> Quoth Chris Gorman <chrisjohgorman@gmail.com>:
> > 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.
>
> typically, the 9front list is where the 9front
> patches go: 9front@9front.org; applied this one,
Sorry for posting to the wrong list. I will redirect my emails in the
future. Thanks for applying the patch for me.
>
>
> > 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,
> >
>
> you can put it in plan9.ini, something like:
>
> ether1=type=iwl
> essid=ESSID
> wpapsk=PASSWORD
Thanks, just giving this a go.
Take care,
Chris
>
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T75cc68ba157fecd6-M96f1148ad8ba905615c44b58
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ 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).