+ Post New Thread
Results 1 to 13 of 13
Windows Thread, XP laptop - wlan only gets DHCP address when cable plugged in?! in Technical; Ok this is a bit odd. I have an XP laptop. When you start it up the wlan connects but ...
  1. #1

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,744
    Thank Post
    1,275
    Thanked 1,648 Times in 1,104 Posts
    Blog Entries
    22
    Rep Power
    505

    XP laptop - wlan only gets DHCP address when cable plugged in?!

    Ok this is a bit odd.

    I have an XP laptop. When you start it up the wlan connects but can't get an IP address from DHCP, it just times out.
    However, if I plug in a network cable, the wired NIC gets an address, then the wlan NIC gets an address, and then just works.
    If I remove the cable the wlan works fine.

    Any ideas why it won't get IP over wlan?

  2. #2
    chazzy2501's Avatar
    Join Date
    Jan 2008
    Location
    South West
    Posts
    1,782
    Thank Post
    213
    Thanked 263 Times in 213 Posts
    Rep Power
    67
    if your wireless is on a VLAN I'd check the DHCP helper. It is possible to block broadcast packets on some APs as well. (thus breaking DHCP)

  3. #3

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,744
    Thank Post
    1,275
    Thanked 1,648 Times in 1,104 Posts
    Blog Entries
    22
    Rep Power
    505
    Good idea, but no vlans here

  4. #4
    chazzy2501's Avatar
    Join Date
    Jan 2008
    Location
    South West
    Posts
    1,782
    Thank Post
    213
    Thanked 263 Times in 213 Posts
    Rep Power
    67
    have you checked the laptops wifi mac address? Maybe it's invalid (if you changed its address in the drivers)

  5. #5

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,744
    Thank Post
    1,275
    Thanked 1,648 Times in 1,104 Posts
    Blog Entries
    22
    Rep Power
    505
    Hmm no everything seems ok MAC address wise.

  6. #6

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,744
    Thank Post
    1,275
    Thanked 1,648 Times in 1,104 Posts
    Blog Entries
    22
    Rep Power
    505
    Ok bit of an update.
    I ran wireshark to take a look at what was going on with DHCP, it seems that the client is sending a request, the DHCP server is braodcasting an offer, but then the client is sending another request, the server sends another offer, etc etc etc... until it times out.
    So looks like, for some reason the client isn't picking up the offer?

  7. #7

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,744
    Thank Post
    1,275
    Thanked 1,648 Times in 1,104 Posts
    Blog Entries
    22
    Rep Power
    505
    Right, seems to be a bigger problem. Even with a static IP it can't ping anything, only itself...

  8. #8

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,750
    Thank Post
    3,263
    Thanked 1,051 Times in 972 Posts
    Rep Power
    364
    Is windows managing the wireless network side of things ( wireless zero config or whatever it is called now ) or has it got a utility of some description installed which has taken over managing wireless connections whether it be Intel / Access Connections or whatever ) ??

    If that is the case - may need to get the utility to let windows manage wireless connections.

    Also a bit of shooting / jumping in the dark here but possibly also

    * Disable windows firewall for domain / work / home etc on the client
    * Ensure the wireless network card ( control panel --> Network and Sharing Center --> Manage network connections or adaptors --> right click on the wireless card --> properties --> ensure its set to DHCP for IPv4 and possibly disable or at least uncheck IPv6 ( if you don't need or use IPv6 )

    Edit - This part should read ( control panel --> network connections --> right click wireless network card --> properties --> set to dhcp --> etc etc ) , above is obvoiusly for windows 7, my bad !!

    As a last resort reset

    * Winsocks
    * TCP/IP Stack
    * Reset the hosts file

    Guide ref the first 2 points above ( SG :: How to repair TCP/IP and Winsock )

    Can post back with guide on how to do the above three if required although netsh for the first two and then just a case of using notepad to reset the hosts file ( so not overly complicated )

    The first two require a reboot before taking effect.

    If using a wireless network utility such as Intel / Access connections etc, it may be an idea to export / make a backup of all WiFi Profiles and then delete / remove all of them and re add the wireless profile and try and connect again ?

    If it is still an issue then I will stay subscribed as would be good to know the solution

    Edit - may also be worth while updating the wireless card driver ( from the manufacturers website ) whether the manufacturer of the wireless card or the manufacturer of the laptop ??

    May also be worth while scanning for malware / viruses on the laptop

    Possibly not likely as you mentioned that it did get a dhcp address when the laptop was physically connected to the network via cable however :

    Edit - I presume the MAC Address for either of the network cards on that laptop has not been put in DHCP to hand out a fake / dodgy ip address etc ?
    Last edited by mac_shinobi; 7th October 2013 at 02:35 PM.

  9. Thanks to mac_shinobi from:

    sparkeh (7th October 2013)

  10. #9

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,744
    Thank Post
    1,275
    Thanked 1,648 Times in 1,104 Posts
    Blog Entries
    22
    Rep Power
    505
    Progress!
    So resetting TCP/IP followed by renewing IP from DHCP works!

    However, if you reboot, then it fails again so needs another reset...

  11. #10

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,750
    Thank Post
    3,263
    Thanked 1,051 Times in 972 Posts
    Rep Power
    364
    I would update the wireless network cards driver and try again. I've had a few laptops where ive done the reset not work but then dhcp starts to work after re-installing / updating the network card driver

  12. Thanks to mac_shinobi from:

    sparkeh (7th October 2013)

  13. #11

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,750
    Thank Post
    3,263
    Thanked 1,051 Times in 972 Posts
    Rep Power
    364
    If the network card driver and nothing else helps / fixes the issue - I know this laptop has XP and not windows 7 and the below thread is related to windows 7 ( ref this thread here : Win 7 - DHCP/Netlogon/Firewall - Microsoft Confirm a Bug )

    Just curious if the DHCP registry key or the setting on the intel wifi card may help ref your problem / issue ?

  14. Thanks to mac_shinobi from:

    sparkeh (7th October 2013)

  15. #12

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,744
    Thank Post
    1,275
    Thanked 1,648 Times in 1,104 Posts
    Blog Entries
    22
    Rep Power
    505
    Thanks @mac_shinobi for your help.
    I think that a combo of resetting the stack and updating the drivers has solved this now. Rebooted a few times and still seems to be connecting

    Cheers!

  16. Thanks to sparkeh from:

    mac_shinobi (7th October 2013)

  17. #13

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,750
    Thank Post
    3,263
    Thanked 1,051 Times in 972 Posts
    Rep Power
    364
    no problem Annoying when things don't work.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 3
    Last Post: 19th April 2012, 10:24 AM
  2. Replies: 3
    Last Post: 16th April 2012, 07:38 AM
  3. Wireless off when network cable plugged in
    By newpersn in forum Windows
    Replies: 6
    Last Post: 1st November 2011, 08:33 PM
  4. Laptop touchpad not working when power plugged in
    By UnknownStuntman in forum Hardware
    Replies: 8
    Last Post: 5th March 2010, 07:32 AM
  5. Problems booting when smartboard plugged in
    By daz5505 in forum Windows
    Replies: 5
    Last Post: 15th September 2009, 05:39 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •