从 Android 设备连接 ad-hoc 网络
我试图从 Nexus S 连接临时网络。但是我意识到 Android 不支持临时网络这个令人不快的消息。经过大量研究后,我找到了一个解决方法:
a)root设备并 b) 将 wpa_supplicant 复制到系统 bin。
我完全不确定这会取得多大成功。由于相当担心进一步推进这种方法,我又重新开始研究,不幸的是,最终徒劳无功。
以前有人处理过这个吗? Android 中的临时网络有任何修复吗?
I was trying to connect an ad-hoc network from Nexus S. However I realized the unpleasant news that Android does not support ad-hoc networking. After a quite amount of research, I found a work around which is:
a) Root the device and
b) Copy wpa_supplicant to system bin.
I'm totally unsure how much successful that would be. Being fairly apprehensive to further this method, I returned back to research and, unfortunately, ended up in vain.
Has anyone dealt this before? Is there any fix for ad-hoc networking in Android?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
嗯,我也面临这个问题。并在谷歌上搜索,找不到任何值得与您分享的内容。只是一个解决方法,使用 ConnectifyME 在您的 PC 中创建一个 AP,然后您可以使用该 AP(可以说虚拟 AP)在您的 Android 设备上共享互联网。
希望这对您有帮助。
Well, I am facing the problem too. and was googling around and could not find anything worth sharing with you. Just a work around, Use ConnectifyME to create an AP in your PC and then you can use that AP (can say virtual AP) to share internet on your android device.
Hope this helps you.
有一个名为 Virtual router 的 GUI 程序,它是开源程序,可用于创建 WiFi,它使用 Windows 7 中的虚拟 Wi-Fi 功能。
有关更多说明,请查看我的帖子:
http://algorithmsea.blogspot.in /2012/12/ad-hoc-network-from-android-devices-i.html
There is a GUI program called Virtual router that is open source program and could be used to create WiFi, it uses virtual Wi-Fi feature in Windows 7.
For more description have a look at my post:
http://algorithmsea.blogspot.in/2012/12/ad-hoc-network-from-android-devices-i.html
android 操作系统不支持 adhoc,但输入 2 行 DOS 命令应该可以解决问题。
我对此进行了测试并且它有效。.在 DOS 命令提示符上输入这两行
我在这里找到了这一点:对于 Android 用户:通过 adhoc 的互联网无需任何应用程序即可工作! : http://androiditnow.blogspot .com/2012/09/for-android-usersinternet-via-adhoc-is.html#.UXV0bUqlrGI
adhoc isn't supported in android os but typing 2 lines DOS commands should solve the problem.
I tested this and it works.. type these 2 lines on DOS COMMAND PROMPT
I found this here : For Android users:Internet via adhoc is working without any app! : http://androiditnow.blogspot.com/2012/09/for-android-usersinternet-via-adhoc-is.html#.UXV0bUqlrGI
虽然 Adnroid(至少 2.3)没有用于设置 Ad-hoc 或 Master 模式的界面,但有时(例如在我的 SE Xperia X10 上)您可以只使用 iwconfig(需要手动复制到设备)并将其设置为 Ad-临时模式。
我有时会使用它,使用打开和关闭临时模式的脚本(甚至在设备上配置了 dhcp 服务器)
While Adnroid (at least 2.3) does not have interface for setting up Ad-hoc or Master modes, sometimes (like on my SE Xperia X10) you can just use iwconfig (need to be copied to device manually) and set it to Ad-hoc mode.
I use it sometimes, having scripts that ad-hoc mode on and off (there is even dhcp server configured on the device)