Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Reset network to renew DHCP when changing locations' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Reset network to renew DHCP when changing locations
Authored by: peterjhill on Oct 23, '03 06:54:03AM

How about the "real" way to do this.

sudo ifconfig en1 down
sudo ifconfig en1 up

en1 is typically the airport interface
en0 is usually the wired interface

you can use the command

ifconfig -a
to list all of your network interfaces

use the command
man ifconfig
to get a man page on its usage.

I think using the network extensions to play with networking is a bad idea. The preferred method in a *nix environment is the ifconfig command

Don't even touch the ipconfig command... I don't know why they even put it in there. No real sysadmin uses that command.

[ Reply to This | # ]