-
I am unable to establish a link between the GS and the drone. I'm using vanilla setup with rtl8812au cards with the patched driver. My syslog after starting GS (drone side is identical apart from the adapter name) is at the bottom. I get TUN adapter but packets do not go through to the other side. I've tried to run Wireshark on both ends and I see a lot of traffic with MAC 132233445505. Not sure if this is WFB traffic or not. wfb-cli reports link as lost.
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 3 replies
-
According to log session was established, but unstable.
|
Beta Was this translation helpful? Give feedback.
-
For these tests I have WiFi cards appx. 10 cm away from each other. Each card has it's own power supply.
GS:
UAV:
$ sudo systemctl stop NetworkManager
5: gs-wfb: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1446 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 wlx48d890cdb0d5: flags=4099<UP,BROADCAST,MULTICAST> mtu 2312 Drone: lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 wlan1: flags=4099<UP,BROADCAST,MULTICAST> mtu 2312 |
Beta Was this translation helpful? Give feedback.
-
Why drone has wlan0 and wlan1 (used wlan1 for wfb) and gs has wlan0 and wlx48d890cdb0d5 (used wlx48d890cdb0d5 for wfb) if they have the same rtl8812au cards with the same patched driver? It seems that the problem is here |
Beta Was this translation helpful? Give feedback.
-
Both GS and UAV have a built-in RPi wi-fi card that I use for console access. Both also have a patched driver and USB connected rtl8812au. I can try and disable built-in cards and use serial console for verification. |
Beta Was this translation helpful? Give feedback.
-
Check why rtl8812au has different interface names on GS and UAV. Use |
Beta Was this translation helpful? Give feedback.
-
Is there a way to debug TX chain? I can TX fine from the GS to the drone. When I tcpdump TUN connection on the drone, I see pings from GS coming in and reply being sent, but nothing reaches the GS. Same for the video link - trying with some random nc traffic, I don't see them received on the GS side. |
Beta Was this translation helpful? Give feedback.
-
I have now managed to make WFB work using RTL8812AU with multiple boards and OSes:
Notes to (future myself and) anyone following footsteps:
|
Beta Was this translation helpful? Give feedback.
I have now managed to make WFB work using RTL8812AU with multiple boards and OSes:
Notes to (future myself and) anyone following footsteps: