Originally Posted by yasn77
Not sure if i get that... When you use static ip there is a section that allows you to specify the DNS... not sure what you mean
The problem as i see it, is that there is no easy way (via android GUI) of changing DNS if you use DHCP
adb shell setprop dhcp.eth0.dns1 <IP>
adb shell setprop dhcp.eth0.dns2 <IP>
This will only change the DNS server. If you know shell scripting, You could make this more permanent by editing :
If that works, and you are unfamiliar with shell scripting, then post some conditions (i.e SSID of network, gw of network etc) and i'll see if i can knock something up for you.
Hope that helps
Yes i am wanting to just change the DNS server that my phone uses when connecting to wifi but i cant set it up dynamically so i am forced to keep it dhcp.
i tried the way you said and it didn't do it.. this android stuff is new to me.. after i type in that command in it does not say anything.. i have rooted and unlocked my nexus one and pretty good with computers but this linux stuff is another ballgame..
ive done some dos scripting back in the day, is this anything similar? what other info would u need from me to create the file? SSID, password, ??
Phones in House
2 Samsung SGH-I337 - Rooted
iPhone 4 - Jailbroken
Tablets in House
Nexus 7 1st Gen - Rooted, Custom ROM
Nexus 7 2nd Gen - Rooted
Nabi 2 Tablet - Rooted, GAPPS installed
Kindle Fire - Stock
iPad 2 - Jailbroken
Extras in house
2 Chromecast devices
and 2 desktops...
too many devices for a small family of 4 to own but it keeps the kids quiet on car rides