Skip to content

Troubleshooting

Vasily Evseenko edited this page Jul 11, 2023 · 7 revisions

Proper usb wiring is very important!

Cheap / thin / unshielded USB cables may issue strange behavior like a lot of FEC errors and lost packets!

Always connect wifi card +5V wire to the BEC (not to USB +5V). Use at least 5A BEC for card power.

Add >= 470uF low ESR capacitor (like ESC has, for example for example Panasinic EEUFR1V102) between power and ground to filter voltage spikes. Be aware of ground loop when using several ground wires.

If your video pipeline doesn't work, before opening new issue please try following steps:

  1. Ensure that NetworkManager is disabled or there is line in /etc/NetworkManager/NetworkManager.conf both on TX and RX. Without this rtl88xxau driver may not receive any packets (tested on ubuntu-18.04):
[keyfile]
unmanaged-devices=interface-name:wlan0

where wlan0 is name of your card

  1. Run scripts/tx_standalone.sh wlan1 on TX host

  2. Run scripts/rx_standalone.sh wlan1 on RX host

  3. Run nc -lu 5600 on RX host

  4. Run echo test | nc -u 127.0.0.1 5600 on TX host

If you got test message - debug video pipeline.

If you don't see test -- run tcpdump on TX tcpdump -i wlan1 -n -p and repeat test (i.e. run tcpdump after WFB scripts, but before echo test).

If card successfully tx - repeat tcpdump test on RX host.