[Q] DNS/Network interface settings in WP7 - Windows Phone 7 Q&A, Help & Troubleshooting

Hi there,
I'm currently searching for a registry entry or hosts file on WP7. I know there are some registry keys for DNS on Windows Mobile 6.5, due to its support for multiple network devices (see http://msdn.microsoft.com/en-us/library/aa916390.aspx). But if I'm looking at my HD7 with Advancedexplorer, I couldn't find any of these keys.
Only interesting infos where in HKEY_LOCAL_MACHINE\Ident, but I'm aiming for the keys or file where WP7 will keep its setting it gets from DHCP while it is connected via WLAN.
AFAIK there is no possible way to manually edit the network settings, so I'll always have to use DHCP. Do someone of you know the location of this information?

Oh, I see my post was moved to Q&A? Thought it would be more a hacking/development problem to find the right file/registry key? Is it possible to move the post back to its original area?
Ok, after digging, I found finally the location for the Wifi Interface settings:
HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1\Parms\Tcpip
I'm currently not connected to a Wlan, but will recheck at home if there is a value for DNS or device IP
Little Update: if the phone is connected to Wlan, you will get more options beginnen with DHCP I think. So its no problem to change the DNS, but it will only last until the phone reconnects. The values will be overwritten. If you enter a wrong non working DNS, the phone will resort to your providers DNS.

Related

Internet Connection Permanently Killed??

Is it possible to permanently affect my Wizard's internet connection by over flashing??
I'm having a problem connecting to the internet. It doesn't connect via WiFi whether on an open or WEP network (I'm testing it with 2 routers -- mine and my neighbors). It connects to GPRS just fine as long as I put the right ISP info. But when I try to load a page in IE it comes back with 1 of 2 error messages:
1)
Error 502 - Bad Request
The server could not resolve your request for uri:
2)
Cannot obtain a server-assigned IP address. Try again later or enter an IP address in Network settings.
I was running a custom made vanilla 1413 for the longest time. Then yesterday tried MFrazzz's 1913 and now ANTC's. Between one of those two I am not unable to connect to the internet. I even flashed back to the 2.24 official T-Mo ROM and even with the factory settings it still not working for either GPRS or WiFi. In the past hour I've tried T-Mob official, ANTC 2.0 and XM6R4...all the same problem.
So that virtually eliminates the possibility that it was either a bad radio, corrupted Ext ROM or a bad flash. It definately seems like my Wizard isn't being given an IP address. So that would be a software/ROM/registry problem, right? Well then why is it not working with 3 fresh ROM flashes??
Any suggestions??
If I connect it to my PC via usb/activesync and use the PC's internet connection then it will go ahead and load webpages.
As soon as I disconnect the USB cable then it'll load up the GPRS connection and try to load a webpage and timeout with one of the errors above.
One strange thing I noticed is that when it gives the 502 error it removes the domain from the uri. Example:
Target URI:
http://mobreader.com/proxy.aspx?s=http://test.com...
Response:
Error 502 - Bad Request
The server could not resolve your request for uri: /proxy.aspx?s=http%3A%2F%2Ftest%2Ecom...
seems your proxy is not functioning correctly
reflash with original rom and then this rom you would like
you can also try and delete all connections but i doubt it helps..
I'm on T-Mobile full internet plan, not T-Zones or anything, so no need to set a proxy. Just put in the access point as wap.voicestream.com and it should work.
I've input the data manually as well as tried with the t-mobile wap setting cabs. Doesn't make a difference. Also since these are freshly installed ROMs (including an official T-mobile ROM) there shouldn't be any proxy settings pre-set, right?
yes i am aware of that..
i need to explain myself more , sorry for that..
what i mean is the proxy inside the phone , not the one u setup with t-zones
or any related..
Ok a little update...
I was able to connect via Wifi this morning, it was either
A) Registry changes to HKLM>Comm>TNETWLN1>Params>HTCPreloadStatus to value of "1"
B) Registry change to HKLM>Comm>TNETWLN1>Params>HTCPreloadWifi to value of "1"
The router assigned me an IP address now and fully connected. I'm able to pull up websites now. Sometimes the above registry settings mysteriously change back to "0" value and if that happens then I won't be able to pull up a website. So I know what was causing the WiFi issues.
But still don't know what's the problem with GPRS. Still can't load a website via URL or even IP address. Is there a similiar registry edit that I can make that will restore GPRS connection ability?
Thanks in advance guys.

