etc/systemd/network/work ĪziLink is an application that allows USB tethering for Android-based phones, without requiring root access. ![]() Then create the corresponding systemd-networkd file: $ udevadm info /sys/class/net/enp0s26u1u2 You may have to adjust the idVendor attribute depending on your phone. etc/udev/rules.d/les # Execute pairing program when appropriateĪCTION="add|remove", SUBSYSTEM="net", ATTR="rndis_host", SYMLINK+="android", RUN+="/usr/bin/systemctl restart rvice" ![]() Using systemd-networkd you can automatically adjust the networking to use the phone as the gateway when plugged in. Reason: networkd can handle interface changes without a restart, so why this udev rule? (Discuss in Talk:Android tethering)
0 Comments
Leave a Reply. |