Fix: Airport has a self-assigned IP address, 169.x.x.x and Subnet Mask: 255.255.0.0. I could connect to my Time Capsule, though it did not get a IP address by the DHCP server. I tried everything to fix: Airport has a self-assigned IP address. I tried renewing the DHCP but that did not work. I also tested for DNS error, this was not the case either. My mac gave me this message “Airport has a self-assigned IP address and may not be able to connect to the internet.”
Assessing the problem “airport has a self-assigned ip address”
I fixed the problem “airport has a self-assigned ip address” by manually setting up the network settings, to make sure they matched my own in, DNS Server, Router, Subnet Mask, and IP address +1. That worked but this could only be a temporarily solution as she uses her mac multiple places.
So I adventured out into the great indexed space of google to find a solution to the problem. As it turned out quite a few people was addressing the problem, and it seems to be a problem that Apple have had this problem for quite a while. In my search I found the problem has occured in an update to Apple OS X Leopard somewhere between update version 10.5.2 and 10.5.6. While the mac in question is at OS X 10.5.8 the problem still seems unsolved by Apple.
To fix “airport has a self-assigned ip address” I tried the following.
1. Booting into SAFE BOOT by restarting the mac and pressing the shift key.
2. In safe boot deleted the SystemConfiguration folder in this location:
Macintosh HD>Library> Preferences
This folder contains information from the System Preferences, and will be reconstructed if it is not found in the path. In my case it contains the following files, that I found should be deleted if I could not remove the entire folder:
3. I opened Keychain Access and found all the information about the network I was trying to access, and removed the login information by deleting the key. It appeared both in login and system. You can access Keychain Access, by opening Spotlight and type Keychain Access (this even works if your system is configured for another language than English).
4. Restarted the mac and voilár it worked…..but only shortly after a test restart the problem was back on again.
Fixing the problem “airport has a self-assigned ip address”
I finally found the solution which was very simple. The solution in this case was to:
- Turn off Airport
- Switch off the built-in firewall (found in: System Preferences>Security>Firewall), I set it to allow all incoming connections.
- Turn Airport back on again….and it worked
I tested this solution to work, and it worked after a restart as well. I have no clue to what caused the problem, however, I hope that this information will be of value to others as well.