[Non-wifi] three kinds of Android phones connected to the network via computer method

Source: Internet
Author: User

Android phone can be WiFi internet, this is good. But when there is no WiFi, how to go on Ah, 3G---> Limited traffic, watching video is not cost-effective! Here I summarize several methods for your reference.

Method One: USB cable, mobile phone wired internet

1, connect the phone via USB cable to the computer, check the "settings, wireless and network binding and portable hotspot--USB binding" option, the computer will appear the virtual network card,

To facilitate the resolution, the virtual network card to change the name of: Android;

2, share the computer network to the Android network card;

3, open HyperTerminal, su turn super User, query phone IP

# BusyBox Ifconfig

Mobile phone ip:192.168.43.100 (everyone is different)

4. Change the IP of the Android card on the computer to 192.168.43.1;

5. Add Default gateway

#busybox route add default GW 192.168.43.1

Auxiliary software: BusyBox, z4root

Key point: The gateway IP on your phone is the same as the IP on your computer.

Method Two: Wireless card, mobile AP

This method is suitable for laptops with wireless cards, but does not support ADHOC, which supports the recommended use of the Anhoc method three.

1. Tick the "Set up wireless and network---bind with portable hotspot--Wi-Fi hotspot" option, and set the AP (for example: Myap);

2, the computer connects to the Myap and obtains the IP address (for example: 192.168.23.121);

3. Add Default gateway

#busybox route add default GW 192.168.23.121

Auxiliary software: BusyBox, z4root

Key point: The gateway IP on your phone is the same as the IP on your computer.

Method Three: Support Adhoc wireless network card, build WiFi if the computer itself with the wireless card does not support

, you can buy a USB wireless network card that supports adhoc (usually with driver, which can directly simulate the AP for mobile use).

Here take Win7 as an example, say the approximate process:

1, run the command prompt as administrator;

2, enable and set the "Virtual WiFi network card" mode;

Run the following command to enable the virtual wireless network card:

Netsh wlan set hostednetwork mode=allow ssid= (here is the name of the wireless network) key= (here is the password)

3. Enable "Internet Connection Sharing (ICS)";

4. Turn on the wireless network: netsh wlan start hostednetwork

5, mobile phone connection settings of WiFi

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.