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.
|
|
|
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.
•
[8,818 views]
Hint Options
Toggle AppleTalk between Ethernet and Airport
Can't you just create two 'Locations' in the Network preference pane (by duplicating your normal one) and then editing one to enable AppleTalk on the other interface? Then you can just use the Apple/Locations menu to switch back and forth.
Toggle AppleTalk between Ethernet and Airport
Duplicating locations is actually what I used to do. In my case, since I move around a lot between different networks, I have lots of locations configured (some of which change), and it seemed unnecessary to have two of each just for AppleTalk, which is why I wrote the script.
Toggle AppleTalk between Ethernet and Airport
I'll chime in and suggest using the built-in locations function to do what you want. Why re-invent the wheel?
Toggle AppleTalk between Ethernet and Airport
Well, perhaps the scripts' value is subtle (or not at all if you just have one network location configured in system prefs), but, as I said, if you have lots of locations, it's a bit easier and simpler to not have to duplicate a location whenever you create or change one, just so AppleTalk works.
Or just use the airport icon...
If you have it setup to use the airport by default in the network control panel (i believe it uses the top connection first), you should be able to just click on the airport icon and 'disable airport'.
Or just use the airport icon...
I use your method for file transfer to my server, the Appletalk connection is much slower. But I've always had trouble switching the Appletalk connection when I want to print. Is there any way to have Location Manager automatically turn Appletalk off on the Airport and on on the Ethernet?
Toggle AppleTalk between Ethernet and Airport
Have a look at Location X at http://homepage.mac.com/locationmanager/. Allows you to set up multiple locations, covering network type and settings including proxies, plus energy settings, default printers, Mail and Entourage, sound level, plus options to run scripts. Accessible at all times from the menu bar. Can't beat it if you move around a lot.
Toggle AppleTalk between Ethernet and Airport
Well, maybe this is a dumb question, but what does it mean to "toggle appletalk between ethernet and airport"? I thought that appletalk was a protocol that worked over tcp/ip (or at least over ethernet). I move around a bit in my home network (two wireless gateways plus wired ethernet), and if I set any of them as the current default network, appletalk seems "just to work".
Toggle AppleTalk between Ethernet and Airport
The history of AppleTalk has made it rather confusing, especially since it's often misused. AppleTalk is a Level 4 network protocol. Other Level 4 protocols include Novell Netware, Banyan Vines, TCP/IP (well, thats actually TCP, and IP, a Level 3 protocol), and NetBEUI. Two gizmos can communicate over a network in any of these ways. That network could be ethernet, WiFi, Bluetooth, TokenRing, or modems. A NetBEUI computer will just ignore AppleTalk on its Ethernet connector, and vice versa.
Toggle AppleTalk between Ethernet and Airport
Thanks. I think I see the distinctions you are making. Maybe my confusion is due to my tcp/ip-centric view of the world, along with my only ever use of the Mac being under OS/X. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.13 seconds |
|