Re: can't renew ip address after associating with AP

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Niklas (niklaso_at_nospamhotmail.com)
Date: 05/07/04


Date: Fri, 7 May 2004 17:12:07 +0200

I noticed that if I am connected to my WEP wireless network then run my
client to switch to the WPA network. I can't get a dhcp address. (I don't
get any answer when I broadcast, I can ping and get result)
but if I disable the adapter, enable it again and then run the client to
connect to the WPA network I do get an dhcp address.
So I guess I need to "flush" the adapter when switching from one network to
another?
I captured what the wzc did but couldn't find any oid that seem to do that.
anyone know if I'm on the right track, and what oid I should set?

/Niklas

"Niklas" <niklaso@nospamhotmail.com> wrote in message
news:uZzYho$MEHA.4036@TK2MSFTNGP12.phx.gbl...
> Hi,
> I have run into a strange issue.
> I have created a client that connect my adapter to an access point using
WPA
> (PSK/TKIP)
> After I run it and try to renew the ip address I get an error back "unable
> to contact dhcp"
> First I thought it was something wrong with the EAPOL communication
(either
> the 4-way handshake or the group key handshake), but if I use a static ip
> address I get network connection, so the authentication works.
> I was able to get an address from the DHCP server once, but all other
times
> ipconfig /renew returns "unable to contact your DHCP server. Request has
> timed out."
>
> I have got the same result sometimes, not very often, when connecting to
an
> open wlan and connecting to a wlan with WEP. But with WPA I get it all the
> time.
>
> I used the wzc to check and with that one I do get a dhcp address so I
there
> is nothing wrong with the DHCP server.
>
> these are the oids I set (in order)
> OID_802_11_INFRASTRUCTURE_MODE
> OID_802_11_AUTHENTICATION_MODE
> OID_802_11_WEP_STATUS
> OID_802_11_SSID
> OID_802_11_ADD_KEY
> OID_802_11_ADD_KEY
>
> one idea I have would be if there is any other oid I should run too.
> I captured what the wzc does and it set these oids too (after the last
> add_key):
>
> OID_GEN_NETWORK_LAYER_ADDRESSES
> OID_PNP_ADD_WAKE_UP_PATTERN
> OID_802_3_MULTICAST_LIST
> OID_PNP_ADD_WAKE_UP_PATTERN
>
> (I don't want to set those oids that wzc does without knowing what they
> actually do and if I really need to set them, this might not be an oid
issue
> at all...)
>
> any ideas?
>
> thanks
> /Niklas
>
>



Relevant Pages

  • Re: using 2nd network interface - wont try to TX anything
    ... | connecting two computers with a network cable or wireless, ... | their a$$ and use that to establish a local network connection. ... | but the intent is that when your system (configured for DHCP) can't find ... | and ZeroConf or LinkLocal addresses on the same interface. ...
    (comp.os.linux.networking)
  • Re: prohibiting visitors from connecting to network
    ... a fair amount of overhead required to keep the list of allowed MAC ... > port and gaining access to our network. ... > visitors connecting to the network. ... > What I'm looking for is a way to secure DHCP so that ...
    (Security-Basics)
  • Windows 2003 advance server looses network connection
    ... After connecting our W2003 Advance Server to our network ... as a DHCP, I am connecting to a DSL Router with DHCP ...
    (microsoft.public.windows.server.networking)
  • Re: cant renew ip address after associating with AP
    ... It is not sent by WZC. ... I can't get a dhcp address. ... > anyone know if I'm on the right track, and what oid I should set? ... >> open wlan and connecting to a wlan with WEP. ...
    (microsoft.public.development.device.drivers)
  • DHCP Pop-up
    ... the CE image that is stored in compact flash by connecting to a share on the ... network and copying the new image from the share to the target CF. ... downloaded, we power down, remove the ... DHCP was unable to obtain an IP address. ...
    (microsoft.public.windowsce.platbuilder)