Timeline for Add static IP settings to custom rom
Current License: CC BY-SA 3.0
21 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 11, 2014 at 13:29 | history | tweeted | twitter.com/#!/StackAndroid/status/498823561315115010 | ||
Dec 17, 2013 at 20:19 | answer | added | Kevin | timeline score: 1 | |
Jul 5, 2013 at 16:08 | answer | added | Cybercartel | timeline score: 0 | |
May 31, 2013 at 7:12 | answer | added | Ian | timeline score: 0 | |
Apr 9, 2013 at 23:27 | comment | added | acy | First start option sounds good :) Any resources, tutorials, links about this method? I tried before to write xmls to /data/data/... but failed. (THANKS alot by the way!) | |
Apr 9, 2013 at 23:07 | comment | added | t0mm13b | Ahhhh okie, fair enough... yes you're correct you dont have the overlay directory... Am afraid you'd need to build it from scratch to shovel into the Settings content provider to insert the static ip, gateway etc, or write a simple oneshot program to run on first start to insert the values. | |
Apr 9, 2013 at 23:01 | comment | added | acy | (I'm repacking the system.img) | |
Apr 9, 2013 at 22:57 | comment | added | acy | Didn't build it from scratch. That means I don't have an overlay directory (Am I right?) I modified and repacked an existing rom. I used the wpa_supplicant.conf to store the ssid and password. But I don't know how to store the static ip, gateway etc. in there... | |
Apr 9, 2013 at 22:35 | comment | added | t0mm13b |
as for static ip - that is stored within the settings database, rather more correctly - Settings Content Provider. As you have indicated, you have made this custom rom? yes? compiled from scratch? there should be an overlay directory in your build - add in the static IP and gateway into the config.xml file found in the overlay directory.
|
|
Apr 9, 2013 at 22:31 | comment | added | t0mm13b |
You might have to manually specify that in /data/misc/wifi/wpa_supplicant.conf - yes, if you're rooted, that is where it is stored.
|
|
Apr 9, 2013 at 22:28 | history | edited | t0mm13b |
added additional tag 4.1 for jb
|
|
Apr 9, 2013 at 22:25 | comment | added | acy | It's currently Android 4.1.1 | |
Apr 9, 2013 at 22:23 | comment | added | t0mm13b | What android version is your ROM? :) | |
Apr 9, 2013 at 22:22 | comment | added | acy | I'm using the devices for a signage system and it's okay that they won't connect to public hotspots then. Would be great though if it's still possible to deactivate the static ip settings at some place... | |
Apr 9, 2013 at 22:06 | comment | added | t0mm13b | static IP addresses have higher precedence over dynamic...? me fcekn memory is gone now... le sigh | |
Apr 9, 2013 at 21:53 | comment | added | t0mm13b | manual configuration? IS there no dhcp on it? :o that is an odd one! Like as I have mentioned in my previous comment, what if you went to a public wifi hotspot - it will fail. :) | |
Apr 9, 2013 at 21:29 | comment | added | acy | I want to do that because I want to set up a couple of android devices with the same rom and the same static ip settings. I don't want to reduce the manual configuration as much as possible. One step is setting up the static ip settings. | |
Apr 9, 2013 at 13:47 | comment | added | t0mm13b | Why would you want to do that? If you do, the device may not be able to connect other wifi networks... | |
Apr 9, 2013 at 13:23 | history | edited | ale |
edited tags
|
|
Apr 8, 2013 at 22:22 | review | First posts | |||
Apr 8, 2013 at 23:14 | |||||
Apr 8, 2013 at 22:05 | history | asked | acy | CC BY-SA 3.0 |