Toggle AppleTalk between Ethernet and Airport

Oct 08, '04 11:16:00AM

Contributed by: davewalcott

Being a mobile PowerBook user, I always find myself needing to switch AppleTalk back and forth between Airport and Ethernet, depending on where my printer is, and what kind of network I'm on. I put the following simple bash script together to toggle between AppleTalk and Ethernet (assuming en0 and en1 interface names, respectively), making the switch a one-click process, and saving me lots of trips to System Prefs.

Just copy and paste this script into a text file, name the file with the .command file suffix, chmod to 755, then drop it on your dock, and click on it to toggle AppleTalk.

Comments (10)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20041007005242493