3 Ways to Connect Your Android Phone to the Internet via PC

Android phones can access the internet via WiFi, which is great. But how do you get online when there’s no WiFi? 3G means limited data鈥攕treaming video eats up your plan fast! I’ve compiled several methods here for your reference.

Method 1: USB Cable, Wired Phone Internet

1銆丆onnect your phone to the computer via USB cable, and check “Settings -> Wireless & networks -> Tethering & portable hotspot -> USB tethering”. A virtual network adapter will appear on your computer.

For clarity, rename the virtual adapter to something like: android ;

2銆丼hare your computer’s network connection with the android adapter;

3銆丱pen a terminal emulator, use su to become superuser, and check the phone’s IP address

# busybox ifconfig

Phone IP: 192.168.43.100 (this varies per device)

4銆丆hange the IP address of the android adapter on your computer to 192.168.43.1;

5銆丄dd the default gateway

#busybox route add default gw 192.168.43.1

Helper apps: busybox, z4root

Key point: The gateway IP on the phone must match the computer’s IP address.

Method 2: Wireless Adapter, Phone AP

This method is for laptops with a wireless adapter that does not support ad-hoc mode. If your adapter supports ad-hoc, use Method 3 instead.

1銆丆heck “Settings -> Wireless & networks -> Tethering & portable hotspot -> Portable Wi-Fi hotspot”, and configure the AP (e.g., myAp);

2銆丆onnect your computer to myAp and obtain an IP address (e.g., 192.168.23.121);

3銆丄dd the default gateway

#busybox route add default gw 192.168.23.121

Helper apps: busybox, z4root

Key point: The gateway IP on the phone must match the computer’s IP address.

Method 3: Ad-hoc Capable Wireless Adapter, Create WiFi If your computer’s built-in wireless adapter doesn’t support it,

you can buy a USB wireless adapter that supports ad-hoc mode (most come with drivers and can simulate an AP directly for the phone).

Here’s the general process using Win7 as an example:

1銆丷un Command Prompt as an administrator;

2銆丒nable and configure the “Virtual WiFi Adapter” mode;

Run the following command to enable the virtual wireless adapter:

netsh

Leave a Comment

Your email address will not be published.