INTL 3:770/1 3:770/3   
   REPLYADDR tnp@invalid.invalid   
   REPLYTO 3:770/3.0 UUCP   
   MSGID: a0038972   
   PID: SoupGate-Win32 v1.05   
   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.autoconnect-priority 1   
      
   You can also force it to use 5Ghz or 2.4Ghz or let it decide   
      
   sudo nmcli c modify 802-11-wireless.band "bg"   
      
   or   
      
   sudo nmcli c modify 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    
      
   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   
      
      
   --   
   “Those who can make you believe absurdities, can make you commit   
   atrocities.”   
      
   ― Voltaire, Questions sur les Miracles à M. Claparede, Professeur de   
   Théologie à Genève, par un Proposant: Ou Extrait de Diverses Lettres de   
   M. de Voltaire   
      
   --- SoupGate-Win32 v1.05   
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)   
   SEEN-BY: 19/38 90/1 105/81 106/201 128/187 129/305 153/757 7715 218/700   
   SEEN-BY: 218/840 220/70 226/17 30 100 227/114 229/110 111 114 200   
   SEEN-BY: 229/206 300 317 400 426 428 470 550 616 664 700 266/512 267/800   
   SEEN-BY: 282/1038 291/111 292/854 310/31 320/219 322/757 342/200 396/45   
   SEEN-BY: 460/58 633/280 281 412 418 420 509 2744 712/848 770/1 3 100   
   SEEN-BY: 770/330 340 772/210 220 230 5020/400 5075/35   
   PATH: 770/3 1 633/280 229/426   
      
|