无法将 Android 手机连接到 Adhoc 模式
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10429574/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
unable to connect Android phone to Adhoc mode
提问by David Norman
I am not able to connect to an open AD-HOC network i created on my laptop on Windows 7 and trying to connect using my samsung galaxy i9000. I followed exactly the same procedure described above but i cant get it to work. Please help. Is there anything else i need to add for OPEN adhoc network? (Android#),
我无法连接到我在 Windows 7 笔记本电脑上创建的开放式 AD-HOC 网络,并尝试使用我的三星 Galaxy i9000 进行连接。我遵循了上述完全相同的程序,但我无法让它工作。请帮忙。我还需要为 OPEN adhoc 网络添加什么吗?(安卓#),
回答by ccpizza
Last time I looked into this issue Android did not support Ad-Hoc networks on stock ROMs. Maybe this has already been fixed in Android 4.x but for all versions prior to 4.x it simply did not work.
上次我研究这个问题时,Android 不支持库存 ROM 上的 Ad-Hoc 网络。也许这已经在 Android 4.x 中修复了,但对于 4.x 之前的所有版本,它根本不起作用。
You can get working Ad-Hoc support if you root your phone and install the CyanogenModROM.
如果您将手机 root 并安装CyanogenModROM,您可以获得工作 Ad-Hoc 支持。
If you don't want to root and change ROMs, an alternative would be to create a standard Wifi hotspot instead of an ad-hoc network.
如果您不想 root 和更改 ROM,另一种方法是创建标准的 Wifi 热点而不是临时网络。
On Windows this could be achieved using programs like Connectifyor without any additional programs (on Windows 7 only) using the built-in system tools as described at http://www.ishanarora.com/2009/07/29/windows-7-as-a-wireless-access-point/.
在 Windows 上,这可以使用Connectify 之类的程序或不使用任何其他程序(仅在 Windows 7 上)使用内置系统工具来实现,如http://www.ishanarora.com/2009/07/29/windows-7 所述-as-a-wireless-access-point/。
On OSX you can enable WiFi hotspot from System preferences> Sharing> Internet Sharing: Wi-Fi, and on a Linux machine you can use the hostapddaemon (if your Wi-Fi adapter supports it).
在OSX您可以启用从WiFi热点System preferences> Sharing> Internet Sharing: Wi-Fi,和一台Linux机器,你可以使用在hostapd守护进程(如果您的WiFi适配器支持的话)。
And the last, and probably the best solution, would be to get a wifi router.
最后,也可能是最好的解决方案,就是买一个 wifi 路由器。
回答by Estragon
Android does not support adhoc wifi
Android 不支持 adhoc wifi
=> http://code.google.com/p/android/issues/detail?id=82
=> http://code.google.com/p/android/issues/detail?id=82
But you have some alternative wpa_supplicant files available that let you connect to adhoc wifi. They are known to cause bugs and instability.
但是您有一些替代的 wpa_supplicant 文件可用,可让您连接到临时 wifi。众所周知,它们会导致错误和不稳定。