Wifi dongle hardware does not turn on sometimes
-
We noticed that at random moments, the Wi-Fi dongle does not turn on (the light does not blink at all). When we access the drone via adb shell, we observe that the network interface for Wi-Fi, wlan0, is not up. Attempting to bring it up does not resolve the issue. Additionally, there are times when the drone connects, and wlan0 is up, but I cannot ping the drone's IP from outside as it reports "network not reachable." From inside the drone, pinging 8.8.8.8 also does not work. What we've discovered as a temporary solution is to restart the drone using "sudo reboot now," which sometimes resolves the problem and sometimes does not. More information about the drone is available below.
Just for your information, we also have a static IP set. I suspect it's a hardware issue because when the problem occurs, the Wi-Fi dongle is not blinking.
Sentinel
What version of software are you using? voxl-version is very helpful for determining software version.▂▄▆▆██▛▀▀▀▀▀▀▀▀▜████▆▆▄▂ ███╗ ███╗ ██████╗ ██████╗ █████╗ ██╗ ▗▆████▀▔ ▔▔▀▀▀▀▚▄ ████╗ ████║██╔═══██╗██╔══██╗██╔══██╗██║ ▗▟████▀ ▗██▖ ▐█ ▝▀▆▄▄▄ ██╔████╔██║██║ ██║██║ ██║███████║██║ ▟████▀ ▗█▘▝█▖ ▐█ ▜█▀ ██║╚██╔╝██║██║ ██║██║ ██║██╔══██║██║ █▌ ▐█▌ ▗█▘ ▝█▖ ▐█ ▐▄ ██║ ╚═╝ ██║╚██████╔╝██████╔╝██║ ██║███████╗ ▀████ ▗█▘ ▝█▖ ▐█ ▂▄███ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝ ▀▀██▄▄ ▂▆███▀ ▀▀██▄▄ ▀▀▆▄▄▄▄▆██▀▀▀▘ -------------------------------------------------------------------------------- system-image: 1.6.2-M0054-14.1a-perf kernel: #1 SMP PREEMPT Fri May 19 22:19:33 UTC 2023 4.19.125 -------------------------------------------------------------------------------- hw version: M0054 -------------------------------------------------------------------------------- voxl-suite: 1.0.0~beta4 -------------------------------------------------------------------------------- current IP: wlan0: 192.168.1.17 --------------------------------------------------------------------------------
How have you configured the software? What is the output of voxl-inspect-services
voxl2:/$ voxl-inspect-services Scanning services... Service Name | Enabled | Running | CPU Usage ---------------------------------------------------------------- docker-autorun | Disabled | Not Running | docker-daemon | Disabled | Not Running | modallink-relink | Disabled | Not Running | voxl-camera-server | Enabled | Running | 16.7% voxl-cpu-monitor | Enabled | Running | 0.5% voxl-dfs-server | Disabled | Not Running | voxl-feature-tracker | Disabled | Not Running | voxl-flow-server | Disabled | Not Running | voxl-imu-server | Enabled | Running | 4.8% voxl-lepton-server | Disabled | Not Running | voxl-mavcam-manager | Enabled | Running | 0.0% voxl-mavlink-server | Enabled | Running | 3.4% voxl-modem | Disabled | Not Running | voxl-portal | Enabled | Running | 0.2% voxl-px4-imu-server | Disabled | Not Running | voxl-px4 | Enabled | Running | 31.9% voxl-qvio-server | Enabled | Running | 40.3% voxl-remote-id | Disabled | Not Running | voxl-softap | Disabled | Not Running | voxl-static-ip | Enabled | Not Running | voxl-streamer | Enabled | Running | 0.0% voxl-tag-detector | Disabled | Not Running | voxl-tflite-server | Disabled | Not Running | voxl-time-sync | Disabled | Not Running | voxl-uvc-server | Disabled | Not Running | voxl-vision-hub | Enabled | Running | 2.6% voxl-wait-for-fs | Enabled | Completed | voxl2:/$
Do you have any logs? Uploading PX4 logs to https://logs.px4.io can be very helpful. See details on PX4 logs here
Not px4 specific
Can you share pictures of your setup? -
@stevedan could it simply be loose? Maybe the radio is not getting power
-
@stevedan As a side note, I would recommend upgrading to the official SDK 1.0 as opposed to beta4 as there are many bug fixes between the two