DD-WRT and a Xbox 360 – DHCP Mishaps

Posted by – October 27, 2010

NOVO XBOX 360

Sometime earlier this month I started noticing more frequent problems with my internet connection at home. Flash back to June of this year, our local Frys Electronics had a sale on the Netgear WNDR3700. I had done a quick search in store and found that the WNDR3700 was supported by DD-WRT, so I picked one up. I may have been a bit overexcited and flashed the device with the latest build without fully reading what could go wrong. Several users have reported problems with wireless signal strength after flashing the unit. Reverting back to stock firmware doesn’t seem to fix the problem, and you end up stuck with a wireless router with terrible range. As time progressed, the WNDR3700 seemed to degrade even further, dropping long lived TCP connections, and hard-locking on occasion. In order to get reasonable 802.11b/g range, I was forced to use an old router as a dumb access point, as the WNDR3700′s signal barely reached 15ft away from the unit before clients dropped their connections.

Back to today: As a potential fix, I looked to the DD-WRT router database for advice on a replacement router. My requirements included gigabit Ethernet, dual-band (a/b/g/n) radios, and alternative firmware support. There are sadly few devices that meet this mix of features, but I settled on the Linksys E3000. Users were reporting fairly good wireless range, and reasonable stability. When the router arrived, I removed the WNDR-3700 and the old router providing 2.4Ghz connectivity. I was confident that this new device would fill the void left by the old and broken hardware. DD-WRT setup was a breeze, following instructions on the wiki. Once the new router was up and broadcasting, old wireless devices associated and I was able to connect to the internet without issue. Everything had gone well with the upgrade, or so I thought.

Early in the honeymoon period with the WNDR-3700, I was using OpenWrt. I was unable to get a UPnP daemon running that my Xbox 360 approved of. Often Xbox Live connections failed to work properly as the required ports were not opened on the routers firewall. Remembering those problems, I decided to test the Xbox 360 with the new E3000 to make sure there would be no unforeseen problems in the future. I powered on the Xbox, and turned on our projector. By the time the projector warmed up, the Xbox had already booted and was waiting at the dashboard. Sadly, the Xbox reported that I was not automatically signed in to Xbox live. This situation was tell-tale of UPnP problems with the old router, so I checked the UPnP administration page on the E3000, but no connections to the Xbox were opened.

I attempted a connection to Xbox Live manually, but the Xbox threw an error, recommending I run its network diagnostic wizard. The wizard blinked and chirped for a while, then decided that the console could not acquire an IP address. Strange, I thought, as numerous other devices on our home network were able to connect without issue, and get fresh DHCP leases. Looking at the DD-WRT status page, I could see that the Xbox’s MAC Address had a recently requested DHCP reservation. I initially thought it was a transient error, so I gave the Xbox another shot. It once again came back with the ‘could not acquire an IP address’ error. I tried a couple more things — setting a DHCP hostname, entering a new MAC Address, rebooting the router and Xbox, and even switching Ethernet cables. I eventually assigned the Xbox a static IP, and things started looking up; the Xbox could now connect to the Internet, but complained that the firewall settings were awry. This change in luck lead me to focus on DHCP as the source of my problem.

I finally decided to fall back on the Internet for advice. After a bit of poking around, I found this helpful DD-WRT forum post.

Tim.Lad: Check the DHCP lease times are not set to 0 or Blank the 360 will not take an ip address if the lease time is 0

Jumping back to the DD-WRT administration page, sure enough, my DHCP lease time was set to 0. I changed it to 5, applied my changes, and ran the Xbox connection test once more. Everything worked perfectly.

11 Comments on DD-WRT and a Xbox 360 – DHCP Mishaps

  1. Caleb says:

    I found this blog post via Google search. Been trying to discover why my 360 suddenly no longer connected to my WRT54G after switching the firmware back to DD-WRT from Tomato.

    I thought for sure the new title update had something to do with my Xbox no longer accepting an automatic IP address. So I troubleshooted one last time, found our post and yep… switching the client lease time from 0 to 5 worked for me as well. So thank youvery much for writing about your struggle getting your 360 to connect properly!

  2. Matt G. says:

    Thank you SO MUCH for posting this. I’ve been all over the internet looking for a solution to this problem, and this did the trick!

  3. Stuart says:

    Thank you muchly for posting this. It has been a while since my XBox has been on and I was at a loss why it couldn’t connect anymore. I could see the MAC address in my router status page with an IP but the XBox insisted it didn’t have one. Changed the lease time and voila, there it went with my long overdue updates.

  4. aaron says:

    Same as others have mentioned above. I’ve been wondering for a long time why my xboxes wouldn’t take a DHCP assignment from the router. Thanks for the insight.

  5. john says:

    THANK YOU SO MUCH, YOU FUCKIN’ ROCK!

  6. Edwin says:

    Thanks I was struggling with this for 3 hours.

  7. Pat says:

    You’re the man! You saved me from flashing the original firmware back on there. Who would have thought that option would have done it!?! Can’t believe I’ve been using the “test network connection” trick for the last couple of months.

  8. Matt says:

    YEEAAAAAA!!!! Been searching for months trying to fix this problem and you gave me the right answer finally!!!!

  9. Adam says:

    You’re awesome, thanks so much for this post. It was bugging the hell out of me.

  10. Depleted ZPM says:

    Thanks! I set my DHCP lease time on a Linksys E3000 (DD-WRT) to 60 minutes and it worked the first time.

  11. Depleted ZPM says:

    Another weird E3000 config (DD-WRT v24-sp2 (04/13/11) std-usb-nas) I found was the IP Filter settings (Administration -> Management / IP Filter Settings). It had weird values that caused some of my persistent connections (IMAP server) to stop working. E.g., TCP timeout had “300 600″ instead of the default “600″. I *thought* I had reset to defaults when I first brought up DD-WRT, but maybe I missed that.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

WP-SpamFree by Pole Position Marketing