I am using a raspberry pi 3 model B+ with a navio2 board attached to it. I have flashed the navio os with arducopter-3.5 running on it. I followed all the navio docs for the setup but I cannot get it to connect to mission planner. My pi is connected using an ethernet cable so I suspect the problem is me not having the right ip in /etc/default/arducopter but I have tried all of the ipv4 address in my ipconfig with no luck.
When I try to connect to mission planner it either gives me an error immediately or tries to connect forever.
I understand, your PC and the RPi are connected with an ethernet cable? Is this correct?
According to your screenshot, the ethernet IP of your PC is 192.168.137.1. This looks like it is configured by hand. If you do not have the possibility to connect the RPi to the wifi, you will have to configure a static IP for it, too. If you have a smartphone, you might be able to enable a hotspot on it and connect your PC and your RPi to it. If you are using a PC of your organisation, make sure you are allowed to change its network settings.
Yes right now it is connected via ethernet. To clarify, if I use a hotspot on my phone then I would not need to setup a static IP for my pi? In order to continue using an ethernet cable a static IP is required?
If you are connecting PC > Ethernetcable > RPi, you will need to configure both ends with matching IP settings, because there is no DHCP server present. If you use a seperate router/smartphone hotspot etc., those devices will act as an DHCP server and assign IP adresses to the PC and RPi, so they can talk to each other.