Re: Why does this repair action work?



LR wrote:
Jeff Liebermann wrote:

Mac OS X: How To Force a DHCP Lease Renewal
<http://support.apple.com/kb/TA21114?viewlocale=en_US>
Yuck.

I suppose I could write a bash shell script for OS/X to do something
like that. The problem is that I'm a lousy programmist and don't know
how to detect if the cable is plugged/unplugged. Running:
ifconfig eth0
shows UP and DOWN, but does not indicate if anything is unplugged.
Also running:
ipconfig set eth0 dhcp
doesn't seem to force a DHCP release and renewal. Oh well. Another
project I don't need (or have time to do).


Should the interface not be en0 ?
I should keep my bookmarks the same for all systems.

sudo ipconfig set en0 DHCP

From:- http://www.macwindows.com/MacOSX.html

I think the wireless interface is probably en1 .
.



Relevant Pages

  • Re: Change resolv.conf for one particular DHCP server
    ... router is configured to return as DNS server some overloaded servers, ... manually override the DHCP info by adding 192.168.0.1 in /etc/resolv.conf ... where 'wlan0' is your wireless interface name. ...
    (comp.os.linux.networking)
  • Re: dhcp
    ... that is also in DHCP pool. ... would detect a conflict it would not lease out an IP address. ... Microsoft MVP - Windows Security ... > wireless interface IP conflict with other PC occurs... ...
    (microsoft.public.windows.server.general)
  • dhcp
    ... anybody can advise the mechanism of dhcp? ... wireless interface IP conflict with other PC occurs... ... which is already exists and leading to conflict IP Address? ... Prev by Date: ...
    (microsoft.public.windows.server.general)

Loading