wifi - switching different ip

hi, is there any app which is able to switch different ip address and DNS for different wifi AP? I have fixed IP at home and then when i try to connect to any other, i have to delete fixed IP settings and when back home write it back.
tried google but no luck
thanks
so as i see, there is propably no app
I tried this too, and found the exact same problem. I know of no way to save different "profiles" for wifi settings.
The solution I found is to have IP address reservation enabled on my router, and to use the MAC address of my phone so that it is always assigned the same IP address.
Same result - just a different way of doing it. It does, however, mean I can have wifi settings for multiple places now.
have you guys tried wifiprofiles?
http://forum.xda-developers.com/showthread.php?t=355936
its a bit old, but will get the job done!

WiFi DNS Does not Update

I've posted this over at the Rhodium Thread located here:
http://forum.xda-developers.com/showthread.php?t=731292
but haven't gotten a single response yet. Since this is a concern for more than one device I feel like I should post it here. Mods feel free to move this to the correct location if need be.
===================
So it seems to me that this is a problem on ALL Android devices that I have tested with. Here's the situation
I have a router in my house in which I have DHCP turned off so my device will grab an IP (Not Static) and DNS from the ISP. I need to find a way to be able to just change the DNS Settings to 208.67.222.222 and 208.67.220.220 on android without having to manually put in an IP since the IP will automatically get changed every few day's.
Android doesn't seem to let me do that. Does anyone know how? Going into the Advance Menu in the Wifi settings and changing the dns does not actually change anything... I noticed this on the following android devices as well: Moto Cliq, MyTouch 3g, old Kaiser running android on NAND, and my Rhodium Devices running android.
Any reason as to why Android isn't updating my DNS Settings? Any help would be appreciated.
starmena said:
I have a router in my house in which I have DHCP turned off so my device will grab an IP (Not Static) and DNS from the ISP. I need to find a way to be able to just change the DNS Settings to 208.67.222.222 and 208.67.220.220 on android without having to manually put in an IP since the IP will automatically get changed every few day's.
Click to expand...
Click to collapse
Ok so DHCP is assigning your network config, but you want to use different DNS servers than the DHCP allocated ones?
starmena said:
Android doesn't seem to let me do that. Does anyone know how? Going into the Advance Menu in the Wifi settings and changing the dns does not actually change anything... I noticed this on the following android devices as well: Moto Cliq, MyTouch 3g, old Kaiser running android on NAND, and my Rhodium Devices running android.
Click to expand...
Click to collapse
On my HTC Hero running an Android 2.1 ROM, unless "Static IP" is selected, I dont even get the option to change the DNS servers (option is greyed-out).
One way to manually change DNS is via shell if you have root access on your phone using ADB shell (or ssh, telnet etc if your ROM supports them), see this thread [Q] Help! Changing DNS settings .
Any network config tools on the app store?
-jc
starmena said:
I've posted this over at the Rhodium Thread located here:
http://forum.xda-developers.com/showthread.php?t=731292
but haven't gotten a single response yet. Since this is a concern for more than one device I feel like I should post it here. Mods feel free to move this to the correct location if need be.
===================
So it seems to me that this is a problem on ALL Android devices that I have tested with. Here's the situation
I have a router in my house in which I have DHCP turned off so my device will grab an IP (Not Static) and DNS from the ISP. I need to find a way to be able to just change the DNS Settings to 208.67.222.222 and 208.67.220.220 on android without having to manually put in an IP since the IP will automatically get changed every few day's.
Android doesn't seem to let me do that. Does anyone know how? Going into the Advance Menu in the Wifi settings and changing the dns does not actually change anything... I noticed this on the following android devices as well: Moto Cliq, MyTouch 3g, old Kaiser running android on NAND, and my Rhodium Devices running android.
Any reason as to why Android isn't updating my DNS Settings? Any help would be appreciated.
Click to expand...
Click to collapse
I'm confused by your question. If you have DHCP turned off your device's are not going to grab an IP address from your router. Why don't you turn on DHCP and let your router assign IP addresses. As doing so your devices will also use the DNS setting from the router which will be your ISP's DNS ip address. Unless you change your DNS settings in your router to one of the many public DNS servers available. My recommendation is turn DHCP to "ON" on your router. Maybe start your DHCP IP assignment at 192.168.1.100 and go up to 150. That way you can use the range from .2 to .99 for static IP's. This is how I configured my router but I'm also using DD-WRT firmware on my router which highly customizes the router. Alternately you can change your routers DNS ip setting to Open DNS server so there would be no need for you to change it on the phone if you are using WIFI. Just let your router do all that work for you. Hope this helps. Viva Santiago Rep Dom y NYC.

