Under Jaguar, I sometimes get a problem with Airport where the connection drops, and any attempt to use the Airport toolbar menu results in a finder lockup (spinning rainbow disk). I've discovered that unloading and reloading the Airport driver kernel extension fixes the problem. Here's the script I've written to do that (it needs to be run as an admin user):
This fixes the Finder lockup and allows me to rejoin the wireless network. The only catch is that thereafter the toolbar menu is nonfunctional, and I need to toggle it off and then on again in Internet Connect to get it to work (any advice on how to do this programatically would be appreciated).
I have finally succeeded in getting my Windows 2000 PC to print to my HP Deskjet 970 which is attached to my iMac. I know this works for USB inkjets. Your mileage may vary with other types of printers. Essentially, you don't use Samba at all, just CUPS.
After having connected and logged in to another machine on your network, drag its disk icon into your ~/Library -> Favorites folder. Next time you want to connect, it will be right there as a Go -> Favorites menu item, or in the Favorites folder from any finder window. If you find yourself regularly accessing a particular folder on the server, drag that folder icon from the host to your Favorites instead of the disk icon -- saves you from having to drill down each time you connect.
[Editor's note: The Favorites folder can be a big time saver in many areas; accessing to networked volumes is one of them. For an even more powerful version of Favorites, check out Default Folder X, which provides a custom list of favorites on an application specific basis.]
I have been unable to find any help on the 'net on how to share my Brother MFC 3100C from my Mac OS X 10.2 machine to a windows '98 machine; however, there were other helpful hints (far too many to list) that allowed me to find the following solution. I'm submitting it here in case it can be of use to other people. My email address is firstname.lastname@example.org. I suggested to Brother that they publish this as well in their own FAQs. I hope it is easy to understand and helpful. :)
The following instructions enable you to share your Brother MFC 3100C from your mac running Mac OS X 10.2 (Jaguar) to a windows network. This involves 4 steps:
Installing the printer on your mac
Adding a second definition of your printer for windows sharing
Enabling printer sharing in samba
Installing the printer as a "Network Printer" on your windows machine
If you need to make virtual private network connections (VPN) to allow outside users to use your internal, firewalled network and are IP address poor (ie. you can't assign addresses to the VPN clients as all of your subnet is filled) and you have MacOS X Server, you can use the built in VPN server in Mac OS X. Note, the server needs to be outside the firewall or have the firewall configured to allow PPTP connections through. Explaining how to set up your firewall is outside the scope of this hint.
For this tip you need to be comfortable in the UNIX shell.
[Editor's note: I have not tested this hint, and note that it requires OS X Server.]
Although you can hit Command-K to access the Connect to Server dialog box in the Finder, if you're not in the Finder, you need to first switch to it. This hint will create an application that can be stored on your desktop, in your dock, in DragThing, DropDrawers, etc., making Connect to Server accessible from anywhere without the need to first activate the Finder.
Open Script Editor (in your Utilities folder) and type in this program:
tell application "Finder" open location (choose URL showing File servers with editable URL) end tell
Save it as an application on the desktop, or wherever. I even copied the "Network" icon from the left most finder column view pane and pasted it over the new app's icon, and named the app "Connect to Server".
Even more interesting, if you remove the "showing file servers" portion of the second line, then you get a new pop-up menu in the dialog. This pop-up menu lists all possible types of connections, which is pretty interesting in itself!
Get an 802.11b WiFi certified base station and configure it to share your Internet connection --or-- put an Airport card in an available Internet-wired desktop and configure it to share the connection using the Airport card (in System Preferences under Sharing in the Internet tab).
Install the driver from the sourceforge site on the PowerBook and install the PC Card
Configure the PowerBook to connect via Airport using DHCP
You should now have your wireless network working.
[Editor's note: I haven't tested these instructions myself ... we've run other hints pointing at the sourceforge project site, but not with a set of instructions on how to use it.]
A recent hint here explained how to enable NAT on boot, but this one enables Apple's actual Internet Sharing option from the Sharing panel during startup. Here's what you need to do.
[Editor's note: I have not tested this myself ... and yes, it's distinct from the above referenced hint. That hint launched NAT at startup, the command-line version of internet sharing; this hint enables Apple's version, which apparently has some differences according to the comments to the first hint.]
It seems to be a good idea to make NFS mounts soft and interruptible on OS X. If a server disappears, or you disconnect your laptop, your machine is royally screwed if you touch a hard mounted file system. Finder will lock up waiting for a response from the server, and you will lose the ability to launch new programs via Finder, you won't be able to unmount, and you won't be able to reboot (even with /sbin/halt).
So I use the automounter and specify the -i and -s flags to enable interruptible and soft mounts. This solution may not save you from the Finder locking up (you'll have to wait for the soft timeout), but if you have Terminal running, you can terminate stalled programs, such as the Finder.
But I discovered a memory of sorts in the kernel ... mounts once mounted as hard mounts will not demonstrate the behavior of interruptible or soft mounts when remounted. A reboot is required. Umounting and then remounting does not prove sufficient.
Did you know rsync is available under Mac OS X 10.2? Cool, now you can remotely mirror directories rather than using rcp or scp. rsync can be tunneled over ssh, making it as secure as scp. I'll not go into that for this hint; you'll need to get the general idea first.
As a Solaris admin, I have a hardware failover server, and I need to mirror the web_site directory from the primary to secondary server. I use rsync running as a daemon on the "server" to mirror (synchronize) the secondary client. I do this via a cron job at midnight, so I'm never more than 24 hours behind.