I'm designing an Ubuntu app for Android which is running through a Termux chroot jail. The app requires the phone to be connected to a drone through the drone's generated Wifi network. This network does not provide internet access (obviously). Unfortunately, I still need the app to have general internet access while connected to the drone network. This means I need to be able to designate certain address accesses to use LTE and others to use Wifi. Any idea how to set this up from within the chroot jail (or externally)?

Note: I saw a question similar to this one answered 4 years back. However, it doesn't seem like an up-to-date answer was provided. Here's the post.

Thanks for your help!

  • There's a similar situation asked recently: Unable to communicate to a local WiFi with mobile data enabled. The linked questions on there also explain the difficulty of supporting this on Android devices. – Andrew T. Jan 16 at 1:17
  • What if you would run the phone in AP mode, and so you would contact the drone? You can identify the drone by its MAC (more hardcore would be to use some zeroconf solution like bonjour). – peterh Jan 17 at 17:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.