From: Chris Gorman <chrisjohgorman@gmail.com>
To: 9front@9front.org
Subject: [9front] Wifi setup in plan9.ini fails to work, need to run commands by hand
Date: Fri, 25 Nov 2022 11:10:28 -0500 [thread overview]
Message-ID: <CAHVeOW8ggrkhqgKRVNQ_N_9fJZBVt=AO_z6dN28ooCj3X1vn-w@mail.gmail.com> (raw)
Hello all,
I'm trying to set up a wifi card on my cpu+auth+fileserver in 9front.
My typical use is to drawterm into the machine. I currently have the
machine connected to a hub via ethernet, but I wanted to load the wifi
connection on my network too.
I have the following configuration in plan9.ini
ether1=type=iwl essid=ESSID wpapsk=PASSWORD debug=1
I have also tried this out on seperate lines in plan9.ini as
ori@eigenstate.org suggested to me in an email on the 9fans list.
ether1=type=iwl
essid=ESSID
wpapsk=PASSWORD
Neither work.
I get the following from /dev/kmesg
Plan 9
HPET: fed00000 8086a701 14 MHz
124 holes free
0x00021000 0x00058000 225280
0x00059000 0x0009d000 278528
0x00100000 0x00110000 65536
0x0063a000 0x7ffff000 2140950528
2141519872 bytes free
cpu0: 3277MHz GenuineIntel Xeon5000-series (AX 000306C3 CX 77FAFBFF DX BFEBFBFF)
LAPIC: fee00000 0xfffffe80fee00000
ELCR: 0000
cpu0: lapic clock at 99MHz
cpu1: 3277MHz GenuineIntel Xeon5000-series (AX 000306C3 CX 77FAFBFF DX BFEBFBFF)
cpu2: 3277MHz GenuineIntel Xeon5000-series (AX 000306C3 CX 77FAFBFF DX BFEBFBFF)
cpu3: 3277MHz GenuineIntel Xeon5000-series (AX 000306C3 CX 77FAFBFF DX BFEBFBFF)
pcienable PCI.2.0.0: pcr 0->2
#l1: iwl: 54Mbps port 0xF7C00000 irq 255 ea 000000000000
i217: bad eeprom checksum - 0x3aba; ignored
#l0: i217: 1000Mbps port 0xF7D00000 irq 255 ea 989096aad5d5
#S/sdE: ich: sata-II with 2 ports
#A0: hda mem f7d30000 irq 255
#A0: codec #0, vendor 10ec0280, rev 00100003
usbehci: 0x8086 0x8c2d: port f7d3c000 size 1024 irq 255
usbehci: 0x8086 0x8c26: port f7d3b000 size 1024 irq 255
usbxhci: 0x8086 0x8c31: port f7d20000 size 65536 irq 255
15745M memory: 2048M kernel data, 13696M user, 14946M swap
bootfs: Thu Nov 24 20:06:15 GMT 2022
fingerprint: 6b4e0269e85ddab1d0684ac783785c8b5edd2c54
i217: phy2 oui 0x5500
#l1: firmware: iwm-7265-17, rev 11, build 3216344376, size [3]
18000+30000 + [3] 18000+30000 + 0
#l1: debug: 1
#l1: rxon: bssid ffffffffffff, aid 0, channel 5, rxfilter 5c, rxflags 40008005
sdE0: LLBA 1,000,215,216 sectors
HS512QE V0414A0 100108002809 [newdrive]
sdE1: LBA 0 sectors
TSSTcorp DVD-ROM SN-108FB D100 S13P6YCF7000QM [newdrive]
#l1: rxon: bssid ffffffffffff, aid 0, channel 10, rxfilter 5c, rxflags 40008005
#l1: rxon: bssid ffffffffffff, aid 0, channel 2, rxfilter 5c, rxflags 40008005
current fs is "main"
11 uids read, 6 groups used
63-bit cwfs as of Mon Oct 31 12:02:25 2022
last boot Fri Nov 25 10:26:09 2022
#l1: rxon: bssid ffffffffffff, aid 0, channel 7, rxfilter 5c, rxflags 40008005
#l1: rxon: bssid ffffffffffff, aid 0, channel 12, rxfilter 5c, rxflags 40008005
#l1: rxon: bssid ffffffffffff, aid 0, channel 4, rxfilter 5c, rxflags 40008005
#l1: rxon: bssid ffffffffffff, aid 0, channel 9, rxfilter 5c, rxflags 40008005
#l1: rxon: bssid ffffffffffff, aid 0, channel 1, rxfilter 5c, rxflags 40008005
#l1: got probe from 0cac8a04ffd5
#l1: status 0cac8a04ffd5: 000000002570 000000002570: <nil> ->
connecting (from pc=0xffffffff801be837)
#l1: rxon: bssid 0cac8a04ffd5, aid 0, channel 1, rxfilter 5c, rxflags 40008015
#l1: got auth from 0cac8a04ffd5
#l1: status 0cac8a04ffd5: 000000002580 000000000010: connecting ->
need authentication (from pc=0xffffffff801be679)
ipconfig: recvra6: no router advs after 3 sols on /net/ether0
2 keys read in AES format
init: starting /bin/rc
ada# cpu%
I can't tell the problem from the log, but I believe the problem is
related to the wpapsk password not being recognised properly. Perhaps
someone with more experience can tell me what's missing.
On the upside, I can get the card recognised and initialized with the
following commands I got off the 9fans list. As I am already
connected via ethernet, I drawterm in and 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
This brings the card up and then I can then use it. If anyone has any
hints on what to do to get this working on boot, please let me know.
Thanks in advance,
Chris
next reply other threads:[~2022-11-25 16:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-25 16:10 Chris Gorman [this message]
2022-11-25 19:38 ` kemal
2022-11-25 20:07 ` Chris Gorman
2022-11-25 20:26 ` kemal
2022-11-25 21:10 ` Chris Gorman
2022-11-25 21:58 ` kemal
2022-11-25 22:21 ` Chris Gorman
2022-11-25 22:43 ` kemal
2022-11-25 22:48 ` 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='CAHVeOW8ggrkhqgKRVNQ_N_9fJZBVt=AO_z6dN28ooCj3X1vn-w@mail.gmail.com' \
--to=chrisjohgorman@gmail.com \
--cc=9front@9front.org \
/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).