I am working on passing through the internet from my computer to my phone (running Android) over USB. I'm not sure how to achieve this, but I know I will need a usb network interface, such as
usb0. This interface is not automatically created when plugging in the phone.
How do I create this USB network interface? Can this be done within Linux or must it be done from the Android phone?
Note: If I enable USB tethering on the phone, then a corresponding USB interface is created in Linux. However this is automatically configured to use the phone as a network device (or a gateway?) and pass the internet from my phone to my computer, which is the opposite of what I'm trying to do.