Increasing USB<->Ethernet Stability?

Hi all,

I recently have been working on an old laptop. It didn't have an on board ethernet so I purchased a generic USB/ethernet adapter.

It works, but about once a day or so it conks out. Are there any configuration files I could tweak to improve stability?

Thanks for any help!

Posted Jan 31, 2022, 10:00 PM UTC

210
BridgeBumOP•

Here's a pastebin link to stuff in syslog, at a glance this matches what is dumped to the console.

https://pastebin.com/aTPTaeRE

As mentioned, hardware is an old (ASUS) laptop. It's being used as a household "server" temporarily waiting for new hardware to be configured & installed. The USB/Ethernet is a generic "Amazon Basic". I have installed no drivers or the like, it has worked out of the box with the exception of these crashes.

I'm trying to avoid having to manually reset the interface, as I don't have any outside mgmt interface at the moment. Trying to work that angle too.

2
ang-p•

Are there any configuration files I could tweak to improve stability?

If you could grace the kind people here with some logs around the time of the "conking out", or even the vaguest information about the hardware involved, that might help your cause...

1
BridgeBumOP•

The console spills out a screen worth of crap, the interface goes down. I don't have a good way of capturing the information displayed on the screen, but if you can point me to a good log I'll happy to go hunting.

This is on a proxmox installation, the actual "server" which is debian based.

I'll poke around some and see what I can find.

1
aoeudhtns•

I'd be curious about your dmesg. I've not had issues with USB Ethernet personally, but I have seen USB ports get loose. Although typically it's more common in the cable, around the join to the plug, than in the computer. But especially laptops for the port itself due to it being more common for a chunky cable to be a lever against the port.

If you do check dmesg, see if you get disconnect/reconnect events around the time you have troubles.

1
BridgeBumOP•

I will check, but understand that this is happening in a room with no one in it. I don't know what could cause something to come loose on its own.

1
aoeudhtns•

It's probably a red herring but you'd be surprised what havoc a micro fracture in solder could do. It's at least worth eliminating before thinking about driver or configuration issues since it's a dumb problem with easy fixes.

1
BridgeBumOP•

If there is a problem like that I'd expect the crack would be on the laptop side, not the dongle. This particular laptop got dropped, which cracked the screen.

Did I mention this is a temporary set up? :)

There are limited usb ports available, there's also a portable hard drive plugged in. I'm not sure this device has a 3rd port and I don't have a usb hub handy.

Still, I'll see if swapping the ports fixes the problem.

1
BridgeBumOP•

I don't see anything in "dmesg -k" that jumps out at me, but I have rebooted the device since the interface went down, not sure I'd see anything at the moment.

1
Barlight24•

First thing I'd look for is whether or not the device is cutting power to the USB port.

1
BridgeBumOP•

That's precisely what I was wondering, hence the question about configs.

1