1

In a normal installation, looking at ifconfig (or ip) in adb shell, there are no rndis0 or eth0 interfaces set up. Once USB tethering or ethernet tethering is enabled, they show up.

With my GNU/Linux hat on, I thought there is some module loading and udev happening in the background, but clearly, that's not the case.

Can anyone explain what is happening in the background and how can this be replicated via shell commands?

5
  • 1
    Thoroughly explained in How to make Ethernet work on Android over OTG?. Commented Sep 14, 2021 at 15:59
  • 1
    Thanks @IrfanLatif , looks good at first glance, will dive into it soon. Commented Sep 15, 2021 at 9:08
  • Does this answer your question? How to make Ethernet work on Android over OTG? Commented Sep 16, 2021 at 6:52
  • @IrfanLatif got a bit lost in the translation there. I am not sure that applies to Android 11 (AOSP/ArrowOS), for example I can't create a /system/etc/init/custom.rc due to read-only file system. On short term, do you know the quick command to enable ethernet tethering? I found the one for usb (svc usb setFunctions rndis), but I need to use the Android 11 newly introduced ethernet tethering. Commented Sep 17, 2021 at 9:55
  • Go system-less using something like Magisk modules. // No I'm not aware of quick command. Sorry. Commented Sep 17, 2021 at 11:10

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.