Friday, August 24, 2018

Use an USB tethered phone as network adapter Centos server

With my HTC WildFire and my , I just have to enable USB tethering and then plug the USB cable into both my PC and the device. Then in a  as root run the following commands:
# modprobe usbnet # if not already loaded
# ip link set usb0 up && dhcpcd usb0
if you don't have dhcpcd, try typing dhctab.
If no problem occurs, you'll be able to list interfaces and IP with:
$ ip a s
and you will see a line for usb0 (or such).

No comments:

Post a Comment