IP address changer

Hi,
exist some HOMEBREW app which can let me change the IP address ?
Somebody told me that it exist.
Thanks.
Well, you can easily specify your own IP address for WiFi networks. That's built into the phone.
For the cellular network... I'm not aware of a way, though it probably does exist. I'm not sure anybody has coded it as a WP7 app, though.
Why do you need to do this? Your IP address quite probably changes every time you reboot your phone; why do you need it to be a constant value?
GoodDayToDie said:
Well, you can easily specify your own IP address for WiFi networks. That's built into the phone.
For the cellular network... I'm not aware of a way, though it probably does exist. I'm not sure anybody has coded it as a WP7 app, though.
Why do you need to do this? Your IP address quite probably changes every time you reboot your phone; why do you need it to be a constant value?
Click to expand...
Click to collapse
For me this threat is also interested. And why would be practice to be able to put static IP address is simple, what to do when you want to connect in WIFI environment where is no DHCP.
Or let say ISP, give you STB with WLAN on which is not enabled DHCP.
Cheers.
As I said, specifying your own IP address is easy on WiFi (specifically for networks without DHCP). Open the WiFi settings page, press-and-hold on a network, and select Edit. If you connect to a network that doesn't have DHCP, it should prompt you for the settings when you first connect.
GoodDayToDie said:
As I said, specifying your own IP address is easy on WiFi (specifically for networks without DHCP). Open the WiFi settings page, press-and-hold on a network, and select Edit. If you connect to a network that doesn't have DHCP, it should prompt you for the settings when you first connect.
Click to expand...
Click to collapse
My friend, this what you are wrote is written in user manual which I am get with my optimus 7. There is also written that is procedure for connecting on hidden network is press-and-hold on any wlan net and change the name according with hidden net and I could not reach hidden net until I am receive latest fw(few days ago) and I have optimus 7 almost nine month.
In any case, what you are wrote not applies for optimus 7, maybe for some other phone apply, but not for optimus 7, at least with OPN Firmware.
Cheers.
Ah... I don't have an LG phone, so if there's some weird quirk to their WiFi drivers, I can't help you with that. Sorry. :-(
JosipoGo, have you connected your phone to Zune and done updates that way? Go to Settings=> about phone and tell us what version of OS you have.
I am thinking you may be running NoDo on your phone, as anything with Mango or above should have the ability to change IP address. Yes, your shipping firmware (if it is NoDo version) may not have this feature, and it wouldn't be on your phones manual if that is the case.
If you have never done system updates, you should be able to add this feature by preforming the Zune update (if an update is available for your phone).

Wifi static IP

