Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

"Network Settings" says "No IP address" but Ifconfig shows an address

Setting the wired ethernet to use DHCP in the GUI network settings usually doesn't work. I get the yellow signal showing that I'm connected but with the message "No IP address".

I'm connected to a DSL modem with a built in router doing NAT. I'm connecting via a switch and cable that work fine when plugged into my PC.

Here's the weird part: when run ifconfig in the terminal it shows an IP address for en0. If I go back to network settings and select "DHCP with manual address" for Ethernet I can enter the address that was shown in ifconfig and my internet connection works. But this router isn't good about giving clients the same ip address every time so as soon as my DHCP lease expires I have to manually change the address again.

I guess I need a script that copies the ip address from ifconfig into Network Settings. But why?

Message was edited by: sirhans

macbook 2ghz intel, Mac OS X (10.6.6)

Posted on Feb 25, 2011 8:53 PM

Reply
Question marked as Best reply

Posted on Feb 26, 2011 5:59 AM

Try creating a new network location.
System Preferences -> Network -> Location
2 replies

"Network Settings" says "No IP address" but Ifconfig shows an address

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