On 2023-04-26 09:48, Charles Rinnoch wrote:
On Wednesday, 26 April 2023 05:49:25 BST Felix Miata wrote:
That needn't stop you from using systemd-networkd. It's pretty well covered here, assuming you're using eth0, static IP, and know how to build resolv.conf: <https://lists.opensuse.org/archives/list/support@lists.opensuse.org/messag e/U5JAS2JURUJ5TNFQHVM6Z6ZGB2ULICEA/>
Therein lies 2 problems for me:
* I use a static IP and DHCP on each network interface
* I expect there to be tools which configure networks without needing to explicitly rebuild resolv.conf
We had a long thread recently on handling that file, if you are interested - huh, the thread was split in four: <https://lists.opensuse.org/archives/list/users@lists.opensuse.org/message/XXXQONM27PM42NIYKG4SA5YUSLTOBRM4/> <https://lists.opensuse.org/archives/list/users@lists.opensuse.org/message/YEF6MT4EDPAUEVGOYUARQAWSBKUTSTT5/> <https://lists.opensuse.org/archives/list/users@lists.opensuse.org/message/WUWQXTCFWBIKYNFRQ7W6SBACYA5EOU4Z/> <https://lists.opensuse.org/archives/list/users@lists.opensuse.org/message/PXNC3TO2BWKUMRJG3N46KSGWYIYW2KBH/>
Linux gives great freedom, which I appreciate and I like the fact that I can dive into all sorts of config if I so choose. But I have been doing SUSE for over 20 years now, starting with 6.x [apart from a few years when there was only Tumbleweed] and I think we should be expecting a mainstream distribution to be mature to the degree that it has tools to set up things like networking to the full. Linux should be for everyone, not just hardy fools, although I am happy to be a hardy fool if it makes things more accessible to everyone.
Unfortunately, while we have a choice [great] of Wicked and Network Manager, neither of these covers both of my use cases and there is the threat of Wicked being deprecated, despite the proposed default of Network Manager [seemingly] not supporting a basic use case of NFS shares being required prior to the first log in screen. I am prepared to work with this to get Network Manager covering this use case or even to work with Wicked to get it to cover mobile usage with wireless with similar ease to NM and I don't want to succumb to a frustrated rant.
Another way to solve this is to mount the shares on demand. fstab line:
telcontar.valinor:/nfs_share /mnt/nfs nfs noauto,nofail,x-systemd.automount,x-systemd.idle-timeout=300,_netdev,nfsvers=4 0 0
Then Andrei posted today how to coach NM into doing it "right". -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)