Trouble getting IP address from DHCP-enabled router

I've recently set up a LinkSys WRT54G wired/wireless router on a home network that has a wired Windows XP machine and a wireless PowerBook with AirPort.

The WRT54G assigns network addresses using DHCP. The PowerBook is able to find the wireless network established by the WRT54G, but doesn't get an IP address from it.

The router seems to be behaving correctly, so I'm guessing there's a problem in the PowerBook setup somewhere. Any ideas?

Mac OS X (10.4.8), 1GHz PowerPC G4 PowerBook

Posted on Oct 9, 2006 12:02 PM

Reply
35 replies

Oct 9, 2006 12:13 PM in response to gsclark

Double-check your AirPort's settings:

System Preferences > Network > Show > Network Port Configurations
- Verify that an AirPort option exists. If it does not, click "New" to create one. (Note: If you are unable to create an AirPort configuration, the AirPort card in your computer either doesn't exist or it is not recognized.)
- Verify that AirPort is "On" (checked)
- Verify that AirPort is at the top of the list. If it isn't, you can drag it to the top.

Systems Preferences > Network > Show > AirPort
AirPort tab
- By default, join: Automatic

TCP/IP tab
- Configure IPv4: Using DHCP
- Configure IPv6: Automatically or Off

Proxies tab
- Configure Proxies: Manually
- Select a proxy server to configure: <All proxies should be unchecked unless you specifically require a proxy for Internet access.>
- Exclude simple hostnames (unchecked)
- Bypass proxy settings for these Hosts & Domains: <leave blank>
- Use Passive FTP Mode (PASV) (checked)

Oct 10, 2006 8:48 AM in response to gsclark

I'm also having the same problem. Linksys WRT54G ver 6 updated with latest firmware (1.01.0). Dell laptop running Windows XP connects via ethernet or wireless. Two different intel iMacs cannot connect either wireless or via ethernet. When DHCP is selected no IP is shown under TCP/IP, even when renew lease is clicked. I can connect to router using manual IP 192.168.1.50 with router 192.168.1.1. DHCP is enabled on router. At least one of the iMacs connects to internet if connected directly to modem and gets a proper IP. Both iMacs are OS 10.4.8. Pismo powerbook also does not get IP from router. IMacs were able to connect both via ethernet and wireless for 3 days (router is new), but internet connections were lost last night (10/09/06), close together in time.

Oct 10, 2006 9:33 AM in response to gsclark

Let's get back to the wired connection and get it working first before tackling the wireless one.

So, if I understood your correctly, when you connect the Mac to the Linksys router directly using an Ethernet cable, the Mac gets a private IP address in the 192.168.2.n range from the Linksys's DHCP service...and this is in the range as defined in the Linksys's administration page for DHCP service?

If so, I will assume that your Linksys's LAN IP address is 192.168.2.1. Correct?

Using Network Utility, located in /Applications/Utilities, select the "Ping" tab, and try pinging the Linksys. If you can successfully ping to it, try pinging to 17.112.152.32. (Note: That would be www.apple.com's IP address.) If that was successfull, then try pinging www.apple.com. If all of these pings work, you should have Internet connectivity. If the last one didn't work, then the Mac is not getting the proper DNS information from your Linksys or ISP.

Oct 10, 2006 2:39 PM in response to Tesserax

Hi. Having the same problem. My MacBook Pro says it is connected to linksys (tried this on three different linksys networks, all open), but I have no IP address. I did a little poking around, as contacting both Apple and Linksys tech support yields no results (each says to contact the other).

Correct me if I am wrong, but the AirPort card by default identifies itself as 10. .*. and the Linksys router is expecting 192.168. .. Is there a way to set up an AirPort configuration that wil "fool" the Linksys router by sending it data it can understand? If there is, it isn't obvious when using the AirPort setup tools.

MacBook Pro Mac OS X (10.4.7)

Oct 10, 2006 2:57 PM in response to darcas

The AirPort card does not, in itself, default to any IP address. It needs to be assigned one either by using a DHCP service or by manually doing so.

Apple routers do default their DHCP private IP address range to 10.0.1.n, whereas, non-Apple ones tend to use 192.168.n.n. Btw, you can change this default range on both routers.

You can, for example, set up a manual IP of (let's say) 192.168.1.150, with a corresponding Subnet Mask of 255.255.255.0 and a Gateway IP of 192.168.1.1...and then attempt to communicate with the Linksys router. You would do this by going to:

System Preferences > Network > Show > AirPort > TCP/IP
- Configure IPv4: Manually

Oct 10, 2006 5:28 PM in response to gsclark

Hello, I too am trying to solve the same problem. I have a linksys wrt54g with a wired pc that works on it, and a macbook that recognizes the network but cannot obtain an ip address.
I was able to get a wireless pc laptop working on the network easily. Encryption is disabled, i tried manual configuration ipv4 and the airport in summary in system preferences turns from yellow to green, but still no connectivity

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.

Trouble getting IP address from DHCP-enabled router

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