Static IP

Post your questions and help other users.

Moderator: Martin

Post Reply
Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Static IP

Post by Wibbly » 28 Feb 2018 12:43

Is there a away to set a device to a Static IP address, rather than allowing it to depend on DHCP?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Static IP

Post by Desmanto » 28 Feb 2018 16:10

What kind of usage? If it is per wifi SSID setting, android should handle it automatically already.

But if you want to change on the same wifi SSID for certain condition, ifconfig seems can work, but required root. I tried at mine, even with root, it doesn't change my wlan0 interface IP.

Other uglier method is to use Control UI to go to the wifi setting and set the IP manually.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply