Fixing the DJI RC2 login error “Check network”

I was having a strange error with my DJI Air3s drone, it was reporting that I wasn’t connected. Then after I try to connect typing my email (and confirming the agree checkbox) it was reporting “Check network” error.

And it no matter which WiFi network or hotspot I use, it always was reporting this error. Strangely if I click in the Update firmware message the remote controller was able to download and update the firmware without issue.

Some after testing I discovered that doing a Factory Reset of the RC2 was enough to fix the issue.

Settings -> System -> Factory Reset

Removing Docker volume when container is in use

You started looking the volumes:

user@ubuntu:~$ docker volume ls
DRIVER VOLUME NAME
local docker-lab_postgres_data
local b1aa150eb6ddb45084ff2b4554394c100c59a41c...
local client_postgress_db
local client_container_data

Then you try to remove:

user@ubuntu:~$ docker volume rm client_postgress_db
Error response from daemon: remove client_postgress_db: volume is in use - [553052b480de56abf196c34182780f1a86d35cdab989c15475e470ba7a67edee]

The solution is listing all containers, filtering by volume:

user@ubuntu:~$ docker ps -a --filter volume=client_postgress_db
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
553052b480de telix:1.0 "start-system.sh" 7 hours ago Exited (137) 6 hours ago client-app-1

Then remove the container:

user@ubuntu:~$ docker rm 553052b480de
553052b480de

And finally remove the volume:

user@ubuntu:~$ docker volume rm client_postgress_db
client_postgress_db
user@ubuntu:~$


Testing an OpenGL 3D Cube on Linux

I found this nice video tutorial at Youtube video:

https://www.youtube.com/watch?v=WjSRCX4OrZU

Then I downloaded the example from: https://bitbucket.org/c-code/snakegame/src/master/opengl_cube.c

but when I tried to compile I got this error:

$ gcc opengl_cube.c -o cube -lgl -lglu
/usr/bin/ld: cannot find -lgl: No such file or directory
/usr/bin/ld: cannot find -lglu: No such file or directory
collect2: error: ld returned 1 exit status

So, the solution was installing these packages:

$ sudo apt install build-essential libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev

Then I noticed my other mistake, it should be -lGL and -lGLU, also -lglu was needed:

$ gcc opengl_cube.c -o cube -lGL -lGLU -lglut