`
zgpeace
  • 浏览: 20104 次
  • 性别: Icon_minigender_2
  • 来自: 北京
社区版块
存档分类
最新评论

修复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.

 

 

  • 大小: 18.6 KB
分享到:
评论

相关推荐

    Android代码-安卓WiFi密码查看器

    WiFi_Tool 安卓WiFi密码查看器 License The MIT License (MIT) Copyright (c) 2015 WuHaojie Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ...

    Android代码-Android

    Android BLE SDK for Android (v4.3 or above) to work with our BLE development boards. Tested on Nexus 4, 5 and 7 with Android version 4.4.4 and 5.0. Resources Android API 18 (Android 4.3) BLE ...

    Android代码-智能家居系统(安卓端)

    智能家居系统(安卓端) 介绍 安卓端通过HTTP心跳连接实时获取最新数据,并展示于主界面;...Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated do

    Android代码-知乎Android客户端启动页的视差动画效果实现

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, ...

    Learn Java for Android Development

    Once you complete this book, you will be ready to dive into Android, and you can start that journey by obtaining a copy of Beginning Android 2. Additionally, author Jeff Friesen will provide ...

    Learn Java for Android Developmen

    Once you complete this book, you will be ready to dive into Android, and you can start that journey by obtaining a copy of Beginning Android 2. Additionally, author Jeff Friesen will provide ...

    Android代码-Android裁剪图像功能

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, ...

    Android代码-PixelSlide

    PixelSlide ...Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software withou

    Android代码-Microphone

    Android Microphone (c) 2010-2011 Gaz Davidson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...

    获取当前位置—Obtaining the Current Location.

    LocationManager类拥许多方法用于接受位置数据更新,在它里面最简单的形式,注册一个时间监听,用于识别来自位置数据更新的位置管理,以及设置最小时间和间隔距离。随着时间和位置间隔的更新,回调函数...

    Android代码-Fab 和 Dialog 之间的变换

    **Fab and Dialog Morphing Animation on Android** It's simple but also flexible to use, hope you enjoy it! Inspired by Plaid project and some code based on it. See the description of the implementation...

    Android代码-WaveProgressView

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, in

    Obtaining Absolute Encoder Position on a TMS320C240.pdf

    Obtaining Absolute Encoder Position on a TMS320C240.pdf

    Android代码-Chess Clock App

    Chess Clock App Description: A game-clock app for the Android mobile devices. Useful in blitz chess games and ...Permission is hereby granted, free of charge, to any person obtaining a copy of this soft

    Android代码-android-samples

    Android Samples Sample Android code for the tutorials on my blog. Developed By Mike Gouline The MIT License (MIT) Copyright (c) 2015 Mike Gouline Permission is hereby granted, free of charge, to ...

    Android代码-Axel(XMLEditorViewer)

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, ...

    domain user password obtaining

    domain user password obtaining

    Android代码-petablox

    There are currently 2 ways of obtaining and using Petablox: Build Petablox from source Obtain a binary distribution Both of the above steps are described below: Build from Source To build Petablox, ...

    A Method for Obtaining Digital Signatures and Public-Key Cryptosystems

    C#C#A Method for Obtaining Digital Signatures and Public-Key Cryptosystems A Method for Obtaining Digital Signatures and Public-Key Cryptosystems A Method for Obtaining Digital Signatures and Public-...

    Android代码-MovieGuide

    Android app that lists popular/highest-rated movies, shows trailers and reviews. This app showcases the MVP pattern, RxJava, Dagger 2 and Uncle Bob Martin's Clean Architecture approach. Optimized for ...

Global site tag (gtag.js) - Google Analytics