From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 5550 invoked from network); 25 Nov 2022 16:13:39 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 25 Nov 2022 16:13:39 -0000 Received: from mail-ua1-f53.google.com ([209.85.222.53]) by 9front; Fri Nov 25 11:10:47 -0500 2022 Received: by mail-ua1-f53.google.com with SMTP id m5so1690576uah.3 for <9front@9front.org>; Fri, 25 Nov 2022 08:10:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=bAVnT8efA3rgUeHoHAojrVOcwMUnafu8DfcwOeG6Mf4=; b=AGGtiuBr8vy9tUo9GaGPDHtE1RuIe64D+P/Cz+O2mXq6RORzwuECKlVY+IEmDgnKIE M3aIjuctMTKc8gcHua5UA21Z7DkciLJImlYBiaKl4C3gw9rGT/K2kF/2cuAEjdotZC21 jP/vBCgHtHl01goDH765IwNgDOoxUQi5SYZKYBeVvG8vzM2HEBdzDSVXN8tbTWhuR4V4 a8W9oMVAe6ut0Yz05Up9xJCpd3isfHwJ1sH+Kt9sfV/RjexDPwrqt6aVQXs1X9GvaDUm 1CY0hdn+36S4WMCf4g0J1pG4dDDOon55/ZHO/N2PncPau6xS8d98W/3hsWvmAgyPHuF2 UhfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=bAVnT8efA3rgUeHoHAojrVOcwMUnafu8DfcwOeG6Mf4=; b=VZOhnUN7vKKiiRqdu0GQfUqfAQEOFyXGKJyhwNU+0cI01D8bQSfSSZXvapTxfqvqBB gJs36pZ/WMstmo/YDd50FS3Vryh06P1H0lhwXtAgJgNHC7DzZmBqrTynuLtaerkcprwj 7K6s9c0cwewh0xYBMExq5bKlpxmYr1Cgd+npZmxCB6kW7gDDSysyVnT0nhrjz6LKablS PjF/GE4d0bnxRKePVRYuFsz7kbP5tlYdpsUtuYk34QJg4FmhH70WX/m+zqUAUWAKi4GL uTKTKLaIS/o+6UmvDBR1Gu7BjafxFLBcNp37sRFBgEjPH3ygUyeMqJinrssgLTexjZq6 gWIw== X-Gm-Message-State: ANoB5pm8VDTgTelDtWbwbAgr89r26PSR3eRtOAzbOFmIWpmGg+i+4x55 zZJnCE1Q9Y+N91XtiH2e7b8cyfEzLxX17YpfrYS5qWf5rDl1YA== X-Google-Smtp-Source: AA0mqf6qcbzVWs379IMdwIcb3x+lHfBzfTYpoYNfcQE31nKvDbf95ZQ4j1BDfiDCC/lou+AzDzyfJV8SZK6DZLMGxM8= X-Received: by 2002:a9f:22c7:0:b0:3d6:45ee:7efc with SMTP id 65-20020a9f22c7000000b003d645ee7efcmr12635416uan.86.1669392639725; Fri, 25 Nov 2022 08:10:39 -0800 (PST) MIME-Version: 1.0 From: Chris Gorman Date: Fri, 25 Nov 2022 11:10:28 -0500 Message-ID: To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: package-scale dependency-oriented wrapper CMS controller Subject: [9front] Wifi setup in plan9.ini fails to work, need to run commands by hand Reply-To: 9front@9front.org Precedence: bulk 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: -> 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