Method 1: usb cable, mobile phone wired Internet access
1. Connect the phone to a usb cable
Connect to your computer and check \"Settings -> Wireless and Networking -> Binding with Portable hotspot -> USB Bind option, the virtual network card will appear on the computer
To facilitate the identification, change the name of the virtual NIC to :android;
2. Share a computer network
To android network card;
3. Open the HyperTerminal
su to become a super user, query mobile phone ip: # busybox ifconfig, mobile phone ip: 192.168.43.100(everyone is different)
4. Change the ip address of the android NIC on the computer to 192.168.43.1;
5. Add a default gateway
: #busybox route add default gw 192.168.43.1(Auxiliary software: busybox, z4root)
Key point: The gateway IP on the mobile phone is the same as the IP on the computer.