手机安装了BusyBox
后一顿重装和卸载后发现wifi连不上了, wifi一直显示正在获取IP地址...
("Obtaining IP Address")
两种解决方法:
使用静态IP
获取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:
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...
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