Skip navigation

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

1917 Views 2 Replies Latest reply: Sep 3, 2012 7:46 AM by richardsim7 RSS
sirhans Calculating status...
Currently Being Moderated
Feb 25, 2011 8:58 PM
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)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.