Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Networking and servers • Re: Network watchdog?

$
0
0
One of the interfaces is on a USB port. Would the following cargoculted lines work to turn the USB stick off and then on again?

Code:

echo 0 > /sys/bus/usb/devices/usb1/bConfigurationValuesleep 1echo 1 > /sys/bus/usb/devices/usb1/bConfigurationValue
Maybe I don't know, but it get in the direction of 'reset'. I have once got some usbreset.c that can reset USB devices, that has worked in the past for buggy HW or FW. But stiil it is not powercycle, you need to solder wires ands stuff for that.

But it is all workarounds, you hope a reset will get you a better link, but what if the peer (AP) decides it simply won't work unless it sacrifices (multiple) others. That is what you're into maybe, but I don't want to waste my time on it.

Statistics: Posted by redvli — Mon Aug 04, 2025 10:32 am



Viewing all articles
Browse latest Browse all 8041

Trending Articles