INTL 3:770/1 3:770/3
REPLYADDR tauno.voipio@notused.fi.invalid
REPLYTO 3:770/3.0 UUCP
MSGID: d3442173
REPLY: 5d671b31
PID: SoupGate-Win32 v1.05
On 29.10.2024 22.28, druck wrote:
> On 28/10/2024 18:54, bp@www.zefox.net wrote:
>> At that point the Pi5 appears to start scanning 5 GHz access points,
>> despite being told otherwise in /etc/NetworkManager/NetworkManager.conf .
>> That looks to me like a software problem.
>
> This is why I wasn't happy about Raspbian moving from dhcpcd to Network
> Manager. Quite often my Linux Laptops which use Network Manager decide
> they would like to try WiFi networks other than the one I've chosen,
> that's easily fixed via the gui, but not what you want on headless systems.
>
> You could try disabling the NetworkManager service, and reinstalling
> dhcpcd so the WiFi is only selected by the contents of the
> wpa_supplicant.conf file. It worked fine for everything before Bookworm.
>
> ---druck
dhcpcd is not needed: systemd-networkd contains a pretty good DHCP
client when properly configured.
Jettison NetworkManager, just stop and disable it, after creating the
systemd-networkd configuration files.
You need to create a .network file:
# /etc/systemd/network/30-wired.network
[Match]
Name=eth0
[Network]
DHCP=ipv4
[DHCP]
ClientIdentifier=mac
UseDNS=yes
UseNTP=yes
UseHostname=yes
SendHostname=yes
The [DHCP] section is optional, to give instructions to the DHCP
server.
The name in Name= must match the name which is set to the interface.
Systemd tends to mutilate it with PCI bus address or MAC address, to
help separate multiple Ethernets. It is possible to turn off the
name change, e.g. for USB interfaces on Raspberry Pi by symlinking
the file 73-usb-net-by-mac.link -> /dev/null
The configuration files reside in /etc/systemd/network/
--
-TV
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
SEEN-BY: 10/0 1 90/1 103/705 105/81 106/201 124/5016 128/187 129/305
SEEN-BY: 153/757 7715 218/0 1 601 700 840 870 930 220/70 221/1 6 360
SEEN-BY: 226/17 30 100 227/114 229/110 111 114 200 206 300 317 400
SEEN-BY: 229/426 428 470 550 616 664 700 240/1120 266/512 267/800
SEEN-BY: 282/1038 291/111 292/854 301/1 113 812 310/31 320/219 322/757
SEEN-BY: 335/364 341/66 342/200 396/45 460/58 633/280 712/848 770/1
SEEN-BY: 770/3 100 330 340 772/210 220 230 5020/400 1042 5075/35
PATH: 770/3 1 218/840 221/6 301/1 218/700 229/426
|