Quote:
|
Originally posted by JFischel: My apartment has a prewired ISP. Basically, the thing sucks. Their DHCP services blow...90% of the time when my machine comes back from sleep I've lost my security token and need to reload the DHCP. Is there a command in Unix that'll let me rebind? Josh |
The specific commands to do it in terminal (as per the original request) are:
sudo ifconfig en1 down
<enter password>
sudo ifconfig en1 up
This temporarily turns off the AirPort interface, then brings it back up, thereby causing it to renegotiate an IP address with the DHCP server.