Re: A bit more on Bookworm and WiFi problens

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: A bit more on Bookworm and WiFi problens
De : <bp (at) *nospam* www.zefox.net>
Groupes : comp.sys.raspberry-pi
Date : 28. Oct 2024, 02:44:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vfmq9v$m7kc$1@dont-email.me>
References : 1
User-Agent : tin/2.6.2-20221225 ("Pittyvaich") (FreeBSD/14.1-RELEASE-p5 (arm64))
The Natural Philosopher <tnp@invalid.invalid> wrote:
A power cut this a.m had my Pi zero W reconnecting to the  wrong wifi.
 
Which forced me to delve into the depths of network manager as evinced
by nmcli. Network manager is the new way to manage networks, and like
systemd, its all changed for the sake of it
 
You probably can edit the files directly - mine were in
/etc/NetworkManager/system-connections, but it's safer to use nmcli tools
 
 
You can set a priority if you have more than one wifi SSID.
 
sudo nmcli c modify <connection name>  connection.autoconnect-priority 1
 
You can also force it to use 5Ghz or 2.4Ghz or let it decide
 
sudo nmcli c modify <connection name> 802-11-wireless.band "bg"
 
or
 
sudo nmcli c modify <connection name> 802-11-wireless.band "a"
 
 
"bg" is 2.4GHz, "a" is 5GHz.
 
It may well be that bookworm has changed the implicit defaults in
network manager.
 
It is well worth dumping the connections with
 
sudo nmcli connection show <connection name>
 
To work out what the connection names are, use
 
sudo nmcli c show
 
I think - but am not sure - that you can set more stuff through the
command line than through the GUI interface to network manager
 
 

After a bit more fumbling two new wrinkles emerged. One was a report
of wifi being turned off by rfkill. This happened once before, and
re-setting the locale options seemed to fix it. This time re-establishing
the locale had no detectable effect.

After a bit more fumbling it appears that the wifi connects readily
when the wired ethernet is also connected. Maybe that's significant,
but exactly how isn't apparent to me.

Thanks for posting the hints on using nmcli!

bob prohaska


Date Sujet#  Auteur
27 Oct 24 * A bit more on Bookworm and WiFi problens21The Natural Philosopher
27 Oct 24 +* Re: A bit more on Bookworm and WiFi problens2Chris Elvidge
27 Oct 24 i`- Re: A bit more on Bookworm and WiFi problens1The Natural Philosopher
28 Oct 24 +* Re: A bit more on Bookworm and WiFi problens15<bp
3 Nov 24 i+- Re: A bit more on Bookworm and WiFi problens1Lawrence D'Oliveiro
6 Nov 24 i`* Re: A bit more on Bookworm and WiFi problens13<bp
6 Nov 24 i +- Re: A bit more on Bookworm and WiFi problens1Chris Townley
6 Nov 24 i +* Re: A bit more on Bookworm and WiFi problens2The Natural Philosopher
7 Nov 24 i i`- Re: A bit more on Bookworm and WiFi problens1<bp
11 Nov 24 i `* Re: A bit more on Bookworm and WiFi problens9druck
12 Nov 24 i  `* Re: A bit more on Bookworm and WiFi problens8<bp
12 Nov 24 i   +* Re: A bit more on Bookworm and WiFi problens2The Natural Philosopher
12 Nov 24 i   i`- Re: A bit more on Bookworm and WiFi problens1<bp
12 Nov 24 i   `* Re: A bit more on Bookworm and WiFi problens5druck
13 Nov 24 i    `* Re: A bit more on Bookworm and WiFi problens4The Natural Philosopher
13 Nov 24 i     `* Re: A bit more on Bookworm and WiFi problens3<bp
17 Nov 24 i      `* Re: A bit more on Bookworm and WiFi problens2<bp
22 Nov 24 i       `- Re: A bit more on Bookworm and WiFi problens1<bp
11 Nov 24 `* Re: A bit more on Bookworm and WiFi problens3druck
12 Nov 24  `* Re: A bit more on Bookworm and WiFi problens2The Natural Philosopher
12 Nov 24   `- Re: A bit more on Bookworm and WiFi problens1druck

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal