Configuring an end-to-end connection. How to set up an end-to-end internet connection htc phone

How to set up an end-to-end internet connection htc phone

A large number of htc phones for Internet access are connected to a computer through a pass-through connection. Many phone users have some connection problems.

So, one of the problems when connecting an htc phone to a computer through a pass-through connection is that the drivers of your phone are not installed or incorrectly installed on the computer. This procedure is necessary for Windows to insert your phone into the list of devices. Almost all htc phones have an installation file for HTC Sync (why almost? .. because some could, for example, format their phone. If this happened to your phone, don't worry, the distribution kit can be downloaded from the official HTC website).

Further ... After installing the drivers, we connect the phone to the computer, a menu drops out, in it we select the "pass-through" item. It may not be possible to connect the phone right away, because the device itself sometimes slows down. We wait a few minutes, or again select the "pass-through" item in the menu. As soon as your computer sees the phone, includes it in the list of devices and installs the drivers, that's it, the connection is set up. The phone displays a pass-through image and Windows informs that the device is connected and ready to use. With the default settings of Brandmauser, the end-to-end connection should work fine.

Some questions:

Question: When I make a pass-through connection to the Internet via a USB cable, the Internet works either on the phone or on the computer, alternately. Why is that?

Answer: Non-native drivers are installed, or the native drivers are not installed correctly. Try reinstalling the existing drivers. You can also reinstall (update) them manually. During the standard installation of HTC Sync, Windows places them in the C: \ Program Files \ HTC

Question: How to set up an end-to-end Internet connection via a PC?

Answer: You need to connect the phone to the computer via USB, install the drivers. Then select "Pass-through connection to the computer" If something does not work, install "HTC Sync", usually a set of drivers comes with it.

Question: How do I enable this pass-through in HTC Sync at all?

Answer: The htc pass-through connection to the HTC Sync program has nothing to do with it. It must be selected in the menu for selecting connection methods on the phone itself.

Question: HTC has a router function, is it possible to distribute this end-to-end connection with it?

Answer: Most likely you can, but I think you need a special application for this. But the question is, how will this feature affect the performance of the phone itself? Do you need it? After all, all these operations will go through the phone's processor. on the other hand, htc provides that the phone can distribute its 3g Internet at the hardware level.


A smartphone is a device without which it is already difficult to imagine modern life. This device helps business people to connect with business partners, take notes and go online. At the same time, for fans of entertainment in smartphones there is an unlimited number of a wide variety of games, as well as the ability to access the Internet for communication in social media. networks and so on. To connect your smartphone to the Internet, you need a Wi-Fi hotspot. You can also connect to the mobile Internet via the built-in 3G / 4G modem. However, what if there is no Wi-Fi access and you need a high-speed connection? How to connect the Internet to a smartphone via a computer?

This is what will be discussed in this article. Of course, in our time, almost everyone has a Wi-Fi router. The cost of such a device is very affordable for almost everyone. However, there are still cases when there is no router, but there is an urgent need for high-speed access to the Internet.

1. What you need to connect your smartphone to the Internet via a computer

So, first of all, to connect your smartphone to the Internet via a PC, you need a computer that is connected to the cable Internet and runs under the Windows operating system. There are two methods for setting up a network between a smartphone and a personal computer:

  • With built-in USB Tether;
  • Using a third-party application that allows you to connect USB Tether.

Since USB Tether is not built into every smartphone, we will consider the second method of connecting a smartphone to the Internet via a PC via USB. The second method is suitable for absolutely every Android device.

Of course, you guessed it, you will need to download and install the Wired Tether app on your smartphone. After installing the program, when the smartphone is connected to a PC via USB, a new network connection to Android with unique settings will appear on the computer. Attention should be paid to the IPv4 values ​​and the subnet mask (for example, IPv4 172.20.23.253 and the subnet mask 255.255.255.252, your numbers may be different). For convenience, you can write down your connection data in a notepad.

The first step is to disconnect the Internet connection. After that, go to the connection properties and open the connection access for Android USB. Next, go to the Android USB settings and change the IPv4 address and subnet mask. Here you need to enter the values ​​that you wrote down in a notepad (in my case, this is IP 172.20.253, subnet mask 255.255.255.252). Leave the remaining items as they are.

1.1. Setting up an Android device

After you have made all the necessary settings on the PC, you should go to the smartphone settings. Here, too, everything is easy and simple. To simplify the settings, you will need to work with scripts in a special application GScript Lite. After the application is installed, it should be launched and a new script created. You need to write the following text in it:

ifconfig usb0 up

rоute add defаult gw 172.20.23.253 dev usb0

setррр net.dns1 8.8.8.8

2. How to connect the Internet on Android via a computer via USB without programs: Video

Instead of address 8.8.8.8, you can specify any other DNS server. However, it's worth noting that 8.8.8.8 is a google server which is quite handy as it is always available.

This completes the connection of the smartphone to the Internet via the computer. It remains to verify the created connection in practice. To do this, you need to connect your smartphone to a PC via USB, then launch the Wired Tether application and turn on the connection. Next, you should enable the action of the previously created script in the GScript Lite application and wait for the connection.

It should be noted that there are other ways to connect a smartphone to the Internet via a PC, as well as many other similar applications. Therefore, the choice is yours. However, it should be said that this method has been tested and is working.

The ability to use a mobile phone as a modem to access the Internet from a PC appeared back in the era of “dinosaurs” like Nokia 3310. Now this only requires a cable, and sometimes it is not needed, since the built-in Wi-Fi module is enough. Reverse connection order is less common practice. Nevertheless, sometimes it does not hurt to use a smartphone in conjunction with a fast computer Internet.

Fast wired Internet is available in every more or less large settlement. But with the mobile Internet, not everything is so smooth. In the provinces, the quality of 3G (not to mention LTE) can leave much to be desired, or even absent altogether. And downloading programs, installing updates, uploading data to the network - all require a stable and fast communication channel. To get it, you can connect your smartphone to the Internet via your computer. This is more difficult than using a modem to access the network from a PC, but there are several ways to implement this approach.

If a computer or laptop is equipped with Wi-Fi, but connects to the network via a cable, the wireless module from the receiver can be turned into an access point. This requires a program like Connectify, through which the hotspot is organized. The procedure is simple: you need to install the application on your PC, set the name and password of the access point, and then launch it. In the smartphone menu, you just need to select a network search, connect to the newly created hotspot and enjoy high-quality Internet without wires.

Of the wired interfaces, smartphones are usually only equipped with USB. By itself, this bus is universal, but it works with limitations. Just plug the cord into the connector and connect to the wired network on the phone will not work. Certain software and pre-configuration is required. The connection process itself is called Reverse tethering. In order to use the function, you need Root rights on your smartphone.

The easiest way is to use the Reverse Tether program. After installing it, you need to connect your smartphone to your computer, turn on the USB modem mode. Then, in the Windows control panel, go to the properties of the main Internet connection and, in the "access" tab, enable its use for the network created by the smartphone. After that, in the program, you need to press the connect key and wait for the connection to be established.

USB Tunnel

This method of connecting a smartphone to the Internet via a computer is more complicated. It requires an installed ADB program. On the smartphone itself, developer mode and USB debugging must be activated in the settings. If there are no such items in the menu, you can enable them by going to the "About device" submenu and quickly tap on the line with the OS build version (not Android version) several times in a row.

In the archive of the USB Tunnel program, you need to find the AndroidTool application and run it on your PC. In the program window, you need to update the list of devices and select a smartphone to connect. Then you should select DNS from the list and click Show Android Interface. The program will install the USB Tunnel app on your smartphone. He needs to be given root access. Then, in the program on the PC, you need to click Connect, approve the provision of root, and you can use the Internet from the computer.

Working with the terminal

This method also requires root, as it works directly with the Linux kernel in the Android OS. You need to install the Terminal Emulator program. We connect the smartphone with a cable and turn on the modem mode in the phone settings. Then you need to enable network sharing (as is the case with Reverse Tethering). In the terminal emulator, you need to enter the command:

In the window that appears, you need to find and write down the IP address of the USB0 connection. Then in the network connection of the smartphone on the PC, you need to open the properties of this connection, select "Protocol" and click "Properties" at the bottom right. Instead of automatically obtaining an IP, you need to check the "Use the following IP" box. In the IP line, you must enter the address corresponding to USB0 on ​​the smartphone, but replace the last number with one.

In the terminal on the smartphone, enter the following commands:

ifconfig usb0 up

route add default gwdev usb0 (where - The IP address previously set on the computer.

setprop net.dns1 8.8.8.8(DNS server can be used and another)

The Internet is connected. You can automate the action by writing a script (for example, in a GScript program) with the commands:

ifconfig rmnet0 down

ifconfig usb0 up

route add default gw "yourIP address "dev usb0

setprop net.dns1 "addressDNS servers "