Enabling internet access over USB??
-
So I have a VOXL2 and have it connected to my linux server currently that a client sent me. Im able to connect via usb adb but it does not have internet access.
Also I followed https://docs.modalai.com/voxl-portal-via-adb/. These instructions to get access to the portal on the localhost but I cant curl or navigate to it via browser. I tried this on a few systems. Is there a way to get the voxl 2 to use USBc to act as a bridge to communicate out to the internet? I am able to get it to ping my Ubuntu server I have it plugged into via tcp but the Ubuntu system caan not return any communications.
Any advice on this? Using the wifi module is not an option since it has a custom hat soldered to the top of it. I need to install a few python modules on it such as ultralytics and the rebuild a few things to support some custom vision models and being able to access the webserver to test them would be nice.
Thank you for your time.
-
@jklre , one way to achieve what you need is to set up a VPN client on VOXL2 (and VPN server on your linux server) and create a adb TCP bridge via
adb forward or reverse
(which you already found). Your VPN client would connect to the VPN server on your linux server via the ADB TCP tunnel.The VPN client / server would then take care of proper data routing (just like regular VPN).
I believe guys from Ascend Engineering were able to to achieve this : https://ascend-engineering.gitbook.io/modalai/sharing-internet-over-adb but it requires initial internet connection to set up.
Your best bet may be to get all the dependencies downloaded to your linux server, then push them to voxl2 via ADB, and add a local package source for apt on voxl2 (so that it can find new packages) and install.
Similarly for python modules, you should be able to do an offline install, i think..
Alex