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


Click here to return to the 'Easily disable network connections when necessary' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Easily disable network connections when necessary
Authored by: rottenchops on Jun 17, '03 11:33:55AM

What about just issuing:
sudo ifconfig en0 down



[ Reply to This | # ]
Easily disable network connections when necessary
Authored by: mbartosh on Jun 17, '03 05:56:56PM
ifconfig doesn't jive with configd, Mac OS X's network configuration database. use:

sudo ipconfig set en0 NONE
sudo ipconfig set en0 DHCP

...supposing you're taling about en0. ifconfig might work, but it might also have unforseen circumstances.

---
4am Media, Inc. Mac OS X Training and Consulting

[ Reply to This | # ]