如何通过USB电缆在Android手机上使用Windows Internet -- 4.4-kitkat 领域 和 tethering 领域 和 reverse-tether 领域 和 usb-tethering 领域 android 相关 的问题

How to use Windows' internet on Android phone through USB cable


简体版||繁體版
85
vote

问题

中文

我正在使用Android 4.4.2(在 micromax联合2 - A106 )。在家中我有一个Windows PC,具有高速宽带互联网连接。我没有无线路由器或接入点。我只想在手机上使用PC的Internet连接。我尝试了多种方法,但没有似乎工作。

方法1:使用本机Android 4.4.2选项

在我的手机中我连接我的手机时,在 Settings > Wireless & networks > USB Internet (sharing Windows PC internet via USB cable) 复选框中,我检查了它,然后它让我选择我的Windows版本(这是Windows 8.1但是因为它没有显示该选项我选择了Windows 8.它给了我进一步的说明,如下图所示:

输入图像描述

这是问题,没有共享选项卡(请参阅以下屏幕截图) 输入图像描述

方法2:如如何在USB

上设置反向系数

我在这个网站上学到它被称为反向系列。我读取并遵循如何设置反向系绳的过程USB

我遵循该答案中描述的所有步骤,直到执行命令。

  1. 从Android SDK [done]
  2. 从Android SDK安装USB驱动程序
  3. 连接USB电缆并激活USB系列(您应该在新的网络接口上看到。) [完成]
  4. 桥梁2网络接口 [完成]
  5. 在计算机上执行 adb shell netcfg usb0 dhcp [问题]

当我执行 adb shell netcfg usb0 dhcp 时: error: device not found 。我在开发人员设置中尝试了与 USB Debugging 的同样的事情。离开。错误保持不变。

方法3:根本设备并使用app

我在这里和那里有另一种方法,我们可以直接使用应用,但它需要rooting设备。如果我root,我的手机是一个新的手机,保修变得无效。

编辑:我已经尝试了答案所建议的方法,在方法2的第4步,我面临这个问题:

输入图像描述

english

I'm using Android 4.4.2 (on Micromax Unite 2 - A106). I've a Windows PC at home which has highspeed broadband internet connection. I don't have wireless router or access point. I just want to use PC's internet connection on my phone. I've tried multiple methods but none seems to work.

Method 1: Using native Android 4.4.2 option

In my phone when I connect my phone, in Settings > Wireless & networks > USB Internet (sharing Windows PC internet via USB cable) checkbox, which I checked then it asked me to choose my Windows version (which is Windows 8.1 but since it didn't show that option) I chose Windows 8. It gives me further instructions as showing in the following picture:

enter image description here

Here is the problem, there is no sharing tab (see the following screen shot) enter image description here

Method 2: As described in How to setup reverse tethering over usb

I learned on this site that it is called Reverse tethering. I read and followed the procedure mentioned in How to setup reverse tethering over usb

I followed all the steps described in that answer, until executing the command.

  1. Install USB drivers from Android SDK [DONE]
  2. Connect USB cable and activate USB Tethering (You should see on a new network interface.) [DONE]
  3. Bridge the 2 network interfaces [DONE]
  4. On your computer execute adb shell netcfg usb0 dhcp [PROBLEM]

When I execute adb shell netcfg usb0 dhcp it says: error: device not found. I tried the same thing with USB Debugging in Developer settings, ON & OFF. The error remains the same.

Method 3: Rooting the device and using an app

I read here and there that there is another method, in which we can directly use an app but it requires rooting the device. My phone is a new phone and warranty becomes void if I root it.

EDIT: I've tried the method suggested in answer, at the 4th step of method 2, I'm facing this problem:

enter image description here

           
         
         

回答列表

32
 
vote
vote
最佳答案
 
实际上,方法1 非常容易。正如隐含的通过此答案,您需要更多的网络连接进行共享选项卡出现。

简短答案:

首先,忽略Android设备的指令,并尝试连接到USB-Internet。
这将创建一个新的网络连接,并允许Sharing-Tab显示在您的PC网络连接上。

详细答案

1。准备Windows 10

  1. 右键单击Windows-start按钮
    Windows START按钮
  2. 在打开上下文菜单中,打开"网络连接"
    "网络连接" 中的上下文菜单
  3. 网络连接将显示。正如您所看到的,目前只有一个网络连接,因此不会有共享选项卡。
    在此处输入图像说明

2。准备您的Android设备

  1. 将您的Android设备用USB-Cable连接到您的PC
  2. 无线&网络部分(您可能需要在某些Android设备上单击"更多..." ),尝试激活 USB Internet
    激活"USB Internet"
  3. 将出现指令。选择Windows 8并只需单击下一个和,忽略给定的指令
    选择Windows 8,然后单击下一个 单击完成忽略步骤
  4. 现在, USB Internet 后应该有一个校验标记:
    USB Internet应该现在检查
  5. 如果是使用USB网络首次将Android设备连接到PC,Windows可能会询问您是否宏伟网络连接。这是正常的。

3。在Windows 10

上共享Internet连接

您可以看到,现在有两个网络连接,因此共享选项卡现在可用:
两个网络连接

  1. 右键单击第一个网络连接并打开属性 打开原始网络连接的属性
  2. 现在,有一个共享选项卡,您可以允许您的Android设备使用Windows 10 PC的Internet连接 共享选项卡现在可用
 

Actually, Method 1 is quite easy to do. As implied by this answer, you need more that one network connection for the sharing tab to appear.

Short Answer:

First, ignore the instruction of your android device and try to connect to the USB-Internet anyway.
This will create a new Network connection and allow the sharing-tab to appear on your PC Network Connection.

Detailed Answer

1. Prepare Windows 10

  1. Rightclick the Windows-Start Button
    The Windows Start Button
  2. In the opening Context-Menu, open "Network Connections"
    "Network Connections" in the Context Menu
  3. The Network Connections will show up. As you can see, there's currently only one Network connection, so there will be no sharing Tab.
    enter image description here

2. Prepare your Android device

  1. Connect your Android device with a USB-Cable to your PC
  2. In the Wireless & networks section (you might need to click on "More..." on some android devices), Try to activate the USB Internet
    Activate "USB Internet"
  3. Instructions will appear. Select Windows 8 and just click on Next and Done, ignoring the given instructions
    Select Windows 8 and Click on Next Click on Done ignoring the steps
  4. Now, there should be a check-mark after USB Internet:
    USB Internet should be now checked
  5. If this is the first time you are connecting your Android device to your PC with a USB-Network, Windows might ask you whether to grand the Network connection. That's normal.

3. Share the Internet Connection on Windows 10

As you can see, there are now two Network connections, so the sharing Tab will be now available:
Two network connections

  1. Right-click the first Network Connection and open the Properties Open the Properties of your original Network Connection
  2. Now, there's a Sharing Tab and you can Allow your Android device to use the Internet connection of your Windows 10 PC
    The Sharing Tab is now available
 
 
     
     
9
 
vote

为您的第二种方法(应该是工作),它看起来你只是缺少您的设备的正确驱动程序。我发现一个声称有驱动程序( http://www.digitchunch .com / android / how-to toot-microomax-unite-2-a106 )虽然我不能担保他们的真实性,所以如果你想信任他们,这取决于你。

让我知道如果你遇到任何问题,因为虽然我在我很高兴在我愿意帮助你之前从未做过这样的事情。

 

For your second method (which should work) it looks like you are just missing the correct drivers for your device. I found a page which claims to have the drivers (http://www.digitbrunch.com/android/how-to-root-micromax-unite-2-a106) although I cannot vouch for their authenticity so its up to you if you want to trust them.

Let me know if you run into any problems, because although I have never done something like this before I would be happy to help you through it if I can.

 
 
     
     
6
 
vote

有一个解决方案

我知道这是一个迟到的答案,但随着所有现有答案建议,如果您的设备植被扎根或具有反向系列的系统支持,则只有USB反向系列,我仍然值得指出选项:

几个月前,我正在寻找一个解决方案,让我在一个未完整的Android设备上使用笔记本电脑的互联网连接,但我无法找到解决方案。最终,我开始开发自己的解决方案。结果是一个适用于在客户端的Android 4.0或更高版本的设备上运行的应用程序,以及主机侧的所有主要桌面OSS。

reversetetheting norooot app

该应用程序可在Google Play上获取: reversetethethinging noroot

 

There is a solution for unrooted devices

I know this is a late answer, but as all existing answers suggest that USB reverse tethering is only possible if either your device is rooted or has system support for reverse tethering, I though it'd be worth pointing out there's one more option:

A few months ago, I was looking for a solution that would allow me to use my laptop's Internet connection on an unrooted Android device, but I just couldn't find a solution. Eventually, I started to develop my own solution. The result is an app that works on devices running Android 4.0 or higher on client side, and all major desktop OSs on the host side.

The ReverseTethering NoRoot app

The app is available on Google Play: ReverseTethering NoRoot

 
 
 
 
4
 
vote

我试图做同样的事情,就像你说"这是问题,没有共享选项卡"

但我在Windows辅助中找到了一个部分,如果只有一个LAN连接,则没有"共享选项卡" 。

这是URL: http ://windows.microsoft.com/en-us/windows/set-internet-connection-sharing#1tc=windows-7

 

I tried to do the same thing and like you said "Here is the problem, there is no sharing tab"

But I found a section in Windows assistance saying that there is no "sharing tab" if you have only one LAN connection.

Here is the URL: http://windows.microsoft.com/en-us/windows/set-internet-connection-sharing#1TC=windows-7

 
 
3
 
vote

我也使用一个 micromax团结2。对我有关的是第一个方法。

似乎您没有将设备连接(电话到PC)。所以它没有显示共享选项卡。您只有一个LAN设备,但没有设备分享。

所以,首先,您需要将设备连接到PC,然后继续剩余步骤。我真的很喜欢从我的电脑到手机!

步骤

  1. 通过USB电缆将您的手机连接到PC。
  2. 在您的手机上,转到设置 - > more-> USB Internet ,选择PC系统版本 - > next->"完成" (重要)。 PC上的
  3. 转到控制面板 - >网络和互联网 - >网络连接。
  4. 在这里,其中一个设备是您的LAN设备,另一个设备是您的手机。
  5. 右键单击您的LAN设备转到属性 - >选择"共享" 标签 - >单击第一个选项 - > OK。
  6. 现在你准备好在手机上享受互联网。
 

I am also using a Micromax Unite 2. What works for me is the first method.

It seems that you are not connecting your device (phone to PC). So it doesn't show you the sharing tab. You only have a LAN device but no device to share.

So, first you need to connect your device to the PC and, then, proceed with the remaining steps. I am really enjoying the Internet from my PC to phone!

Procedure

  1. Connect your mobile to the PC via a USB cable.
  2. On your mobile, go to Settings->more->USB Internet, select PC system version->next->"DONE"(IMPORTANT).
  3. On the PC, go to control panel->Network and Internet->Network connection.
  4. Here, one of the devices is your LAN Device and another one is your mobile phone.
  5. Right click your LAN device go to Properties->choose the "sharing" tab->click on the first option->ok.
  6. Now you are ready to enjoy Internet on your phone.
 
 
 
 
2
 
vote

i在中兴通讯V987上测试了Android 4.2.1的第一个方法,并且在一点搜索RNDIS接口和另一个MTKandroidusB设备(ADB接口)驱动程序(对于Windows XP)之后,它运行。我认为您没有在Windows中安装的手机驱动程序。您是否在设备管理器中进行检查?

我已经在Windows 7中测试了第一个方法,我安装了以下设备:

mt65xx android设备

然后我分享了互联网连接,但没有成功。手机不想看到连接。 然后我已经将驱动程序更改为 http:/ / www.digitbrunch.com/android/how-to-root-micromax-unite---a106 (driver_auto_installer_v1.1236.00)和我试图桥接2个网络适配器,我已获得下一个配置: driver_auto_installer_v1.1236.00

然后我已恢复到Internet连接共享,我尝试了以下命令(这里发现 http://forum.xda-developers.com/showthread.php?t=2287494 ): adb shell netcfg rndis0 dhcp

和手机的USB连接开始运行:

lan3status lan3details

最后,我已将USB驱动程序重新更新为初始的Alcatel版本,已删除的Mac Bridge Miniport,为IPv4 RNDIS本地连接设置相同的DNS,并使用带有 adb shell netcfg rndis0 dhcp 命令的.cmd文件连接。

lan3details2

 

I tested first method on ZTE V987 with android 4.2.1 and, after a little search for RNDIS Interface and another MTKandroidUSB device (ADB Interface) drivers (for windows Xp), it worked. I think you don't have the phone drivers installed in windows. Have you checked in Device Manager?

I have tested first method also in Windows 7 and I installed the following devices:

MT65xx Android device

then I have shared the Internet connection, but without success. The phone did not want to see the connection. Then I have changed the drivers with those from http://www.digitbrunch.com/android/how-to-root-micromax-unite-2-a106 (Driver_Auto_Installer_v1.1236.00) and I have tried to bridge the 2 network adaptors and I have obtained next configuration: Driver_Auto_Installer_v1.1236.00

Then I have reverted to Internet Connection Sharing and I have tried the following commands (found here http://forum.xda-developers.com/showthread.php?t=2287494) : adb shell netcfg rndis0 dhcp

And the phone's USB connection began to operate:

Lan3Status Lan3Details

Finally I have re-updated the usb drivers to the initial Alcatel version, deleted MAC Bridge Miniport, set same DNS for IPv4 RNDIS Local Area Connection and used a .cmd file with adb shell netcfg rndis0 dhcp command to start the connection.

Lan3Details2

 
 

相关问题

5  如何在Jellybean设备上启用USB系列?  ( How do i enable usb tethering on a jellybean device ) 
JellyBean是否支持USB系绳? 是否有一种方法编译jb源,因此始终启用USB系绳? 我想通过操作系统拥有支持,而不是依赖于应用程序。 ...

2  如何从WiFi Hotspot访问USB系扣设备?  ( How can i access usb tethered device from wifi hotspot ) 
所以我发现了USB系绳IP为192.168.52.x的艰难方式,WiFi地址为192.168.53.x。 我的目标是能够从WiFi访问USB系列设备(Raspberry PI),就像它是相同的网络一样。 如果我有特定的端口,那就没关系,但如果可能的话,我想避免这种情况。我找到了这个xda post 关于反向系列(共享...

13  当设备插入PC时,自动启用USB系列  ( Automatically enable usb tethering when device is plugged into a pc ) 
我在nexus 5上运行了Android棉花糖5.我通过USB将其定为我的笔记本电脑。有没有办法配置事物,以便在插入事物时自动发生USB系列? (接触USB系束度需要5-6次接触。) ...

85  如何通过USB电缆在Android手机上使用Windows Internet  ( How to use windows internet on android phone through usb cable ) 
我正在使用Android 4.4.2(在 micromax联合2 - A106 )。在家中我有一个Windows PC,具有高速宽带互联网连接。我没有无线路由器或接入点。我只想在手机上使用PC的Internet连接。我尝试了多种方法,但没有似乎工作。 方法1:使用本机Android 4.4.2选项 在我的手机中...

2  如果我的笔记本电脑无法通过系列连接到互联网,我应该经过什么检查?  ( What checks should i go through if my laptop cant connect to the internet throu ) 
我需要通过智能手机通过智能手机将我的笔记本电脑连接到互联网,我正在使用带有Android 4.2.2的Galaxy GT-S7270,带Windows 7的笔记本电脑和带Windows 8的平板电脑。 每当我尝试使用WiFi热点时,我可以通过我的平板电脑连接和访问Internet,笔记本电脑连接到智能手机后获得有限...

0  Android系绳检测旁路不适用于三星Galaxy S8  ( Android tether detection bypass not working on samsung galaxy s8 ) 
我已经将Dun与 settings put global tether_dun_required 0 在我的Galaxy S8上设置了几个月,它很棒。在过去的几天里,它已经停止了工作,我不确定问题是什么。设备上的TTL设置为65,因此不应该是一个问题。我检查了DUN是否设置为0,其中 settings get glo...

1  互联网共享 - Ubuntu  ( Internet sharing ubuntu ) 
我有一个智能手机(来自本地制造商)。它有一个选择"通过USB电缆共享Windows PC Internet" 的"USB Internet" 。 我的第一个问题是我是否可以通过这个选项桥接我的Ubuntu Internet连接? 当我将手机连接到我的PC网络管理器时,显示一个新的以太网连接"有线连接2" ,其中包含名...

132  如何在USB上设置反向系数?  ( How to set up reverse tethering over usb ) 
我的htc g2手机植根于植物和运行cyanogenmod 7 我没有数据计划。 有时我想在没有Wi-Fi的时候将手机连接到Internet,更新市场应用程序,将SMS消息备份到Gmail,从Gmail同步新联系人等。我不能用USB质量做的事情存储模式。 我有一个连接到互联网的Windows 7专业计算机,但我不...

2  如何在系列时限制数据下载  ( How to limit data download when tethering ) 
当我将Android Mobile连接到我的笔记本电脑时,我通过USB系列使用3G数据。我的笔记本电脑上的几个背景活动(赢8.1赢了),例如常规更新。这排出了每月包,分配的下载/上传限制无时间耗尽。 有没有办法监控系束缚连接和拒绝/块背景下载,任何文件大于5-10MB的文件? ...

1  用root手动配置USB Tethering  ( Configuring usb tethering manually with root ) 
我已经用尽了以编程方式启用USB系列: service 方法在我的手机上不起作用(三星注4)。它似乎是某种保护的API,并从 adb 戳戳它没有效果。 shell input 方法不适用,因为它要求设备已解锁,并且似乎没有以编程方式和非破坏性解锁设备锁定的方式指纹。 所以,我正在寻找实现这个目标"...




© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有