Takes 30minutes to get an IP from the DHCP server

Posted on 2004-08-17
Medium Priority
Last Modified: 2013-11-13
I have a MAC that's running Mac OS 9.2 and when it's powered on and goes into the OS, it takes about 30 min for it to grab an IP from our DHCP server which is a Sun box running SunOS 5.6.  Does anyone know exactly why this is happening?  It hasn't happened before, and how can you fix it? or reduce the time?
Question by:kevin_ma
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2

Expert Comment

by:Lieven Embrechts
ID: 11825462
I guess you already checked that both machines are in the same subnet, there's no firewall blocking against the dhcp broadcast, etc.

First thing i would check is DNS; both on the mac and the unix box.
Are they both filled in correctly ?
Incorrect dns can slow down things considerably.

Author Comment

ID: 11827309
We have a network with about 30 Mac's or so and only that one has the problem.  We also have about 100+ PC's which are allocated IP's without a problem.

Everything is configured right.  On the Mac, TCP/IP options are set to have it use the DHCP server.

Expert Comment

by:Lieven Embrechts
ID: 11827822
First try to eliminate cabling and switch settings by connecting the mac on another cable where another mac works fine. It could be bad cabling, it could be a switch setting that tries to force duplex but can't.  If it's a powermac with an ethernet to aaui transciever, try swapping the transciever.  It is possible that the ethernet port recieved a power spike and is in trouble, so if you suspect hardware, it could be handy to have a spare NIC (a mac compatible one like those from netopia that are also osx compatible).

If all hardware suspects are eliminated, you could drop the tcpip preferences in the trash, and carefully reconfigure your tcpip.
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.


Author Comment

ID: 11831002
It works fine if you assign it statically, just when it's set dynamically it takes about 30 min for it to retreive an IP.

Expert Comment

ID: 11839227
Is it possible that the mac in question is trying to connect to a server or share point on startup that no longer exists? I have seen this happen if a user has specified for an auto login at startup, and the share point is offline or no longer exists.

Expert Comment

by:Lieven Embrechts
ID: 11839389
Yup, try this:
- open your 'system' folder, then open your 'server' folder.
- Delete all aliasses in the server folder.
- Open your chooser. Reselect the volumes to be automounted.
- Reboot and check how fast it is now.

Author Comment

ID: 11844239
Good idea macdmz and Lieven.  Alright I'm a PC guy so when it comes to Macs I'm pretty much a newbie so Lieven can you further describe where I have to go and what I have to do?


Accepted Solution

Lieven Embrechts earned 1000 total points
ID: 11844902
What more can i say ?
- double click the harddisk icon (top right corner)
- then double-click the 'system folder'
- then double-click the 'server' folder
- drag all the files in the server folder to the trashcan icon
   (don't hesitate, these are just shortcuts to folders on the server)
- empty your trash in the special menu
- reboot the mac

what happens is the following:
when you mount an appleshare-volume in the chooser, and you select that it should be mounted automatically (by putting a cross in the select box), your mac will put an alias to that folder inside the server folder (= a shortcut on pc). If your shared folder or your server name is changed, the old aliasses will stay in that server folder and your mac will continue to try to automount that old alias until you trash it.  you probably have a lot of old aliasses in that server folder. the easiest way is to dump them all, and re-select them in the chooser (appleshare) so you're sure they are all working.  on pc the same thing happens: if your shortcut to a server can't be resolved, it won't work. on pc you can fix the properties of the shortcut, windows will even ask you where the new location is.  on macos9 it's easier to manually trash them and recreate them by using appleshare in the chooser.
good luck.

Assisted Solution

macdmz earned 1000 total points
ID: 11846454
deleting all the aliases may just not work

once the Mac in question has booted
select CHOOSER from the APPLE MENU
select the first SERVER on the list
click OK
if there are several folders listed and X'ED OFF
then DE-X them and click OK
do this for ALL the SERVERS on the list
when this is done reboot the machine

either the machine will boot as it should
or it will continue to hang

then go back and add your sharepoints
and REBOOT the machine after EACH addition

either the machine will boot as it should
or it will hang

this will isolate the guilty sharepoint

of course
the guilty share point is evident when you first scan the auto login


Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This article outlines the struggles that Macs encounter in Windows-dominated workplace environments – and what Mac users can do to improve their network connectivity and remain productive.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question