How do I SSH to a drone?
The default way of working on a UAV's computer is through Wi-Fi and SSH. SSH will allow you to open a terminal on the UAV's computer from your computer, without connecting any screens/keyboards or mouses.
To SSH into a drone, you need to know it's IP address, user name and password. The UAV has to be turned on and both your computer and the UAV's computer have to be connected to the same Wi-Fi network.
the MRS convention is as follows:
- UAV username: mrs
- UAV password: mrs
- UAV IP address: 192.168.69.[100-199] (this range is reserved for the UAVs)
To SSH into a drone, use this command:
ssh mrs@192.168.69.123
You will be asked to fill in the password as well
You can also connect to a UAV with SSH over ethernet. The username and password are the same, but the IP address will be in the following format:
- UAV IP address: 10.10.20.[100-199]
For this to work, you need to setup a static IP address for your computer in the same range as the UAV's IP, so for example 10.10.20.210 will work.
If you do not know the UAV's IP address, but you know that it is connected to a Wi-Fi, you can connect to that Wi-Fi too and run this command:
nmap -sP 192.168.69.100-199
It will scan the IP range and report back if there are any devices connected.
You can change the Wi-Fi the UAV is connecting to with the MRS UAV Configurator (TODO link to a guide)