博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

手机安装了BusyBox后一顿重装和卸载后发现wifi连不上了, wifi一直显示正在获取IP地址...("Obtaining IP Address")


  1. 使用静态IP

  2. 获取ROOT权限后, 修改/system/etc/dhcpcd/dhcpcd-run-hooks的权限为dhcp:shell 550或者755

Symptom: you try to connect to a wireless (wifi) network and cannot connect. It detects the network fine, but gets stuck at the "obtaining IP address" and never resolves an IP.

There's 2 ways to fix this:

  1. Use a static IP and manually enter in all of the info, IP address, subnet mask and gateway. Which works great unless you're in a DHCP-only environment, in which case...

  2. You'll need to root the phone and make the following file modification:

The file: /system/etc/dhcpcd/dhcpcd-run-hooks needs to have permissions fixed to "execute" by "user" "group" and "others" by using a file explorer in "write" mode

posted on 2015-08-30 23:23  bloomc  阅读(656)  评论(0编辑  收藏  举报