Hi, I use static IP's on my router.
Unfortunately the HTC Titan appears to require a DHCP server allocated IP address.
How can I overcome this problem please, of at all?
Thanks
Forum Search
Forum search is your friend. Just searching for "WP7 static IP" will answer your question, in the negative at that. Maybe WP learns that trick in its next iteration.
Actually, Tango has this feature. For some reason, though, MS decided to not enable it by default, you have to set a key in the registry:
[HKEY_LOCAL_MACHINE\Comm\Connectivity\WiFiSplashUX]
"EnableStaticIP"=dword:1
see:
http://forum.xda-developers.com/showthread.php?t=1637690&highlight=export+sim
Localhorst86 said:
Actually, Tango has this feature. For some reason, though, MS decided to not enable it by default, you have to set a key in the registry:
[HKEY_LOCAL_MACHINE\Comm\Connectivity\WiFiSplashUX]
"EnableStaticIP"=dword:1
see:
http://forum.xda-developers.com/showthread.php?t=1637690&highlight=export+sim
Click to expand...
Click to collapse
Thanks, how can I change the registry?
Unless you are at least interop or wp root tools unlocked, you can't. You can use the registry editor built into WP root tools to edit this key.
Sent from my 7 Mozart T8698 using Board Express
Localhorst86 said:
Unless you are at least interop or wp root tools unlocked, you can't. You can use the registry editor built into WP root tools to edit this key.
Sent from my 7 Mozart T8698 using Board Express
Click to expand...
Click to collapse
sorry to sound dopey but not sure what you mean, can you expand please?
well, your phone has to be unlocked in order to allow access to the registry. However, Developer unlock and Chevron Unlock do not suffice as they won't allow access to the registry either.
In order to access the registry, your phone needs an interop unlock, wproottools unlock or full unlock.
Localhorst86 said:
Actually, Tango has this feature. For some reason, though, MS decided to not enable it by default, you have to set a key in the registry:
[HKEY_LOCAL_MACHINE\Comm\Connectivity\WiFiSplashUX]
"EnableStaticIP"=dword:1
see:
http://forum.xda-developers.com/showthread.php?t=1637690&highlight=export+sim
Click to expand...
Click to collapse
i added the value using WP7 RootTools on my Samsung Focus but can not see the "Static IP" in wifi settings
What's your OS version number?
What about not setting as fixed on the phone and assigning the IP address you want to use every time in the router to the mac address of the phone.
I do this for our IP phones as they seem to do strange things when programmed with a fixed IP address, but if I leave them to DHCP and tell the router to assign the same IP address every time I get the same result but the IP phone is happy
SeaComms said:
What about not setting as fixed on the phone and assigning the IP address you want to use every time in the router to the mac address of the phone.
I do this for our IP phones as they seem to do strange things when programmed with a fixed IP address, but if I leave them to DHCP and tell the router to assign the same IP address every time I get the same result but the IP phone is happy
Click to expand...
Click to collapse
The word for this is "static leases", btw.
Tbh, I would assume people have a valid reason to use static IP adresses, allthough I can not follow it. I use static leases myself, but there might be routers that do not allow assigning static leases.
In such a case, If I wanted to achieve static adresses on certain networked devices (NAS, managed switches, home servers etc.) I would handle it differently:
enable the DHCP Server and statically assign IP Adresses that are not within the IP Range to selected devices.
PS: Static leases have the big advante that you can change your static adresses without needing to access each individual device. Heck, they don't even have to be turned on to manage your IP adresses.
EDIT: more information about static leases can be found here:
http://www.dd-wrt.com/wiki/index.php/Static_DHCP
Localhorst86 said:
What's your OS version number?
Click to expand...
Click to collapse
My OS version is 7.10.8107.79
7.10.8107 Windows Phone 7.5 Consumer Refresh, I think you need to be on Tango (7.10.8773 Windows Phone 7.5 Consumer Refresh 3 (CR3)) for this to work.

Categories

Resources