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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 99A4015806E for ; Fri, 2 Jun 2023 11:29:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E4DB2E0916; Fri, 2 Jun 2023 11:29:03 +0000 (UTC) Received: from barn.elm.relay.mailchannels.net (barn.elm.relay.mailchannels.net [23.83.212.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65BB5E08FB for ; Fri, 2 Jun 2023 11:29:03 +0000 (UTC) X-Sender-Id: _forwarded-from|230.3.169.217 Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id DD55E8213FB for ; Fri, 2 Jun 2023 11:29:01 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1685705341; a=rsa-sha256; cv=none; b=Sp4psxew1nVxGqnNGE/UOotF69s+UJE5eY+HrvOw747SZTMR3nJsMNH68C4i1Szxx7GLpH 2PFrcxRutfcc3PH22WSybVb45Ux8gf1J/JikWIFXtfQRtcwjN6/J082LZqTyakyrgDqzAB JXJrGwyTNo/zBjy6N4RV1UcsdDQlD4/Y5yuBlCph0Sajt7iA98wrDiaPW7iubCFGyOPiKU Bpa/4YhlIfV3yPAR9gxLMd+yzOj3d8KHvr4Q4z0nhPX8fFqHPHbgiRDbq2xCpLu1qu2YD7 UhJ1n4g2k51Eps1Ta9E4MpOq60BvAfflDQ1scRUL+F7q1Ie4Sp76Hnjd77q7Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1685705341; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:dkim-signature; bh=/dx18HMgpPE2hZ1rd6j8ft3IouN9pTI88KpZIwkeKM4=; b=LAQDnV6ucNS4A6lajKWgmRNWlfv9VVf9N6iQypP5s5FgzgZSxSvkc/sszCaZWlY4HiWH7T +csBOA5sLqrzb+jmCJ8Irn7CO0v6khcLONgClqxrpgTT3GTNLNS6ckc0FxfMkduJhtlf75 vbUFhtvOt7cD5ZAjWsnYmAm4R5UqtREiVaRpXnhd7DjGHxgdgyy4ZHMHAyhhfGmy2llbs4 QCmb9Z/jwMCa/kUhoqwUL2vqqXzy2/LO43C0gcOjWSoT/D1v2cHut/v6SilYPx/D/Vw3gP LwejTbHcX1+cw9zy0/Kr5tK5yIqXme035NZAbtOUUjBXOh3mc7J81CFnJgWPmg== ARC-Authentication-Results: i=1; rspamd-58dcc7d645-dzhv5; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: _forwarded-from|230.3.169.217 X-MC-Relay: Junk X-MailChannels-SenderId: _forwarded-from|230.3.169.217 X-MailChannels-Auth-Id: thundermail X-Lonely-Ruddy: 0903a8e97a9e4f94_1685705341551_3997609574 X-MC-Loop-Signature: 1685705341551:2453588744 X-MC-Ingress-Time: 1685705341551 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.106.146.245 (trex/6.8.1); Fri, 02 Jun 2023 11:29:01 +0000 Received: from cloud220.unlimitedwebhosting.co.uk (cloud220.unlimitedwebhosting.co.uk [149.255.60.183]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id D01AA40240 for ; Fri, 2 Jun 2023 12:28:58 +0100 (BST) Received: from lenovo.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by cloud220.unlimitedwebhosting.co.uk (Postfix) with ESMTPSA id CBEF8C276C7 for ; Fri, 2 Jun 2023 12:28:58 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kintzios.com; s=default; t=1685705339; bh=/dx18HMgpPE2hZ1rd6j8ft3IouN9pTI88KpZIwkeKM4=; h=From:To:Subject; b=BAUa7OeHAi2RNsYkAx4iORWbYQ6kAqpj8qTuii4QdkwncUKFMQO6ix/LfYelbuAFt J3oQaK7pG8qViHczOL7fsC6XQrLW8OND/NH7aRU2tlle5L4MDjp32JIeaCIytokS4f 4akXbER/OfDHkJzVEz1EXjvBIJsThqlv1bZRQh90= From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] using Wifi in a new machine : progress Date: Fri, 02 Jun 2023 12:27:41 +0100 Message-ID: <23096569.6Emhk5qWAg@lenovo> In-Reply-To: References: <20230602032117.GA85294@Clubuntu> 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="nextPart2562691.Lt9SDvczpP"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <168570533909.2085455.4377954028893271570@cloud220.unlimitedwebhosting.co.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Server: mailclean11 X-Rspamd-Queue-Id: D01AA40240 X-Rspamd-Action: no action X-Spamd-Result: default: False [-1.61 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; FROM_EQ_ENVFROM(0.00)[]; NEURAL_HAM(-0.00)[-0.999]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[kintzios.com:+]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(0.00)[kintzios.com:s=default]; HAS_REPLYTO(0.00)[confabulate@kintzios.com]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(0.00)[+mx:c]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; ARC_NA(0.00)[] X-Archives-Salt: 698c5d36-3309-4f38-9133-857d6348e9dd X-Archives-Hash: 6c8c02032c5c967999340b4b6286dc75 --nextPart2562691.Lt9SDvczpP 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] using Wifi in a new machine : progress Date: Fri, 02 Jun 2023 12:27:41 +0100 Message-ID: <23096569.6Emhk5qWAg@lenovo> In-Reply-To: MIME-Version: 1.0 On Friday, 2 June 2023 07:16:41 BST Philip Webb wrote: > 230601 Lee K wrote: > > On Thu, Jun 01, 2023 at 11:09:50PM -0400, Philip Webb wrote: > >> What is still not good is that that interface has "NO-CARRIER". > >> Also, 'rc-status' after a reboot shows wpa_supplicant as STOPPED. > >> > >> 'rc-service -v wpa_supplicant start' gets it STARTED, > >> but 'ip a' still shows "NO-CARRIER". > >> I tried 'ip link set wlp5s0 carrier on', > >> but was told "operation not supported". > >> > >> w_s seems to be finding its conf file > >> at /etc/wpa_supplicant/wpa_supplicant.conf , > >> but 'wpa_cli' continues to say "can't link to wpa_supplicant". > >> > >> I have checked the service name + password are correct in the conf file. > > > > Can you post the contents of wpa_supplicant.conf..? > > #wpa_supplicant.conf 230601 > > network={ > ssid="" > bssid=AA:BB:CC:DD:EE:FF > proto=RSN > key_mgmt=WPA-PSK > pairwise=CCMP > auth_alg=OPEN > group=CCMP > psk="" > ieee80211w=2 > priority=5 > } Have a look at your /usr/share/doc/wpa_supplicant-2.10-r1/ wpa_supplicant.conf.bz2, or whatever is the version of your installed wpa_supplicant package. If you define ieee80211w=2 for obligatory 'management frame protection', I understand you'll need: key_mgmt=WPA-PSK WPA-PSK-SHA256 (for WPA2) or, key_mgmt=SAE (Simultaneous Authentication of Equals for WPA3 only) Meanwhile, PSK stands for "Pre-Shared Key". This is meant to be either 64 hex-digits (32 bytes), or an ASCII passphrase which will be used to generate the PSK with the SSID, when the configuration file is processed by wpa_supplicant. Typically a passphrase is used with domestic WiFi routers. Either way, look at 'man wpa_passphrase' if you ever want to generate a key. > I have put wpa_supplicant in the default services started at boot. Good. > There was also a suggestion to create a symlink net.wlp5s0 > pointing to net.lo both in /etc/init.d ; it's not there now. This would be needed for more granular network configuration - it depends on your particular use case requirements (different NICs, APs, gateways, static IPs, etc.). If you have added wpa_supplicant in your default level rc scripts then you don't need both. --nextPart2562691.Lt9SDvczpP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmR50i0ACgkQseqq9sKV Zxk1jxAAqnTApt6UNC4RrfiNOYIiSbepXmFKIVMu1F0ciJm0cn2mGj5cTW4Lc8ZO GMr/VEwBmpyTUZvdBh+39KayaB0tEH5RfbDZu1VwoW/qMlt6pEBfaT6U9ATRXTav gFY8UYij+9qvm/HBB6howPWy5AS1AxmIk1uHEr3yC3Iaess0fyv5yTCV4rMyH/bd ABTDgoNLQSApHGA4XaQnXGJKxJ6RWIVzG3QywgO8V0BZFFzkC7n9JZjDKArBj4LT j3gA4Fc0qrErXgVT9i0qV/sSH2orQQ4U678NPovykPP6SHJEzNpoj805cJhP+o96 1o7y6ypkgXgy36oIzKVHe8W4ATFGyWR/DnV4fO5VU7dO1NBzXwPMCG0ik+bkAtSc +nj0H/OxVlv3QnRlg0PSTqNlrlOKydV8iqqJs7x8nkRSrNObI2HkL69DX6MGzp0N cu38b0XundfxoC4rcKofW1x8sw90J7aLlfEYo1Zq8Mx7ND9jrisqPcn4j+VZcHW2 rrg6RrszShcu8s7a3TqdX1Ks6r2+qhI2IGbk8dsqKrQN7/lSm7Ls+8kFxPIBzVtb tJg28wxxvG5sHC6j8rpjhPPhpbBaUTxRLUFlHQsfp5IzIOGIvrZMU8j+2ApR2qRm kTMzKJg5O1t9x+RFFjX6/coDH6Sw5fE5yJG8WBLHJu2oeG9Io5c= =IeK5 -----END PGP SIGNATURE----- --nextPart2562691.Lt9SDvczpP--