From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A156C158094 for ; Thu, 1 Sep 2022 13:01:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFF08E0A6D; Thu, 1 Sep 2022 13:00:58 +0000 (UTC) Received: from mail-gw.thundermail.uk (mail-gw.thundermail.uk [149.255.60.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 86502E0A63 for ; Thu, 1 Sep 2022 13:00:58 +0000 (UTC) Received: from mailgw01.thundermail.uk (mail-gw.thundermail.uk [149.255.60.66]) by mail-gw.thundermail.uk (Postfix) with ESMTPS id E35046000538 for ; Thu, 1 Sep 2022 14:00:56 +0100 (BST) X-ASG-Debug-ID: 1662037255-0554137a0735dcc90001-LfjuLa Received: from cloud220.unlimitedwebhosting.co.uk (cloud220.unlimitedwebhosting.co.uk [149.255.60.183]) by mailgw01.thundermail.uk with ESMTP id XOpHkPBF5pxljsVs (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 01 Sep 2022 14:00:55 +0100 (BST) X-Barracuda-Envelope-From: confabulate@kintzios.com X-Barracuda-Effective-Source-IP: cloud220.unlimitedwebhosting.co.uk[149.255.60.183] X-Barracuda-Apparent-Source-IP: 149.255.60.183 Received: from lenovo.localdomain (230.3.169.217.in-addr.arpa [217.169.3.230]) by cloud220.unlimitedwebhosting.co.uk (Postfix) with ESMTPSA id ABB72C174F8 for ; Thu, 1 Sep 2022 14:00:55 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kintzios.com; s=default; t=1662037256; bh=dsRZY1rGmhpu6Mq4Pax2tD+qkBX3PmCxvO9m9twVmks=; h=From:To:Subject; b=TBMCSrISmcjry9MVnDSL9QmkouFo4h/6dPmHZkFDzQ+wyMUuABBaqaVJMN1Xg7C+W 6EOFmZVu4SYxB/ZjHkcqp/blUZoVa50utorP/sDHGIBn698UBPr0FCDLHhxO8iOI8z NAwN36c9s+1V2OwwxzhDv60ieVLjU5yviHNgCzZ4= From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Lenovo T400 wifi scan and connect questions Date: Thu, 01 Sep 2022 14:00:41 +0100 X-ASG-Orig-Subj: Re: [gentoo-user] Lenovo T400 wifi scan and connect questions Message-ID: <3438693.V25eIC5XRa@lenovo.localdomain> In-Reply-To: References: <2116408.irdbgypaU6@lenovo.localdomain> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3496406.LM0AJKV5NW"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <166203725609.3971423.11281455537459669149@cloud220.unlimitedwebhosting.co.uk> X-PPP-Vhost: kintzios.com X-Barracuda-Connect: cloud220.unlimitedwebhosting.co.uk[149.255.60.183] X-Barracuda-Start-Time: 1662037255 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://149.255.60.66:443/cgi-mod/mark.cgi X-ASG-Orig-Subj: Re: [gentoo-user] Lenovo T400 wifi scan and connect questions X-Virus-Scanned: by bsmtpd at thundermail.uk X-Barracuda-Scan-Msg-Size: 2347 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.50 X-Barracuda-Spam-Status: No, SCORE=0.50 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.9 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.100481 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Archives-Salt: 7e903b72-d410-47e0-9a2c-024b2ce75cfd X-Archives-Hash: a31f338c05b413f809e5a473c7cb7a6e --nextPart3496406.LM0AJKV5NW Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Subject: Re: [gentoo-user] Lenovo T400 wifi scan and connect questions Date: Thu, 01 Sep 2022 14:00:41 +0100 Message-ID: <3438693.V25eIC5XRa@lenovo.localdomain> In-Reply-To: MIME-Version: 1.0 On Wednesday, 31 August 2022 20:15:41 BST Walter Dnes wrote: > During launch, wpa_supplicant blows up on... > > DIR=/var/run/wpa_supplicant GROUP=wheel > DIR=/var/run/wpa_supplicant GROUP=0 Hmm ... so the example page syntax is wrong. I wonder if I came across this too in the distant past. :-/ I have this in my config and it works: ctrl_interface_group=wheel ctrl_interface=/var/run/wpa_supplicant > https://wiki.gentoo.org/wiki/Wpa_supplicant#Configuration recommends... > > ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel > > The 3 lines in my wpa_supplicant.conf that are not commented out are... > > ctrl_interface_group=0 > ap_scan=1 > ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel > > Thank you for your help. It works. Cool. :-) > I live in a condo building. As > a regular user "wpa_cli scan" followed by "wpa_cli scan_result" shows > approximately a couple of dozen machines. BTW I've disabled MVM and > wifi still works. > > One last question; I occasionally see signs in various places saying > > Our network name is "foo" and password is "bar". > > My reading of the wpa_cli man page indicates I should use... > > wpa_cli password foo bar > > ...to log on. Is that correct? The wpa_cli command syntax is: password configure password for an SSID However, I'm not sure == SSID. When you add a network in interactive mode with: add_network the shell outputs a network id number; e.g. 3, which you are meant to use thereafter to set up variables for the AP; e.g.: set_network 3 ssid "starvebux" set_network 3 psk "Not Free" enable_network 3 In addition, I understand the wpa_cli command 'password', as opposed to variable 'psk' which is used in the interactive shell, to be for a EAP-PEAP authentication scheme. For a pre-shared key you'll use interactively: set_network 3 psk 0f0fbfdadff6271a5107a49cfb5db9e921138ee74a66b0..... or if it is a passphrase you'll enclose it in double quotes "Not Free" as above. This is the reason I use the wpa_supplicant GUI when not restricted to working in a console, because the qt5 wpa_supplicant GUI makes it easier to click and fill in a PSK, compared to the multiple commands required in a terminal. --nextPart3496406.LM0AJKV5NW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmMQrPkACgkQseqq9sKV ZxmJcg/+LOT5JIlxB5dQsSdeG7wsqB8n4pDW3qq7SCakzmg3MQjcsHSVySVBMefv HUJEvVxB6rwavw7SyZSVqGaZOqXtkn9KorF+IHsXfIjWvkZTmKLGN7D5qQnvSsmo 4ngBbcaraIbPJU0gAk8f05pcdKAhX+UPnFhdk4anSY/nLd4x/FJX0VCTUldxc+n3 YbuW3g2T9VQhbyxUzpaesSo2WncV5rGNo6o9gQX7Oho2fq1VTpZmtUFaHBuoxi05 cVCPW1ZKi0qOYNWvGQtw/3RwIVj4OwNXxKsGeQ/CIRU+3EN1py2Ltd5mGTJ8vrAK cchXxUaAa1Ri8ZLWWK5q+/IW/LnE2mC5tLaYpG3AjQqdvGF1iai45/xy9rI4z1jl l6zG8rFgHOFmc2mmhFF87nricEcfb2zk0zWZJtrG7GHiwWWr7dPRnTRmQoPuv+It 0KPQPg4228o6wFYcKUrGErXuWrnGO8w5jx/5fkEuDaynpU72H9qPiS5/dYr3zPjs DGTiiPYxaeBxwvLZ1SpdNm09XE9v+r6uqUknhJABqcxEXa+cEC2AdHu/nPNpej6K qMVvHAZ0ITBB0ohyN1Ptq0y6Y+7pAu/VOY0FqyW0M91BGQdnKInjwyhw4Snuoh0f Bn7qDlvt4rp8HPfyXGdXgjA1tcqCfZWg4uHyq//IdMH+EttbwFA= =XbzB -----END PGP SIGNATURE----- --nextPart3496406.LM0AJKV5NW--