• Issues with D-Link DWA-160 network adapter

    From Ceppo@21:1/5 to All on Wed Feb 5 16:30:01 2025
    Hello everyone.
    I've been using my D-Link DWA-160 network adapter for around two years
    without any issue for a couple of years. Some weeks ago however, it
    started misbehaving.
    After I use it as usual for a seemingly random amount of time (but see
    below), spanning from a few minutes to several hours, I suddenly get disconnected from wifi. After that, if I try to connect again with nmcli
    my computer freezes and I can only force it off. However, if I unplug
    the adapter, plug it in again and then reconnect with nmcli everything
    works fine - until I get disconnected again.
    At first I didn't bother to even look for a solution, since this
    happened only once in a few days. However, now it happens several times
    a day, and most often when I reach high download speeds. Anything around
    2 MiB/s for more than a handful of seconds seems to be a granted
    trigger.
    I couldn't find any useful information online and I know nothing about
    wifi hardware or software. Can anyone help troubleshooting this?


    --
    Ceppo
    https://wiki.debian.org/Ceppo
    Please, encrypt our messages with the key at the link above and send me yours.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lucas Rufkahr@21:1/5 to All on Wed Feb 5 16:30:01 2025
    Is there anything you have changed to the system lately? Is there another adapter you can use and try and recreate the issue?- - -
    Lucas Rufkahr





    Feb 5, 2025 at 09:24 by ceppo@oziosi.org:

    Hello everyone.
    I've been using my D-Link DWA-160 network adapter for around two years without any issue for a couple of years. Some weeks ago however, it
    started misbehaving.
    After I use it as usual for a seemingly random amount of time (but see below), spanning from a few minutes to several hours, I suddenly get disconnected from wifi. After that, if I try to connect again with nmcli
    my computer freezes and I can only force it off. However, if I unplug
    the adapter, plug it in again and then reconnect with nmcli everything
    works fine - until I get disconnected again.
    At first I didn't bother to even look for a solution, since this
    happened only once in a few days. However, now it happens several times
    a day, and most often when I reach high download speeds. Anything around
    2 MiB/s for more than a handful of seconds seems to be a granted
    trigger.
    I couldn't find any useful information online and I know nothing about
    wifi hardware or software. Can anyone help troubleshooting this?


    --
    Ceppo
    https://wiki.debian.org/Ceppo
    Please, encrypt our messages with the key at the link above and send me yours.


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ceppo@21:1/5 to Lucas Rufkahr on Wed Feb 5 18:00:01 2025
    On Wed, Feb 05, 2025 at 04:27:20PM +0100, Lucas Rufkahr wrote:
    Is there anything you have changed to the system lately?

    I can't recall any update of related stuff. But I am on sid and update
    almost every day, and at first I didn't pay much attention to the issue,
    so I could have missed something.
    The only thing I can think of is the firmware from firmware-carl9170.
    But I use version 1.9.9-450-gad1c721+dfsg-0.1, that should be from June,
    and if I remember correctly the issue didn't arise before the end of September.

    Is there another adapter you can use and try and recreate the issue?-

    Not right now. You mean another adapter with the same chipset? I may
    have a chance to borrow one next week, but I'm not sure about the
    chipset.


    --
    Ceppo
    https://wiki.debian.org/Ceppo
    Please, encrypt our messages with the key at the link above and send me yours.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEdITIc+KDsfJi9wdlzV8M+/K0eFUFAmejmKYACgkQzV8M+/K0 eFXQRA//fSFn3v489hCAAm+NcpQLLotY71NbAjbIByWnYQZTkHr41N5HiddfAbFg E/R2fXX47B4uStqVZIqxuqzvF96MGEDcDPhkxhfkDw/LSnznZfXkVtfRPt9pM6aA qIuu7Z/6n/5Bye6mc+g3jHWJjv6NUOBlA4GRgEzcq5T/7V4zjkEYd7LY+BXYUaPr EBmI1ll6H6+QkxeIFvFtT+D/UFv9L1ymOuSdwtSgbUmulmK0vVopfTFG4B5gdfSE MBZvQqwu+iw+R/LKrKfROxsJ51QV9a3dawz7ZNgul2IKfgDBqjPlgmsmGPFUOXyv 8kOCkVwJRgBp6KuYJ2xzFXEW0/eY4HOjOgswKjQP+lTHZ0H8dEQqOtvvmF/d/XF4 Mr66wyWN97NISUsraw4vlKz+fEGEV++9K2Tjr+X/ojh88w751UFwleGPM9IDwTzI vVUJMdAaVSwhFW7ZyAbfWMO2ty6FNpmzy+bVmgNSL8IfgNTVbvNy4mXYqVpWGSjx 7GU82UbMubJ0fVlfKvZnpzhoJfEox4Q1OfSakimSZmg0JvaCOXBX1FPeRuQHzai4 tzooW9SqLI146DSRgnwc/4DIIXcNSmz9jaXNCYHkoD2w3reXxa5/UMQ8K8tULMCl atnLev65H2fiCqkPTDJjgs/QfUGex+m/X+iqjWq3oO04Z2XuJKY=
    =ybxM
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usen
  • From eben@gmx.us@21:1/5 to Ceppo on Wed Feb 5 18:20:01 2025
    On 2/5/25 10:16, Ceppo wrote:

    At first I didn't bother to even look for a solution, since this
    happened only once in a few days. However, now it happens several times
    a day, and most often when I reach high download speeds. Anything around
    2 MiB/s for more than a handful of seconds seems to be a granted
    trigger.

    If you unplug-replug faster does it crash sooner? Conversely, if you stick
    it in the freezer does it last longer before crashing? Also, is this USB or
    a card? If USB, does it have a case you can remove? My hypothesis is that some component is overheating based on its failures being related to throughput.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ceppo@21:1/5 to eben@gmx.us on Thu Feb 6 12:10:02 2025
    On Wed, Feb 05, 2025 at 12:17:40PM -0500, eben@gmx.us wrote:
    On 2/5/25 10:16, Ceppo wrote:

    At first I didn't bother to even look for a solution, since this
    happened only once in a few days. However, now it happens several
    times a day, and most often when I reach high download speeds.
    Anything around 2 MiB/s for more than a handful of seconds seems to
    be a granted trigger.

    If you unplug-replug faster does it crash sooner?

    I don't have any real statistics about this, but I'll try.
    What I can tell at the moment, is that when it disconnect it doesn't
    matter how long I wait before unpluggin and (immediately) replugging: it crashes again in less than 1 minute under heavy load, or anything from a
    few minutes to several hours otherwise.

    Conversely, if you stick it in the freezer does it last longer before crashing?

    I don't dare placing any hardware in such a wet environment, but
    refrigeration by contact with an ice pack doesn't produce any
    difference.

    Also, is this USB or a card? If USB, does it have a case you can
    remove?

    It's USB, and I think I can't remove the outer plastic case without
    breaking it. See this [image].

    My hypothesis is that some component is overheating based on its
    failures being related to throughput.

    This is an interesting idea, but if this was the reason I couldn't
    imagine why the issue only arised after ~2 years of use without any significant change in my network activity habits. E.g. I use to download
    huge and higly available files throught bittorent very often, so 2 MiB/s
    or more is not an unusual throughput.


    [image]: http://web.archive.org/web/20250206100923if_/https://media.pangoly.com/img/8/1/7/f/817f0ce6-9cad-4f47-8481-9dd9166abc46.jpg


    --
    Ceppo
    https://wiki.debian.org/Ceppo
    Please, encrypt our messages with the key at the link above and send me yours.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEdITIc+KDsfJi9wdlzV8M+/K0eFUFAmekl60ACgkQzV8M+/K0 eFX3QxAAgVaZNDGQJAjoPMAcadu9VSTt+P9TIZMAn3vylQ/2nsWIdMsCs1qyhQP0 vBRlVnSFs5XpRhiPgYfT/fkmWrGr+/HSANUz5g7quD2um13AQJOHQLKEvIuoDNHM xd1kA0/9vo4KW9I/ST751Y9SJZ0tOhpuT1fFgQbJMITTbY4KrDwBmvwovpHdy/xh D/XY7LSxhvi/HqMXSAbtso6QMO3SSShXoo3/Gqg8VJbzJPuRYzDEfUyWFrgeQl6A 4peXJqMZ9rYYguLSK2tlyYrlLrELKvljwe1x8ZKNUqvDtsiiA+Ewnxhlxm/sdSMJ Bh82nA8LUXZAsshbD++wblMewqdYMfdX7EzhL6wppZcL76FO447CHJ9uk4crPhEv 5wU93IwDYTfHtjLYkiuXCzKiS0nKvC/bVSMM8uvxKVEHfT3hNUIAj/NZX/P+QssV N8vDbJ0klehC6IpzSHWMKJEqq06vS4cAcl0lDX9Pd0oSu23hAWHdMJCrGGyt0tgA pNg7WYNZVwsMP56b9RPfz0veSNMIQ8q7FvPL6DTaRSa/9bQloVt+pfC2/ryHlajx +Af0/6CMneCqkf/RJFEJpArVKu/dIneMIJX/8qpHugew++HWp6dr/uCJxQR1QmxF rE+u37hhe/RGMmx37qOwUvjg3xz2kPYY62hMIjtmzcR00nznmrc=
    =ojg/
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usen
  • From eben@gmx.us@21:1/5 to Ceppo on Thu Feb 6 15:40:01 2025
    On 2/6/25 06:06, Ceppo wrote:
    On Wed, Feb 05, 2025 at 12:17:40PM -0500, eben@gmx.us wrote:
    On 2/5/25 10:16, Ceppo wrote:

    Also, is this USB or a card? If USB, does it have a case you can
    remove?

    It's USB, and I think I can't remove the outer plastic case without
    breaking it. See this [image].

    Yeah, it doesn't have much thermal mass so the theory is harder to test.

    My hypothesis is that some component is overheating based on its
    failures being related to throughput.

    This is an interesting idea, but if this was the reason I couldn't
    imagine why the issue only arised after ~2 years of use without any significant change in my network activity habits. E.g. I use to download
    huge and higly available files throught bittorent very often, so 2 MiB/s
    or more is not an unusual throughput.

    Thermal compound (if there is any) dried out? If you can trigger a failure
    by heating the device with say a hair dryer, that's supporting evidence.
    But yeah, it might be some software. Or some component aging and changing
    its behavior slightly out of spec.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ceppo@21:1/5 to eben@gmx.us on Mon Feb 10 11:20:02 2025
    On Thu, Feb 06, 2025 at 09:36:28AM -0500, eben@gmx.us wrote:
    Thermal compound (if there is any) dried out?

    There's none. At least not visible, or replaceable.

    If you can trigger a failure by heating the device with say a hair
    dryer, that's supporting evidence. But yeah, it might be some
    software. Or some component aging and changing its behavior slightly
    out of spec.

    I performed the hair dryer test, but couldn't trigger the disconnection.
    I kept the adapter warm, to a temperature higher than what I get during regular use, for around 15 mins. Under heavy load this is long enough
    for 2-4 disconnections.


    --
    Ceppo
    https://wiki.debian.org/Ceppo
    Please, encrypt our messages with the key at the link above and send me yours.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEdITIc+KDsfJi9wdlzV8M+/K0eFUFAmep0dwACgkQzV8M+/K0 eFUhUg/+O1xGZJXc4kpbwbOnhi5yY55NwbD//RGSrdHh7aQV/L/oyrSFqrZBrnIw qClAscde1ylA9vPwEwpg6Tf/spjbb0OXXYpYKHjtoLpS4iNb4cYWis4Sg76CK0CQ 1zy/iC2ARr/YY0QJVXpChqK8mV26xsABFncL2OcdNlq3swSTTOPYZomZwhzXo2Jw 61AlIQPvZ4j4CGffireMpBRj9Wn8wgEa3i8gcfOwBJa8Qw90oGKL9QrwtdBimCWy 1+gfjj53fhEmo4ypAvwoE5EdGo7GukvsI4IYYg6pmkaGzU2xpqm7L9AAGrATy7X7 2ZMVFmKT6/WVsHDJgq7vZKuE/GecM6E5YKe59MQoOhxsh2PQc+Q2/ZdiMUAtdiQA 3JMG7fQkbs8AT2QzK+b3BB/zHD1v9LD6lMdYpC8AftVHKpakNSyuMM01H0HIFMyl zsuvunV2dj/TBHfV05Zk1HbztUYQjFZtphoq7nDUwx5SokK5ZlfRpgFe78XH7XD/ mJ5K4zohdqymgrhDAz02Dw/NteA3uCA8AObifyDMHRuBDosqr7L0RKQAe6R05K0/ eX73BNtqxhCUyVTS/WN2yRyf4rQDe33EgnY3rtGV2nfCRhGgzbYly+i71xZoe5sM qLyvCDxK0WUMqxk4/8HVyIMDDFNo3Ybg151m0AerJv9UZBXwPKk=
    =PkPV
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usen
  • From eben@gmx.us@21:1/5 to Ceppo on Mon Feb 10 16:10:01 2025
    On 2/10/25 05:16, Ceppo wrote:
    On Thu, Feb 06, 2025 at 09:36:28AM -0500, eben@gmx.us wrote:
    Thermal compound (if there is any) dried out?

    There's none. At least not visible, or replaceable.

    If you can trigger a failure by heating the device with say a hair
    dryer, that's supporting evidence. But yeah, it might be some
    software. Or some component aging and changing its behavior slightly
    out of spec.

    I performed the hair dryer test, but couldn't trigger the disconnection.
    I kept the adapter warm, to a temperature higher than what I get during regular use, for around 15 mins. Under heavy load this is long enough
    for 2-4 disconnections.

    Welp, there goes my theory. Thanks for checking. Ah well.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ceppo@21:1/5 to eben@gmx.us on Thu Feb 13 18:40:01 2025
    On Mon, Feb 10, 2025 at 10:08:46AM -0500, eben@gmx.us wrote:
    Welp, there goes my theory. Thanks for checking. Ah well.

    Well, it was worth checking. Thanks for the suggestion.
    I guess I'll file a bug report.


    --
    Ceppo
    https://wiki.debian.org/Ceppo
    Please, encrypt our messages with the key at the link above and send me yours.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEdITIc+KDsfJi9wdlzV8M+/K0eFUFAmeuLM4ACgkQzV8M+/K0 eFX7tw//QXsaD1zJKUAdnsCwISUTfGogU5cvIw7LssIbmRrwIHedWXndCvCxxYYP Oo09dTIJ8S1zPKvb4cQibIdd5BbHQv0mXcS38G7edtlcjWJu4dcexLuHrjHact1y 2EqIgm5ejBy/gmRExdYYiHGzpzyBKE+J2W7srzUL6FkxyoT79pP6RJ/F+fIH4FgI PYbjGiscoEJYo0xWmUBaeTcwh/ozUruri+CN+PiqdyFhcH74Zmlbz0VOvLVvGjGB Pw+rPzxzcL8xhA70i1nbSdnLycRCjC7XOkfuQoyfY4y4pRX5dHRQjf19tr5m4JUb JjJceVf8qp0flH7KBZHBxByVgLH91YZGz6h17JVRZ/tmwgxs7OyrXxs4S9Osji8w 3CLAdpNjWneYHOyZPBnpQk1z+Y09bFSjKTLr3vYuamIIdGrLnvacGNEDXbLVAO8e agKXeuSiTpvgkntoTHJOXrmYJk8evE8DJSN9cEL6Aol271izJvkeV08bf/DlNFGV rG+1xHcO9TsCbg0Nv3PgjfTCdqpeNzdsIJAd2ulvPphzU9OY4m+DKlyfkwK8Y8mu bQJ3HkdQ5m2vm7/flVQ6hwzFhtr/cHyczKyiwBzsdWob6PQkziSbhbDF4B6pNRJD tOtgte2cj6QPAFEDGiZFY7fm8BlBtVagpIhQXaXIuibumAN1REg=
    =7pG5
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usen
  • From Ceppo@21:1/5 to Max Nikulin on Thu Feb 20 17:20:01 2025
    On Fri, Feb 14, 2025 at 09:32:25AM +0700, Max Nikulin wrote:
    Something might change outside your machine: you installed another
    router, more devices have been added to your wifi network, including
    ones actively using multicast (IPTV), some of your neighbors installed
    new access point working with higher power on the same channel...

    Nothing I can recall.

    I have seen various recipes, but I have not tried them, so unsure
    concerning real effect: explicitly disable 802.11a and 802.11b low
    bitrate modes, try fixed frequency instead of autoselect, disable dual frequency channel mode on 2.4GHz band.

    I tinkered a little with the settings, to no avail. Of course, not
    knowing what I'm looking for I may have missed something important...

    I assume, you have tried backports kernel and latest firmware.

    Yes. I'm on sid with linux-image-6.12.15-amd64 version 6.12.15-1 and firmware-carl9170 version 1.9.9-450-gad1c721+dfsg-0.1.


    --
    Ceppo
    https://wiki.debian.org/Ceppo
    Please, encrypt our messages with the key at the link above and send me yours.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEdITIc+KDsfJi9wdlzV8M+/K0eFUFAme3VKcACgkQzV8M+/K0 eFWyXA//erBzVF+GRSJchGOxLF1BNOqLZwWxWQ4d5pyHct27cnsw2sHLXR0NXnAT Ng9f7nFLWKpDqXAOOvwDBvU6yylm0sfoTCzimfu50xRDzy+g7YkFRA+BPdTWCfss LEU8OMgVd9xsYAilgEG+MLb9ZDpjZprnA9Eu0ij0HhMEurrr5pDehMhzJGgsQqet gTqzSDYpu5BzGf5wkA4xXmlHs/RNFtYsatuuR1Z8uDwGXfS6ShtkRG5XTn3sWURE ueJ7XneTrUcZGLjn8YfVuwbtdW9NWH6G1QMB2kou+15nuRzVjTw2zROKmtdulZum w2pHfBSI/I9XvZdB+dz9HBmj0Fjv5uy2wL7BQAhPKh+gb3+1fcoqROI30qHvadj+ 4+8UR3MVzl894x5cLs/iD1TepPx3kqtvuIoye+cPe968d5IWDPVJziFr/DZ4pl6T QXfuRMmUxpl8HoDAub2MPxxPCrAO0DVLJXI0dqH5yEuJRjLLSNnDNMCZP2iVy9lN QqNTE5ft/610GD8RlWZjygLwGNQQsE7Gq2NyGUvD7Iv2yihCSNFoFhncaZnhiD4o WTJIW2LCbZLTfYmOlUdt4nR+U1/b9+zwVKg7oyyO5gFveQk00tpqFzAqtNtzvEbd 39BM9KVFDYKZ7MFPrHBho38q0LmxEN2cjXenz+hV6acM2Ypnv0c=
    =JwLK
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usen