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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 86AF61580FD for ; Tue, 24 Dec 2024 10:54:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C928E07B3; Tue, 24 Dec 2024 10:54:10 +0000 (UTC) Received: from weasel.tulip.relay.mailchannels.net (weasel.tulip.relay.mailchannels.net [23.83.218.247]) (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 224F7E078A for ; Tue, 24 Dec 2024 10:54:08 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 329E523A86 for ; Tue, 24 Dec 2024 10:54:07 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1735037646; a=rsa-sha256; cv=none; b=JTP8QcHaohssNptNtYgBN+JmZrBvC1ru58EKn4auHkbM8tWvCe+x0odHMkPQEDJRQZy5lD +DExDM1SSaU8aI8KOz561W3gd7ULQAAQH9UHc4i2Vi85EijUzSIvGljrhhxGNP2JH5MzrH lp10oPNQPh5fmVubsUB3IUOdiXWQaYJAXA6aIRtT0LS0oL9E/7R35q8ta6BggRvMuGYSDl 72TSLE7cA48G2KJY2LlozDY2BtAACN6Ka89Qp3OODBCQP3x4rmpVw3l9CcEd5PRgf5QJH6 JYvE5JQ7psKjBwD0zRNTaHKACzKZs1KST2JI24ZByKRy8xvhJxfTTl1rbEodUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1735037646; 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; bh=80BWGo0/JctAxOQBtEsnERBQbS5ID/eh66oYS2ogj5M=; b=VG6sJX0DCerTIv/uQb1oP+e1zXj8JGfv/bo14J0lwdU6BNwwIJsKr+NCIK93njhVMjP3R1 hqnbUtAnw2w7qcrhwH20Sj3siBTtaALRtkfk+m5hPhvtFYd6epQDDPvy/rVL1deLQKsT54 ex0RtN4M7QEIH8d6i6lF3jq45Dr0z7NqEr11P6/HD1iwQDdd3UwHMT1wANtUUUltVU6MyJ hoijkRN3yCMseQDsvHPwUH2iNol2ZEoBmcOcXGu7wFs8NNvMDT7QcL7PTKPPn7y7ZzTcb0 QnK+LqmQyaEO4EjodoDM7h3+ecblim0zAYEcc3ivDQdP7FVxBi0iKTo53i7QGQ== ARC-Authentication-Results: i=1; rspamd-56bf78cbd4-574qp; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Wiry-Desert: 04723cc83bb0612e_1735037646824_2302913969 X-MC-Loop-Signature: 1735037646824:3385708954 X-MC-Ingress-Time: 1735037646823 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.107.51.54 (trex/7.0.2); Tue, 24 Dec 2024 10:54:06 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id A38681E0008 for ; Tue, 24 Dec 2024 10:54:03 +0000 (GMT) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: Gentoo User Subject: Re: [gentoo-user] strange problem with Wifi Date: Tue, 24 Dec 2024 10:53:34 +0000 Message-ID: <10585213.nUPlyArG6x@rogueboard> In-Reply-To: References: 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="nextPart2294683.iZASKD2KPV"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <173503764316.2819606.4322341449103590591@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Server: mailclean11 X-Rspamd-Queue-Id: A38681E0008 X-Rspamd-Action: no action X-Spamd-Result: default: False [-1.51 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.20)[]; MX_GOOD(-0.01)[]; TO_DN_ALL(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; REPLYTO_DOM_NEQ_TO_DOM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; NEURAL_HAM(-0.00)[-0.676]; R_SPF_ALLOW(0.00)[+mx]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Archives-Salt: 76593952-6d60-4bc5-bbfb-adf6dd79f57f X-Archives-Hash: 2a5191e4930c598a59b7553f6d911298 --nextPart2294683.iZASKD2KPV Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Michael To: Gentoo User Reply-To: confabulate@kintzios.com Subject: Re: [gentoo-user] strange problem with Wifi Date: Tue, 24 Dec 2024 10:53:34 +0000 Message-ID: <10585213.nUPlyArG6x@rogueboard> In-Reply-To: References: MIME-Version: 1.0 Hi Philip, On Monday 23 December 2024 23:35:21 GMT Philip Webb wrote: > I've encountered a strange problem logging into my local Wifi. > There are 2 services I can use : (1) the household service, > part of my landlord's home-office system ; (2) my cell-phone's hotspot. > (2) is ok, but trying to use (1) has been offering challenges. > > First, there's no problem with my hardware or that of my landlord > nor with 'wpa_supplicant' installed on my Gentoo system AFAIK. > The problem aros when I tried to log into (1) > after a power outage caused my landlord to restart his box, > at which time he renamed the service with a slightly different password ; > he's intelligent + friendly, but not upto fine-tuning it. > I have updated the config file below to match the new strings. Did he *only* change the SSID and password, or did he also change the encryption and key management method? > Earlier in the year, it was straightforward. I have a config file : > > #wpa_supplicant-gr.conf : 241207 > > ctrl_interface=/var/run/wpa_supplicant > ctrl_interface_group=wheel > > network={ > ssid="" > key_mgmt=WPA-PSK > pairwise=CCMP TKIP > group=CCMP TKIP > psk="" > priority=5 > } > > This hasn't changed : it used to log me in when I rebooted. > Now it doesn't : for some reason, it scans, but finds nothing. > The config file for my cell-phone hotspot is the same & also unchanged. Check there are no empty spaces left at the end of the strings in any entries you edited in your wpa_supplicant.conf. Check you have not altered the access rights of the file: chmod -v 600 /etc/wpa_supplicant/wpa_supplicant.conf > However, I can use 'wpa_gui' with a bit of fussing & editing. > Currently, it shows the correct adapter + service name & below it lists : > > Status : completed (station) > Last message : > Authentication : WPA2-PSK > Encryption : CCMP + TKIP > SSID : > BSSID : < 12 hex digits > > IP address : < 11 digits > > > I can't see any difference between the 2 lists of config items. > I do have to reset it via an 'edit' menu after rebooting, > esp to restate the password, which is a nuisance, > but it succeeds in getting thro' to the service. > > Can anyone suggest what mb wrong with the 1st method ? The first method looks good to me, beyond the points I mentioned above. You can check what the landlord's AP wants to use by running wpa_cli in a terminal: > scan will start scanning for APs. A few seconds ago you will have some results to peruse: > scan_results The landlord's BSSID will list what encryption his AP has been configured to use; e.g.: 01:23:45:67:89:01 2427 0 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP] LL's-SSID Enter 'quit' to exit the wpa_cli once you made a note of the above. You'll need to reflect what the wpa_cli results revealed in your wpa_supplicant.conf. If you want to be able to edit the AP configuration and save the results using your wpa_gui directly, you have to add in your wpa_supplicant.conf: ==================================================== # Whether to allow wpa_supplicant to update (overwrite) configuration # # This option can be used to allow wpa_supplicant to overwrite configuration # file whenever configuration is changed (e.g., new network block is added # with wpa_cli or wpa_gui, or a password is changed). This is required for # wpa_cli/wpa_gui to be able to store the configuration changes permanently. # Please note that overwriting configuration file will remove the comments # from it. update_config=1 =============== Please heed the above warning regarding commented sections in your wpa_supplicant.conf being removed. HTH. --nextPart2294683.iZASKD2KPV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmdqkq4ACgkQseqq9sKV ZxknQA//f5dfvzsq69n+lFhK1hUpSffSSOhYPhPbxCrVx70vnSsJL4ImxAzYbjD4 O2b5YDdAK6LO0xdZsjxmJ/QkaKhyMFBI22eHtG3CoNOIoC+G1R8a+pBEj5Ieh3Af ub3MmhXZOs21YeJmXj0ExokNZCRvFhIKEhGvfT3psDlu9C5DRhv7Nr0kxquorkhd Fk9T4LNFC6EiiPghclNrGeidG7JIJWmrCimINPXL5khP4yqUCFfs0tDW9eC9C00v 00pSYjpG8NAkI2okSlFi9jJVcriVCEuLbwtIqRplReh0ZmG4RaScMcbTToNIcuv1 rUuT0GCkLIvjC2ROkcEGK0CvygvLnoS62RtNNTD4O7eeMR4VjZd/wzjMYkt/ZLxU eABCRM/U2GiI3T48gQ+G9qsSUmqxvQK6wMMl6WDt6TLDRNJ65zoK1BSpATUeniWn EaBoaUMqUS7EurOf2ubOoE5Cg1JDr78nWoxy6SuOECaGPfuP5ihtwfDsTCTj7LDg DTVa1SoyNJNU1QZdqXECxOPd2+pRDhZqvg6IYdDcwvqA0LanyLOebIvZV5kH9F7e iTtcXMTStjovkK6TcggABLcyB1uccYueNOQYaa63OveuydmEOqhdQ3zWqXOOxnb+ g/weGJ9fFAyjBuwsvpJvKwXmg02fFx9Lr6NS28R02WxWp7hOqKs= =kkvw -----END PGP SIGNATURE----- --nextPart2294683.iZASKD2KPV--