Fix for "Unable to obtain server assigned IP address." problem - 8525, TyTN, MDA Vario II, JasJam General

Alright dudes, thought I'd post this up as it seems to be the most optimal solution for fixing most instances of the "Unable to obtain server assigned IP address." and it doesn't seem to be widely publicised. I chose a new thread as there seems to be so many instances of this issue. Might be an idea to put this in a stickie, or the WiKi.
Change the "EnableDHCP" registry key to "0", its located at:
HKEY_LOCAL_MACHINE\Comm\RNDISFN1\Parms\TcpIp
Then do a soft-reset.
Basically, the problem is caused by the DHCP IP address assignment timing out, causing the connection to be sometimes dropped (even though an IP address may have originally been acquired without a problem) and hence the error message. Disabling DHCP forces the immediate assignment of the default IP address which doesn't timeout (this has already been detailed on this forum).
Note: This fix retains the internet pass-thru ability of ActiveSync, unlike the other reported solution of disabling "advance network functionality".
I hope this helps some of you out there with this issue.

Or if you dont want to do a registry hack when you can do this:
Settings wireless networks -> network adapters -> Remote-NDIS Host -> use specific IP address:
IP address: 169.254.2.1 <-use these addresses
Subnet: 255.255.255.0
Default GW: 169.254.2.2
Hit OK and that will do it.

ok, so what am I doing wrong?
I have checked my registry, and and value as in post 1 is 0
and I have set the IP address etc as in post 2 and I am still getting this stupid message.
What else can I try?
Any ideas?
thanks

Thanks man!!!
thank you very much....

Nice!
This is awesome. Frustin, I did it without the regedit and the error appears not to be returning. Just go to Settings, R-NDIS on your PPC and put in those numbers. I've been having this error for well over a year!

thanks!!!!!!
you're wonderfull!!!!
Slider758 said:
...
Change the "EnableDHCP" registry key to "0", its located at:
HKEY_LOCAL_MACHINE\Comm\RNDISFN1\Parms\TcpIp
Then do a soft-reset.
.........
Click to expand...
Click to collapse

I'm using WMDC (Vistax64) and I had same problem with my TouchDiamond.
I solve this after change registry value :
"EnableDHCP" registry key to "0", its located at:
HKEY_LOCAL_MACHINE\Comm\RNDISFN1\Parms\TcpIp
Then do a soft-reset.
Many thank's

thank you man,you can't imagine how you made my life easier with this post. 1000x thx

Related

Wifi Help.....Please

