• Re: As Promised, the /etc/NetworkManager/system-connection Networking T

    From 56d.1152@21:1/5 to All on Tue Nov 7 00:38:45 2023
    On 11/7/23 12:22 AM, mm0fmf wrote:
    On 07/11/2023 03:39, 56d.1152 wrote:
    BookWorm changed a lot of things - and NOT always
    for the best. Particularly vexing for PI users who
    create headless, non-GUI, applications is that all
    the old ways of setting up static IPs and such for
    ethernet and wireless are no longer viable, and
    there's only the hideously-documented 'nmcli' for
    doing things. Yea, it CAN work - but it's so awful
    that it should commit suicide immediately for
    the good of human-kind.

    nmcli is really quite straightforward once you play with. Or use the 'graphic' text mode tool nmtui.

    No, I don't think it's "straightforward" at all. I'm
    gonna write a new one that IS.

    And basically we were talking "headless", non-GUI,
    installs - ie the "lite" versions for Pi.

    Anyway, do as you will. I'm just providing *a* way,
    that's still in the nmcli universe, but maybe easier
    to deal with. Someone else seems to have found a
    way to still use /etc/network and wpa_supplicant -
    albeit in a slightly odd way - that'll still work
    on Bookworm. It's just evil to be reduced to kinda
    un-inventing the wheel simply to Get Stuff Done.

    Seems a much better idea to me to learn to use the tools rather than
    muck about with files 'you have discovered' and could change on the next update rendering your work moot.

    Nope. Screw 'em. Looking at FreeBSD-ARM again already ...
    ain't gonna play the Canonical "Let's Change Everything
    For No Reason" game anymore. Linux suddenly seems to
    be self-destructing.

    Here's a link to nmcli, doesn't seem to be hideous to me.

    It is. There are a lot of things you have to set, maybe
    reset, for a eth0 or wifi interface. nmcli does NOT make
    that process smooth of obvious.

    Maybe to YOU ... but I've seen a number here who see
    it my way.

    <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-configuring_ip_networking_with_nmcli>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From mm0fmf@21:1/5 to All on Tue Nov 7 05:22:07 2023
    On 07/11/2023 03:39, 56d.1152 wrote:
    BookWorm changed a lot of things - and NOT always
    for the best. Particularly vexing for PI users who
    create headless, non-GUI, applications is that all
    the old ways of setting up static IPs and such for
    ethernet and wireless are no longer viable, and
    there's only the hideously-documented 'nmcli' for
    doing things. Yea, it CAN work - but it's so awful
    that it should commit suicide immediately for
    the good of human-kind.

    nmcli is really quite straightforward once you play with. Or use the
    'graphic' text mode tool nmtui.

    Seems a much better idea to me to learn to use the tools rather than
    muck about with files 'you have discovered' and could change on the next
    update rendering your work moot.

    Here's a link to nmcli, doesn't seem to be hideous to me.

    <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-configuring_ip_networking_with_nmcli>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Latham@21:1/5 to 56d.1152@ztq9.net on Tue Nov 7 12:57:32 2023
    In article <7tacnfvlDdgYLNT4nZ2dnZfqnPadnZ2d@earthlink.com>,
    56d.1152 <56d.1152@ztq9.net> wrote:

    [Snip]

    The templates ... first for wireless :

    Now for wired - simpler :

    Thanks for that. Having a good look at that.

    Bob.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From 56d.1152@21:1/5 to Bob Latham on Thu Nov 9 00:31:20 2023
    On 11/7/23 7:57 AM, Bob Latham wrote:
    In article <7tacnfvlDdgYLNT4nZ2dnZfqnPadnZ2d@earthlink.com>,
    56d.1152 <56d.1152@ztq9.net> wrote:

    [Snip]

    The templates ... first for wireless :

    Now for wired - simpler :

    Thanks for that. Having a good look at that.

    It works ... and making changes are really quick.
    No mucking around with the more complex, ill-doxed,
    aspects of 'nmcli'. Had to tweak two units just
    today, like 30 seconds each using nano.

    Beginning to work on a Python script to adjust
    those NetworkManager templates - something "for
    the rest of us" who almost always just have to
    change a FEW things.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)