How to enable root permissions on ground unit?

Hello

I am attempting to setup routing from the air unit 1.1 ethernet interface to the usb tether interface, such that I may send data between a companion computer and my onboard computer.

This should be easy, just setup some routes on the ground unit - however without root access this is impossible - I can’t set the iptables commands I require via adb.

Is there a simple way to enable root access, possibly via oem image setup?
There is minimal documentation for this.

I would also like to know if its possible to run generic scripts in root mode on startup (For persistent network changes etc).

Thanks for any help

Hello Adam,

I also needed to do a similar setup and I just had to setup the routing on my companion computer and on my onboard device, I didn’t need to change the air unit or the ground unit, so I didn’t need root access.

On the companion PC I added a route to the airside subnet:
route add 192.168.144.0 mask 255.255.255.0 192.168.43.1
then on the onboard device I set the default gateway to be the address of the air unit 192.168.144.10