修复android获取ip地址失败 Fix Obtaining IP Address Android(安卓)WiFi Problem
This is a common problem in android.
The name of the issue says it all. Android fails to obtain an IP address from a wireless router: connection attempt fails. It goes through stages in an infinite loop: wifi重复执行以下操作
1.Obtaining IP address 获取ip地址
2.disconnecting 失去连接
3.scanning 搜索
After searching about this problem on internet, I found that many other people facing the same problem. But at last I found a solution for this problem and going to share here. Here’s the solution to Obtaing IP address Wifi problem on android:
The solution is to use a static IP for your WiFi connection, to do this:
From your android device, goto Settings > Wireless and networks > WiFi Settings > Click menu button (left) and select advanced.
设置路径:设置>无线网络>wifi设置>右键选择高级设置
You’ll see an option “use static IP” under IP settings section. Enable it and enter the following parameters.
修复wifi上网只要设置以下信息:
IP address : 192.168.1.253
Gateway: 192.168.1.1
Netmask: 255.255.255.0
DNS1: 8.8.4.4
DNS2: 4.4.4.4/8.8.8.8
This method works 100% when we tested it. 这是真的;不过俺试了,是连接上了,不过还是上不了网,再次取消用静态地址连接,magic wierd it work. enjoy it if you are the lucky guy as me.
================================================
以下木有尝试,留作参考
For samsung users, I have a pretty good trick which works very well.
When you have obtaining IP address problem,
1.Turn off wifi.
2.Open “Allshare”, then you will be asked to connect to a wifi network.
3.Then select the wifi network that you need to connect from the list opened.
Magically, you will be connected without any extra effort.This works 100% sure without fail.
You may also like -
转载:http://mhotspot.com/blog/fix-obtaining-ip-address-android-wifi-problem/
更多相关文章
- Android(安卓)Gradle Plugin指南(三)----依赖关系,Android库和多项
- Android之TelephonyManager类的使用案例
- Android之手机振动的设置
- Android设置拍照或者上传本地图片
- google 开发者自定义view的系列(创建view,绘制,交互,view的优化)
- Android的ProgressBar以及自定义进度条
- 我的Android进阶之旅------>Android视频录制小例子
- Android--利用selector设置Button
- Android(安卓)设置全屏显示