DHCP Timeout

I need to change my dhcp time out in 10.5.4.
I've researched everywhere and I can't find out how. My macbook self assigns an ip address after 5 or so seconds. Yes I can set my IP manually but for some reason the satellite internet system I am on throttles my connection to 6 kB/s down and 2-3 kB/s up when I don't use DHCP. Windows XP direct cable to the switch works fine but they take about 30-45 seconds to grab an IP address. My dlink router also will not grab an IP as it takes too long.
I've been reading everywhere so if you can tell me how to change it great, I don't need to know anything else.
Thanks!
Tyler

Macbook intel, Mac OS X (10.5.4)

Posted on Jul 18, 2008 2:55 PM

Reply
6 replies

Aug 2, 2008 1:51 PM in response to baltwo

baltwo, your response is rude.

I reached this very page through a google search for "mac os x dhcp timeout." You are no help, you have only served to frustrate me and surely thousands of other users in similar situations. Either you know the answer to our question or you do not. If the answer is no, then the best way to be a part of the solution is to stay silent.

I still haven't found a way to change the DHCP timeout, and mine timeouts after two seconds. If I could extend that to 20 seconds, I might be able to use DHCP again, but until then I'm stuck googling with no results.

Cheers,
Tim

Oct 4, 2008 3:16 AM in response to Dogcow-Moof

I found what may do it, but it will require use of Terminal.

In the file /System/Library/SystemConfiguration/IPConfiguration.bundle/Contents/Resources/IP Configuration.xml, you'll find the lines:

<key>InitialRetryTimeSeconds</key>
<integer>1</integer>


The "1" is the field you'll need to change to "8" or larger.

Next, look for the lines:

<key>MaximumRetryTimeSeconds</key>
<integer>8</integer>


The "8" is the field you need to change to "60" or larger, depending on what you think the maximum time will be to obtain a DHCP address from your satellite modem.

For your own safety and sanity, be sure to backup the IPConfiguration.xml file before editing it.

You'll also need to reboot your Mac after making the changes to this file.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

DHCP Timeout

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.