View Single Post
Old 05-01-2022, 01:49 PM   #135
Clort
Member
Clort began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Apr 2022
Device: inkbook color 741
For reference, on my linux device (no systemd) I created /etc/udev/rules.d/90-android-tethering.rules

containing

cat /etc/udev/rules.d/90-android-tethering.rules
ACTION=="add|remove", SUBSYSTEM=="net", ATTR{idVendor}=="18d1", ATTR{idProduct}=="0001", ENV{ID_USB_DRIVER}=="rndis_host", SYMLINK+="android"

i found idVendor and idProduct strings with lsusb

Bus 001 Device 060: ID 18d1:0001 Google Inc. Onda V972 (storage access)

After setting up a static /etc/network/interfaces for usb0, ifconfig gives me

usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 169.254.0.2 netmask 255.255.255.0 broadcast 169.254.0.255
Clort is offline   Reply With Quote