On Thu 14 Jul 2022, at 01:03, Ram Ramesh <rramesh2...@gmail.com> wrote:
[...]
> I take back some of what I said. It is both - I mean usb 
> autosupend+avahi_daemon. I need to keep the adaptor from autosuspending 
> and tell avahi-daemon not to disable the interface in the OS.
>
> I also found the power/control entry in /sys/bus/usb/.... for my usb 
> NIC. It is not in the usual place. lsusb does not list my usb ethernet 
> adapter at all. I had to manually search to find it and set its 
> power/control to "on"
>
> With all this done, so far my net is up and running fine. Will wait a 
> couple days with a couple of reboots to make sure I have captured all 
> fixes in some boot scripts. After that this problem can be thought of as 
> solved.

Hi Ramesh,

There are numerous reports (mostly old, afaics) of the issue you describe, but 
with various suggested reasons.  

I suspect the avahi related part is a consequence rather than a cause - I 
didn't think avahi was capable of disabling interfaces, the message looks like 
it's updating a table/list (etc) and "...no longer relevant..." messages appear 
in my syslog if I deliberately disconnect from wifi.

Please can you provide syslog extracts from just before and during a time when 
this has happened, using:

$ sudo cat /var/log/syslog | grep -i -E "avahi|network"
(must be capital -E and no spaces around the | inside the speech marks)

Is there anything that seems relevant in

$ sudo dmesg -T

?

Out of interest, did you try running for a while with just the power management 
tweak?

Thanks,
Gareth

Reply via email to