Go Back   The Apple Blog Community > Apple/Mac > Applications
Register Social Groups iSpy Members List Search Today's Posts Mark Forums Read FAQ

Applications Talk about all Apple related software

Reply
 
LinkBack Thread Tools Search this Thread
09-03-2008   #1 (permalink)
Mac Genius
 
Join Date: Feb 2007
Location: United Kingdom
Posts: 1,121
houltmac is on a distinguished road
Send a message via AIM to houltmac Send a message via Skype™ to houltmac
Since there is no OS area I will post here I guess. It's definitely not hardware so this will have to do. Since I am lazy I will just copy and paste from the blog, I hope no one minds. It's long, but explains what I have done and where I am in resolving the issue, but in short:

Since using my OS install with another machine my OS firewall is blocking all DHCP offers and so will not get a DHCP address unless it's turned off. Very annoying. I have tried a bunch of stuff to no avail. Any ideas would be appreciated.

Quote:
Today I took my MacBook Pro to work as usual. I get in a couple of hours early to tidy up, do paperwork and generally prep for the day and while I do so I listen to podcasts, occasionally finish a movie and check my email. It’s useful during the rest of the day to have it on to catch spam before it gets to my iPhone as well as to listen to music. Today it turned out to be a bad idea.

Having repaired a Mac I needed to test it and didn’t have anything it could boot to. This is fairly unusual but since it was only one revision away from my MacBook Pro I decided to use my machine in target disk mode to allow the testing of customers machine. All went well until I rebooted. I just could not get a DHCP address. Instead the machine was self-assigning IPs and so I couldn’t access the network or the internet.

Having realised that it was only my Mac that was having issue I also noted that it was happening both with Airport and ethernet connections. I started looking into it by creating new locations, checking other/new user accounts, different network ports, restarting the DHCP server, repairing permissions, resetting the PRAM and PMU, cleaned caches and ran CRON jobs… nothing would work. If I manually assigned an IP address then all was well, so the hardware was working. The connections were active, so it wasn’t that either. Checking the DHCP server log it was frantically shoving DHCP offers my way but my Mac just wasn’t accepting them.

I did a bit more poking around, assuming it must be the OS and have something to do with booting a different machine to it. I got a hint that there might be something up with the firewall so I turned it off and within seconds I got an IP address DHCP. I turned the firewall back on and it was still good. Having restarted however the issue returned. I started testing with the settings such as Stealth mode and removing the only preference file I could find that had anything to do with the firewall (/Library/Preferences/com.apple.alf/plist). No joy. every time I restarted with the firewall on it failed to get a DHCP address until the firewall was turned off (accept all incoming connections”).

It seemed very strange and then I found a similar issue buried on the Apple Discussions website which pointed at a bunch of files in /usr/sbin which could be set in the allowed list. Having tested with different configurations it appeared as if just having configd explicitly allowed incoming connections would allow me to retain my DHCP negotiation after a restart. I thought I had fixed the issue and saved a standard Archive & Install. Happy in my temporary fix I walked home thinking I would blog about this later.

Well it’s now later and having got home the same issue is reoccurring no thanks to configd. If anyone has some ninja moves for this outside of an Archive & Install (I don’t have my disks here or at work) then please, please email me. It’s driving me nuts now.
__________________
MacBook Pro 15", 2.53GHz, 4GB RAM, 320B 7200rpm HD | iPhone 3G 16GB (Black)

Last edited by houltmac; 09-03-2008 at 02:05 AM.
houltmac is offline   Reply With Quote
09-03-2008   #2 (permalink)
Assistant Store Manager
 
baseballboy828's Avatar
 
Join Date: Nov 2006
Location: New Jersey
Posts: 2,253
baseballboy828 is on a distinguished road
Send a message via AIM to baseballboy828 Send a message via Skype™ to baseballboy828
Ninja moves? No. It might be worth an archive and install. With all the time you have spent and will spend troubleshooting, an archive and install could be much faster.
__________________
iMac Intel Core Duo 17" 1.83Ghz, 2GB Crucial RAM
::Twitter : Ben Drucker Photography: Professional Photography Services ::
Interested in a free trial Smugmug account?
baseballboy828 is offline   Reply With Quote
09-03-2008   #3 (permalink)
Personal Shopping Specialist
 
Ginamos's Avatar
 
Join Date: Apr 2007
Location: Sydney, Australia
Posts: 261
Ginamos is on a distinguished road
Did a quick search on the Apple Support site, seems like it's a bug in Leopard, which doesn't surprise me as the Firewall software has been pretty much completely re-written for that release. No one appears to have isolated which file is in error.

An Archive & Install is probably putting back the file(s) that creates the problem. A clean install looks like the solution, not the answer I'd prefer, but the best I can suggest,
Ginamos is offline   Reply With Quote
09-06-2008   #4 (permalink)
Mac Genius
 
Join Date: Feb 2007
Location: United Kingdom
Posts: 1,121
houltmac is on a distinguished road
Send a message via AIM to houltmac Send a message via Skype™ to houltmac
I'll keep looking. It's not a huge deal since I am always behind decent firewalls but still... I am not bothering to do any form of OS re-install at this point since I am likely getting a new drive soon anyway and will have to do some messing around then. Cheers for the comments though.
__________________
MacBook Pro 15", 2.53GHz, 4GB RAM, 320B 7200rpm HD | iPhone 3G 16GB (Black)
houltmac is offline   Reply With Quote
Reply

Bookmarks

Tags
dhcp, firewall, network


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -6. The time now is 03:07 PM.




Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5
© 2004-2008