• Re: DHCP and static addresses, nothing to do withRe:Who:Bookwormv.Trixi

    From gene heskett@21:1/5 to tomas@tuxteam.de on Fri Apr 4 17:40:01 2025
    On 4/4/25 05:57, tomas@tuxteam.de wrote:
    On Fri, Apr 04, 2025 at 05:17:24AM -0400, gene heskett wrote:
    On 4/3/25 09:29, Greg wrote:
    On 2025-04-03, Dan Purgert <dan@djph.net> wrote:

    That's what you want: as the address is in the 127.0.0.0 network,
    pinging it will ping itself, and it gets a reply. It doesn't
    require your LAN to be set up, and AIUI it's like localhost
    (127.0.0.1) in that it doesn't touch the network hardware.
    Indeed, the entirety of 127.0.0.0/8 is the virtual loopback adapter
    (i.e. "localhost").
    Doubtless yet another fallacious notion, but I thought IPV6 opened up
    the flood gates of assigning "real" ip addresses to whatever the heck
    Gene's talking about.

    I guess it isn't happening any time soon.
    The more rural WV areas are an ipv6 desert, and given Debian's penchant for >> ipv6, its disabled here.  I've no clue, but it seems to me that if it gets >> no replies trying ipv6, it should fall back to ipv4.
    The problem is what is "it". Currently it's each application (using some underlying library). The normal path is:

    - resolve the name (there you can get both A and AAAA records, if
    the programmers know what they are doing)
    - try one of them: which one first? Wait for some timeout (how
    long?) try next.
    - ideally, try all of them in parallel (suddenly you end up with
    an application written in non-blocking style or -GAH!- even
    some multi-threaded monster.

    The solution is underway, is called "happy eyeballs" [1] and will be
    here some day.

    At the DNS resolution level you can prioritise whatever suits you by
    editing /etc/gai.conf, which comes with a man page.

    Which in my case, never heard about before, was there but 100% commented
    out. Uncommented what claimed be ipv4 preference but it didn't do
    anything for my freezes.

    Thank you Tomas.


    Cheers

    [1] https://en.wikipedia.org/wiki/Happy_Eyeballs

    Cheers, Gene Heskett, CET.
    --
    "There are four boxes to be used in defense of liberty:
    soap, ballot, jury, and ammo. Please use in that order."
    -Ed Howdershelt (Author, 1940)
    If we desire respect for the law, we must first make the law respectable.
    - Louis D. Brandeis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From gene heskett@21:1/5 to John Hasler on Fri Apr 4 19:20:02 2025
    On 4/4/25 11:47, John Hasler wrote:
    Gene writes:
    Which is to fix the reason for a 30 second all system freeze of the
    system when trying to access a file I own, or want to create, in my
    /home/me directory.
    This happens only in that directory and only when you own the file?

    I think its a bit more complex than that. I'm the only user since I'm
    alone now, but it does not seem to bother synaptic if I launch it from
    the gui menu or sudo apt to update. Working as me 99% of the time, its a PITA.  I keep the stuff I use current, like the weekly builds of
    OpenSCAD so there's quite a few AppImages.  So my $PATH has been
    expanded to include that directory and a /home/me/bin where I keep my
    bash scripts.

    Thanks John.

    Cheers, Gene Heskett, CET.
    --
    "There are four boxes to be used in defense of liberty:
    soap, ballot, jury, and ammo. Please use in that order."
    -Ed Howdershelt (Author, 1940)
    If we desire respect for the law, we must first make the law respectable.
    - Louis D. Brandeis

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