connection drops every 20 minutes

4 posts / 0 new
Last post
ceear
connection drops every 20 minutes

Hello,

I am observing a strange behavior on a raspberry pi zero w.

OS: dietpi

raspberry pi (A) connects in a IOT WIFI network (192.168.88.x/24).

My client computer Windows 10 (B) is in a wired network (192.168.10.x/24)
the networks are connected via a PFSense firewall.

Firewall-Rules B -> A : TCP 22, TCP 7575, ICMP

Directly after a fresh installation I can connect from the client (A) to the pi (B) via ssh and start a PING from A to B at the same time. The connection is stable, without failures. (tested up to 120 minutes)

i then start vhusb on (B) and connect on (A) the client. i can use a connected USB stick.

But from now on the connection breaks exactly every 20 minutes. also the ssh connection / ping are interrupted. after about 10 seconds the connection is re-established.
in the logfile of vhusb it says "timeout". No other logs.

i realize that it's probably not a problem with vhusb, but since the connection is stable without vhusb and i just have no idea anymore, i'm grateful for any hint.

Thank you,

Michael
.

Is there anything in dmesg around the time it drops?

Also what is the usb device you are using via virtualhere?

Some things to consider'
-> How much power does the usb device draw? Maybe there is a power supply limiting issue when it performs some function.
-> If the USB device is a radio type device e.g bluetooth dongle, wifi dongle maybe there is radio interference at some point

ceear
Thank you for your

Thank you for your suggestions!

Just checked again the logs.
Last entry in kernel-log is at 07:41 (probably end of boot). First drop at 08:12

Jan 04 07:53:01 DietPi vhusbdarm[823]: >>> Starting VirtualHere USB Server v4.3.5 (Built: Dec 15 2021, 07:33:18)<<<
Jan 04 07:53:01 DietPi vhusbdarm[823]: Using configuration /opt/config.ini
Jan 04 07:53:01 DietPi vhusbdarm[824]: Server licensed to=unlicensed max_devices=1
Jan 04 07:53:01 DietPi vhusbdarm[824]: Using large URB's
Jan 04 07:53:01 DietPi vhusbdarm[824]: Listening on all network interfaces at TCP port 7575
Jan 04 07:53:02 DietPi vhusbdarm[824]: 192.168.10.24 connected as connection 1
Jan 04 08:12:28 DietPi vhusbdarm[824]: Connection 1 successfully removed (reason:timeout)
Jan 04 08:13:26 DietPi vhusbdarm[824]: 192.168.10.24 connected as connection 2

Also what is the usb device you are using via virtualhere?

at the moment i don't use any usb device. for testing i just start vhusb and connect the client. the client shows an empty usb server.
but i will replace the power supply just to be sure.

ceear
to speed this up. i have now

to speed this up. i have now alternatively connected the client to the same wifi network as the server.
the connection is now stable. so it has to be some security feature of the firewall.

Log in or register to post comments