How to set up a pass-through Internet connection on an HTC phone. How to set up a pass-through internet connection htc phone Android 6.0 pass-through internet connection

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 the Nokia 3310. Now this only requires a cable, and sometimes it is not needed, since the built-in Wi-Fi module is sufficient. But the reverse connection order is a less common practice. However, sometimes it doesn’t hurt to use a smartphone in conjunction with a fast computer Internet.

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

If a computer or laptop is equipped with Wi-Fi, but connects to the network via cable, the wireless module from the receiver can be turned into an access point. This requires a program like Connectify, which organizes the hotspot. 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, just select network search, connect to the newly created hotspot and enjoy high-quality Internet wirelessly.

Of the wired interfaces, smartphones are usually equipped only with USB. By itself, this tire is universal, but it works with limitations. You won’t be able to simply plug the cord into the connector and connect to a wired network on your phone. Requires certain software and preliminary configuration. The connection process itself is called Reverse tethering. In order to use the function, you must have 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 and enable USB modem mode. Then, in the Windows Control Panel, go to the properties of the main Internet connection and in the “Access” tab, allow its use for the network created by the smartphone. After this, you need to press the connection key in the program and wait for the connection to be established.

USB Tunnel

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

In the USB Tunnel program archive, 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 application on your smartphone. He needs to be given root access. Then, in the program on your PC, you need to click Connect, approve the provision of root, and you can use the Internet from your 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 enable 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” checkbox. 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 your smartphone you need to enter the following commands:

ifconfig usb0 up

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

setprop net.dns1 8.8.8.8(You can use another DNS server)

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

ifconfig rmnet0 down

ifconfig usb0 up

route add default gw "yourIP address" dev usb0

setprop net.dns1 "addressDNS servers"

How to set up a pass-through Internet connection on your htc phone

A large number of HTC phones for accessing the Internet are connected to the computer via a pass-through connection. Many phone users have some connection problems.

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

Next... After installing the drivers, we connect the phone to the computer, a menu appears, in it we select the “pass-through connection” item. You may not be able to connect your phone right away, because... The device itself sometimes slows down. We wait a few minutes, or again select the “pass-through connection” 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. An image of the pass-through connection will appear on the phone, and Windows will inform you that the device is connected and ready to use. With standard Firewall settings, 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 native drivers are installed incorrectly. Try reinstalling 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 folder

Question: How to set up a pass-through Internet connection via a PC?

Answer: You need to connect your phone to your computer via USB and install the drivers. Then select “Pass-through connection to a computer.” If something doesn’t work, install “HTC Sync”; usually it comes with a set of drivers.

Question: How do I even enable this pass-through connection in HTC Sync?

Answer: The htc pass-through connection has nothing to do with the HTC Sync program. You need to select it 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 using it?

Answer: Most likely it is possible, but I think this requires a special application. But the question is, how will this function 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 difficult to imagine modern life. This device helps business people connect with business partners, take notes and access the Internet. At the same time, for entertainment lovers, smartphones have an unlimited number of a wide variety of games, as well as the ability to access the Internet for communication on social media. networks and so on. To connect your smartphone to the Internet, you need a Wi-Fi access point. You can also connect to the mobile Internet via the built-in 3G/4G modem. However, what if you don't have access to Wi-Fi and you need a high-speed connection? How to connect the Internet to a smartphone via a computer?

This is exactly what this article will discuss. Of course, nowadays 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 is needed 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 will need a computer that is connected to cable Internet and running the Windows operating system. There are two methods for establishing a network between a smartphone and a personal computer:

  • Using built-in USB Tether;
  • Using a third-party application that will allow 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, as you may have guessed, you will need to download and install the Wired Tether application on your smartphone. After installing the program, when you connect your smartphone to your PC via USB, a new network connection to Android with unique settings will appear on your computer. You should pay attention to the IPv4 values ​​and subnet mask (for example, IPv4 172.20.23.253 and subnet mask 255.255.255.252, these numbers may be different for you). For convenience, you can write down your connection details in a notepad.

First of all, you should disconnect your Internet connection. After that, go to the connection properties and open the connection for Android USB. Next, you should 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 the notepad (in my case, this is IP 172.20.253, subnet mask 255.255.255.252). We do not touch the remaining points - we leave them as they are.

1.1. Setting up an Android device

After you have made all the necessary settings on your PC, you should proceed to the smartphone settings. Everything here is also easy and simple. To simplify the settings, you will need to work with scripts in a special GScript Lite application. After the application is installed, you should run it and create a new script. You need to write the following text in it:

ifconfig usb0 up

route add default gw 172.20.23.253 dev usb0

setppr net.dns1 8.8.8.8

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

Instead of the address 8.8.8.8, you can specify any other DNS server. However, it is worth noting that 8.8.8.8 is a Google server, which is quite convenient since it is always available.

This completes the connection of the smartphone to the Internet via the computer. It remains to check the created connection in practice. To do this, you need to connect your smartphone to your PC via USB, then launch the Wired Tether application and enable 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 is worth saying that this method has been tested and is working.