Hi, Can anyone help me with the settings I need to connect my Wanadoo Livebox with my O2 XDA Exec using wifi??
I already connect with my laptop and my wife's ipaq but can't with the exec.
I have 128 bit wep enabled and have put the key successfully into the exec but all that happens is: "connecting" followed by "available"?
I can see the network fine and when I check the livebox config.....the mac address of the exec is there along with the other two devices, so it's mac associated.
At the moment I'm using:
Network Cards Tab:
Wireless Tab:
Shows my livebox with the alternating connecting/available message.
Clicking on the shown network (my livebox) brings up the settings:
General Tab:
Network name: shows the correct SSID for my livebox
Connects to: The Internet.
Network Key Tab:
Authentication: WPA-PSK (Although I've also tried this on "open").
Data Encryption: TKIP.
"The key is automatically provided" box is ghosted.
Network key: Correct wep key, tried in upper and lower case.
Key Index: Is ghosted but shows "1".
802.1x Tab:
All ghosted......
But shows a ticked box for "use IEEE 802.1x network access control".
EAP type: Smart Card or Certificate.
Back to previous menu:
Networks to access: All Available.
Network Adapters Tab:
My network card connects to: The Internet.
As for the list of adapters......I have changed nothing as I know nothing!!
The list is a mystery to me.....I thought there would be just one.....??
Wireless LAN Tab:
Main Tab:
Status: Scanning network...
SSID: Blank.
TX Rate: Auto.
Mode: Infrastructure.
Channel: Blank.
BSSID: Blank.
MAC: Contains the associated MAC addy.
IP: Blank.
Signal Quality: Blank.
Settings Tab: Untouched.
LEAP Tab:
SSID: Shows my livebox, correctly named.
Authentication Type: Open System
Here, I have input my wanadoo user name and password.
Authentication Type: Open System. ( I have tried this with "EAP" selected but it has made no difference).
I have tried changing most of these settings with no luck...... I 've also tried removing the network (livebox) and letting it find it again with the default settings..... All I get is the same alternating messages prev mentioned??
Sorry this is so long....but thought I'd better put as much info in as possible
Can anyone help me?
Many Thanks in advance
Tim
Rom version 1.13.82 WWE
Rom date 11/30/05
Radio version 1.04.02
Protocol version 42.37.P8
ExtROM version 1.13.188 WWE
I have 128 bit wep enabled
Click to expand...
Click to collapse
Authentication: WPA-PSK (Although I've also tried this on "open").
Data Encryption: TKIP.
Click to expand...
Click to collapse
It looks like you're using 128bit WEP Encryption, and trying to connect using WPA-PSK Encryption ?
I'm no expert on setting up Wireless connections, but you'll want to recheck your settings and ensure you're using the same Encryption security on both your Wanadoo Livebox and the Exec.
"The key is automatically provided" box is ghosted.
Network key: Correct wep key, tried in upper and lower case.
Key Index: Is ghosted but shows "1".
Click to expand...
Click to collapse
Working from memory, you will need to set your Exec to WEP, which will unghost(?) the "The key is automatically provided". Uncheck the box and then type in your WEP key. Also ensure the Key Index is set to the same as your Wanadoo Live box.
At the moment, when it says "available", it basically means you have attached to the Wireless AP, but not authenticated (again, your trying to use different security types), so no IP is handed out to your Exec, thus no access..
Last time I tried setting up my Exec wirelessly I ended up hard resetting it, as I could no longer surf via the USB cable. YMMV of course..
cheers
Do you have DHCP enabled? Are your IP addresses static or dynamic?
Maybe they connect to eachother but if the IP addresses belong to different sub-nets, they will not allow any transfering.
I vaguely remember other people having problems with their Livebox and not being able to resolve them.
Might be worth searching the forums for 'livebox' to see what crops up. IIRC the problems were never solved. Wanadoo weren't interested in helping either.
Hi and Thanks.
I haven't got dhcp enabled so I believe the ip is dynamic?
I've changed my settings to "open" instead of "WPA-TPIK" and reinput my wep key.... but still with no luck
Aaah That's interesting.... and sounds about right for Wanadoo!!
I'm off to search now.
Thanks Again
Tim
TigerTim36 said:
Hi and Thanks.
I haven't got dhcp enabled so I believe the ip is dynamic?
I've changed my settings to "open" instead of "WPA-TPIK" and reinput my wep key.... but still with no luck
Aaah That's interesting.... and sounds about right for Wanadoo!!
I'm off to search now.
Thanks Again
Tim
Click to expand...
Click to collapse
Did you check the IP address that the Universal is using? Maybe you have to assign one within the subnet mask in the settings of the Wifi configuration of the universal. Normally, they asign in the 169.x.x.x grouping and the routers are normally 192.x.x.x so they will connect but will not send data to eachother.
Wep Keys
It's worth noting that you can usually input the key in hex or Ascii - I believe the key in the XDA will be in hex so make sure that the key in the AP is also in hex (I know that mine works when I use hex on both sides).
Dave
Hi Jorge, Only problem is which adapter settings to change from the list....I changed the settings for the first one in the list and input the correct primary and secondary DNS then input the correct ip addy and netmask and gateway......but still no joy
Do you know which adapter?
Thanks
Tim
Hi Dave, I used the keyboard to put the wep key in, as I did with the ipaq (no problem). How do I input it in using hexadecimal on the exec??
Much Appreciated....... anythings worth a try
Thanks
Tim
I believe the adapter is the tiacxwin CompatibleWireless Ethernet. It might be easier to just enable DHCP on your router, maybe? Don't you think?
Re: Wep Keys
Beridor said:
It's worth noting that you can usually input the key in hex or Ascii - I believe the key in the XDA will be in hex so make sure that the key in the AP is also in hex (I know that mine works when I use hex on both sides).
Dave
Click to expand...
Click to collapse
I have the similar problem with a LinkSys router before which generates a HEX pass key based on the ASCII phrase you provide, which did confuse me a bit. It is the HEX key you need to set.

Unable to obtain Server Assigned IP address

I posted this question in the Networking Forum but got no replies. But here is my problem:
I messed around with the Network adapters settings, while trying to get WiFi to work properly.
Now everytime I connect to ActiveSync via USB, I get the error message, "Unable to obtain Server Assigned IP address". I am sure this is because I set one of the adapters to "Automatic IP", but I don't know which one. Moreso, my Wizard does not access the internet properly when connected via USB.
Could someone please tell me which adapter I wronged, and what setting its supposed to be?
i get this error message randomly. jus wen i wake it up the pop up will be there, i thaught it was jus a gprs error or something.
Same here :?
i´ve been getting the same message each time i plug my phone in to sync with my pc.
But now i put a IP adress in with my Wireless networkcard settings on the phone and the last time i synced the message didn´t show up anymore. Try that maybe it´ll help you too.
edit:
ok sorry, it didn´t work. Just got the same message when i synced the phone on my home pc.
Solution
Hi, make this:
Start > settings > connections > Network cards > Remote-NDIS Host > Click Use specific IP address
Enter 169.254.2.1 for IP address
Enter 255.255.0.0 for subnet
Enter 169.254.2.2
It functions on my Wizard...
Solution
Hi, make this:
Start > settings > connections > Network cards > Remote-NDIS Host > Click Use specific IP address
Enter 169.254.2.1 for IP address
Enter 255.255.0.0 for subnet
Enter 169.254.2.2
It functions on my Wizard...
My Wizard loves to give me this error message at random too. I'm curious as to exactly where it's trying to get a server assigned IP address from, and why.
Re: Solution
viking111 said:
Hi, make this:
Start > settings > connections > Network cards > Remote-NDIS Host > Click Use specific IP address
Enter 169.254.2.1 for IP address
Enter 255.255.0.0 for subnet
Enter 169.254.2.2
It functions on my Wizard...
Click to expand...
Click to collapse
Thanx Viking. Someone had replied my post in the Networking Forum with the same IPs as yours.
Thanx again
i would check you firewall aswell, cus that would block it out if it is not setup right. My does this everytime i get a update for the firewall!!!
2Hiazle...
Enjoy I had the same problem and found this solution in another discussion...
I found that this problem appears when you make ANY configuration changes in "Network Card"((
Hi, all,
I'm having the same problem with a Universal. Would this "fix" work also on my ppc?
Thanks
vmiguel
2vmiguel
Yes, it should... It's a WM problem, not a problem of concrete machine.
tried this fix but it still does it.
Anyone got any other suggestions?
I did the same as you, messing around with settings.....
Anyway I think this is the procedure I did to screw it up.
Click Start, Settings, Connections, Network Cards, Network Adapters.
Then select Remote-NDIS host. The radio button to 'Use specific IP address' is selected but no IP address is entered. You can't exit this screen without either adding an IP address or selecting the 'Use server-assigned IP address' radio button'. If you select 'Use server-assigned IP address' the problem appears thereafter.
To fix it (or at least restore the defaults) you need to edit the registry:
HKLM\Comm\RNDISFN1\Parms\TcpIp\
Change the value of 'EnableDHCP' from 1 to 0.
That fixed it for me.
HTH
Andy

[SOLVED] WiFi Certificate Issue

I have a major issue with my college WiFi network, I can join from every OS, but not from WM (even Symbian can do it!)
My university uses a certificate-based wpa-tkip, I have installed the certificate on my Touch Pro, but I can't login...
More details can be found @
http://www.asi.polimi.it/rete/wifi/istruzioni/Servizio Wireless - Guida Utente.pdf
http://www.asi.polimi.it/rete/wifi/istruzioni/Istruzioni WiFi Linux v1.0.pdf
The language of the guides is Italian, but the images and the scripts are in english, I hope you can help me out with this issue *__*
I even installed Secure2W, but it seem to not work...
SOLUTION @ http://forum.xda-developers.com/showpost.php?p=2815200&postcount=15
Anyone?
I can't really find a solution ç__ç
Same issue here. This connection would be very useful, because the whole campus is covered by wifi and since I spend lots of hour there...
After installing the certificate, while attempting the connection, a further username+domain is required. That does't happen with a pc or a mac.
Some specs about the authentication:
- Auth: WPA
- Encr: TKIP
Certificate:
- Sha1 RSA @ 1024 bit
Did someone succeed in logging into similar networks?
Fulcrum.
Are you using Schaps Advanced config 3.2? If so then you need to make a couple of changes.
619619 said:
I have a major issue with my college WiFi network, I can join from every OS, but not from WM (even Symbian can do it!)
My university uses a certificate-based wpa-tkip, I have installed the certificate on my Touch Pro, but I can't login...
More details can be found @
http://www.asi.polimi.it/rete/wifi/istruzioni/Servizio Wireless - Guida Utente.pdf
http://www.asi.polimi.it/rete/wifi/istruzioni/Istruzioni WiFi Linux v1.0.pdf
The language of the guides is Italian, but the images and the scripts are in english, I hope you can help me out with this issue *__*
I even installed Secure2W, but it seem to not work...
Click to expand...
Click to collapse
leobalou said:
Are you using Schaps Advanced config 3.2? If so then you need to make a couple of changes.
Click to expand...
Click to collapse
Do you mean enabling:
# Validate server certificate
# WPA authentication
???
No I mean setting:
Network -> WPA auth... from enabled to Disabled
And Wi-Fi delay after boot: 0
I could not connect - I changed these settings, rebooted and it resolve my problem.
I hope this works for you too.
Fulcrum1 said:
Do you mean enabling:
# Validate server certificate
# WPA authentication
???
Click to expand...
Click to collapse
Ok, I'm gonna try tomorrow morning and I'll report back asap.
Thanks
Thank you, I'm going to try tomorrow too
I hope to reply a success from my Raphael!
Uhhhmm, tried today and nothing happened...
Sometimes it doesn't connect ad sometimes it asks for User+Domain
Fulcrum
Sorry to hear that - it worked for me and others - sorry.
Can anyone else help this guy???
Fulcrum1 said:
Uhhhmm, tried today and nothing happened...
Sometimes it doesn't connect ad sometimes it asks for User+Domain
Fulcrum
Click to expand...
Click to collapse
Fulcrum1 said:
Uhhhmm, tried today and nothing happened...
Sometimes it doesn't connect ad sometimes it asks for User+Domain
Fulcrum
Click to expand...
Click to collapse
The same happens to me
I will try again more combinations tomorrow...
Sorry for the bump, but I think I have found the issue.
When I try to connect to the network and configure the access wm tells me that there is no personal certificate, but I have installed the certificate.
But I noticed that the provider certificate is an Intermediate, not a personal certificate!
So I can't configure anything, nor connect!
There is something wrong with the certificate installation, why it is located in Intermediate and not in Personal?
EDIT: I've renewed my certificate, and now it's in the personal tab, the previous one was without the personal Key, this time must be it
It's a no-go ç__ç
If I choose PEAP autentication the phone locks up and needs a soft-reset when I try to connect
I've solved it!
Now I can successfully connect to the WiFi Area!
A tutorial is on the way
Here I am, sorry for the long delay.
I solved my problem following this procedure:
Install the certificate on your device (The certificate must have the user key emended)
You must edit this registry key: HKLM\Comm\EAP\Extension\25\ValdateServerCert change it to 0
Reboot your device
Now you can create your network settings, for my network I had to set:
Network name: The network SSID
This is a Hidden network: True
Autentication: WPA
Data Encryption: TKIP
EAP Type: PEAP (Select your certificate from the list)
That's it, now it should work, or at least it's working on my network
Hi!
u have a little typo in there: its HKLM\Comm\EAP\Extension\25\ValidateServerCert ... and unfortunately this solution does only prevent WM to check for a serverside Certificate but does NOT solve the bug with the configuraton - popup:
o When coming to the page where u can change the auth method from certificates to PEAP, then the popup will nag us. No chance to get into the peap config to set MsChap V2 for example. We *can* prevent the popup by renaming the key for the certificate method HKLM\Comm\EAP\Extension\13 to HKLM\Comm\EAP\Extension\130 for example (so the popup is elimanted because then peap has the lower number and is handled first) *but* its still impossible to get into that damn config...
*That* Problem seems to be unsolved so far.. :-(
One of my employees told that he managed to get into the network by simply pressing "ok" at this popup, closing the wizard and when connecting to the network the username / password (mschap v2) Dialogue came -> and he was online. But unfortunately this was un-reproduceable
Any hints highly appreciated (for getting into a secured network by mschapv2 on user/password basis)
Yeah, I'm having the same problem as well...
I tried to follow the intructions to log on the wireless network available at the hospital I work, but these instructions are for desktop computers and notebooks and they have steps that I can't accomplish in my blackstone. The instructions are the following (for windows XP):
-add a new network with the name: wifiuel
-choose WPA2 autentication
-choose AES cryptography
-choose PEAP access, go to properties and uncheck all options. Also, at autentication method EAP-MSCHAPv2, click on configure and uncheck the option to use the logon's name and password automaticly.
There are a few more steps, but from this last one I can´t go on. When I tap on the properties buton on my blackstone, I get the following warning: "Cannot log on to the wireless network. This network requires a personal certificate to positively identify you."
I've tried to make the registry tweaks available in this post, but I still can't connect. The network manager says I´m connected but at the same time, the little locker icon is also shown in front of the network's name and I just can't access any website.
The real thing is, as licht77 said, I can get rid of the WM checks for a serverside Certificate but it does NOT solve the bug with the configuraton, as I still can't get into the peap config to set MsChap V2.
Can anybody help us?
Same on My Rhodium TP2
My University settings are:
SSID: 4csuuseonly (visible)
Security: WEP-enterprise
Encription: TKIP
cert: PEAP
than i have to put Username and Password; but i could never get to that step.
It did worked couple of time for me,
What I did was I created a LEAP in wifi settings with SSID, USERID and PassWord
then I enter the SERVER ,ID n Password Under "Enroll" tab in wifi settings
It did work few times; I don't know if that may help
We all Need a Solid Solution
Edit: I tried SecureW2 software to connect , Played with the software for two days. Did the reg hack, didn't help either.
Finally I uninstalled the secureW2, and guess what after the soft Reset, when i hit connect it did ask me Id and Pass.
And Now it connects within two seconds every time I go to school.
Couldn't really figure out How did it worked

how to connect to 802.1x wlan with Htc touch (windows mobile 6.1)

please help i can not connect
i select WPA -> AES
then PEAP
i need to click PEAP Properties and select Server Certificate and check GTE CyberTrust Global Root
but when i click Properties it says
"Can not log on to the wireless network. this requires a personal certificate to positively identify you"
i changed Wifi from Best battery to Best Performance hoping it will show me Properties, but doesnt show still
i read these posts, would these solve?
"i used 802.1x authentication on my MDA.
The only thing you have to do is to add a DWORD Regestry Entry under HKEY_LOCAL_MAICHNE-->Comm-->EAP-->Extension-->25
Name:"ValidateServerCert"
Value: 1 to activate Validation, 0 to turn it off
If you need a Regestry Editor you can use PHMRegedit."
another post
"i created the dword value you mention in this thread i still have the same problem.
Does anyones has the same problem with wm6?"
another post
"Now after days of reading i found a solution for all the devices that couldnt connect with the modified reg-key(HKLM/COMM/EAP/EXT....ValidateServerCert) to a wpa and eap-mschap secured wlan.
To enable the eap-options you have to install the securew2 client. Once you had installed you can choose for authentication method one of the securew2 has provided(this is where you see PEAP and 802.1X) in the WLAN Connections. Just select the TTLS method and disable the outer authentication and the certificate validation in the options. Now you can select EAP and MS-chapv2 in the authentication tab of the securew2 client. and at least you can sign in here your name,password and domain. You can also set an Profile with your settings in the Securew2 client.
This Solution has worked for me on a HTC Touch Cruise(XDA-Orbit-2)."
here are my registry settings
HKCU\Comm\EAPOL\Config\wu-dot1x\EapTypeId 25
HKCU\Comm\EAPOL\Config\wu-dot1x\Enable8021x 1
HKLM\Comm\EAP\Extension\25\
...EapTypeId 25
...Enable8021x 1
...ValidateServerCert 0
\HKLM\Comm\EAP\Extension\26\
...ValidateServerCert 0
also added
ValidateServerCert 0 and tried 1
but didnt solve
I've seen this problem and have done all the registry mods mentioned above.
Some days it works, some days it does not.
We're using WPA with TKIP and PEAP.
I don't know how to enable logging to see where things are going wrong.
The symptom I get is this:
1) Add the network to ID "Configure Wireless Networks" list
2) Setup the properties as above (WPA, TKIP, PEAP)
3) Choose Connect
--> At first I get Connecting then I get Unavailable
If anyone has a fix for this I'd love to hear it.
I'm currently not even getting the login screen.
Could you solve the "personal certificate" issue?
I'm having the same problem!
Thks
Personal certificate
I've not gotten around the personal certificate issue though I think it's a red-herring.
Rumor has it that MicroSoft will be pushing out a fix for ExchangeServer in December 2008. I've not searched around to verify this.
When the exchange server fix is out, I'll upgrade my ROM to Wm6.1 (SNN Diamond) - this has been great for connecting in the past and I expect it will work fine again.
i have the same problem
After a year, still no fix ??
i have this problem too.. can anybody help? :s
me too i have problems with 8.2.1x devices.
B U M P !! ! ! !

Where are the DNS settings in the Reg

Hi all, some help if possible please.
I am creating a build for the Sedna which requires the APN connection to have a DNS server set. I add this IP address to the DNS settings and then extract the Reg but cannot find where it adds the IP address. No item in either decimal or hex can be found for the IP address I have entered.
What I want to do is then create a reg key with the DNS value and pop it into a CAB file.
Does anyone have any idea where WM6.1 keeps the DNS settings please?
Thanks

Categories

Resources