AppleScript/Disable Ethernet Mac OS X 10.5
I have tried to accomplish this by using ifconfig and /usr/sbin/networksetup and their respective commands, but neither works. I get an error message that "a privilege violation occurred."
These are the statements I've tried (separately):
do shell script"ifconfig en0 down" with administrator privileges
do shell script "/usr/sbin/networksetup -setnetworkserviceenabled Ethernet off" with administrator privileges
FWIW, this works post-Leopard without error.
eMac (2005)-OTHER, Mac OS X (10.5.8), PowerPC G4 1.42GHz, 150GB, 512MB RM