Short version: To rid Bonjour printing (and other Bonjourish?) problems from your NETGEAR router, turn off IPv6 under System Preferences » Network » AirPort » TCP/IP tab » Configure IPv6 (the button at the bottom of the window).
Long: I have sometimes had problems with printers not working over Bonjour for certain computers, despite the fact that every setting seemed to be correct. It took me some time to realize that it was always a NETGEAR router (the one I specifically have in front of me is a WGR614v5), and I finally realized it was when trying to use Bonjour printing between a wired and a wireless computer.
Using Bonjour Browser, I saw that the printer was registered on the host's IPv6 address, which I guess the NETGEAR router can't route when converting between wireless and wired. Turning IPv6 off and doing the usual reboots brings the amour of Bonjour back.
I help out a fair few people with computer problems, and there are times when long explanations over the phone of what is going on with the other person's computer can just get too tiresome. VNC is great, free, and fast (if a little limited compared to ARD or Timbuktu), and a sweet way of seeing and/or controlling the other party's screen. Trouble is, with most people behind a NAT router nowadays, getting the tech-challenged to configure a router to allow port forwarding from their side is not for the faint hearted or short tempered.
Even though there have been tales of screen sharing coming in Leopard with iChat, for those of us who need it now (and free), here is a method which you can use to automate the connection from the other person's computer, overcoming any and all router issues from their side (something iChat hasn't yet completely conquered yet), and making the connection a one-click process. Even better, as this solution uses an AppleScript, you will see that we can automate the whole process so that no user intervention is required, as long as the other computer has Mail running.
A somewhat related hint has been posted here before, but it required physical access to the machine you wished to control to complete the setup, or that too long talk-through of the router setup (assuming you even know what the router type is!)
Once you have completed this hint for one person, and thus have everything set up, the next person will be connected to you in around 30 seconds to a minute tops, from scratch, which is pretty good in my books. Once the zip file is expanded, all the user has to do is double-click a file. For today's cookery lesson, you will need:
Here's how to share a Bluetooth GPRS connection in OS X with your Parallels sessions.
In the Sharing System Preferences panel, click on the Internet tab. Set the Share your connection from pop-up menu to Bluetooth, then check any Ethernet ports listed in the To computers using section below.
You should now be able to use your GPRS connection in Parallels.
...only the filename transfered over to the Mac, but the content was empty. That's because the text clipping keeps the actual text in the resource fork of the file.
So to solve this problem, I simply use the -E option in scp, and both the filename and resource forks are preserved. According to man scp, this only works if both Macs have 10.4 or later installed on their machines. You must also make sure you have ssh enabled. So this would look like the following:
The :Desktop after the IP address means that Desktop is relative to the home user's account. For an absolute path use :/, followed by the path name. If you want to preserve the modification and access times as well as the content, then in addition use the -p option:
scp -Ep user@hostname:path path
Of course, these options can also be applied if you are sending a file using scp to a remote machine.
For years I had thought that the Finder's Go » Connect To Server (Command-K) feature only worked on the local network. I discovered, almost by accident, that if I know the IP address and user password of a Mac anywhere in the world, I can connect to it (assuming it has sharing enabled) using Connect to Server, and transfer files to/from to my heart's content.
This has been very useful when I'm working from home and need a file located on my work computer. Of course, that also means anyone else could do the same, which is a good reason to maintain a robust password!
For the last couple of weeks, I've had a most annoying problem: Personal File Sharing (in the Sharing System Preferences panel) on my Mac Pro would crash whenever I connected to the machine from another Mac. I could restart file sharing, but it would crash again the next time I tried to connect. To further complicate troubleshooting, connecting as a guest worked perfectly -- it was only when I tried to login as me that file sharing would crash. Needless to say, this made it most difficult to transfer files around the house. After much work with Google, trying to find the right terms to search with, I eventually stumbled onto the solution ... right here on our very own forums! To make the solution a bit easier for others to find, I'm posting it here, without the crash logs and other detail you can find in the linked post above.
The problem turned out to be a missing file, com.apple.ByteRangeLocking.plist, which is supposed to reside in the top-level /Library » Preferences folder. On my Mac Pro, it was missing (as was /var/db/BRLM.db, another file sharing-related file). The fix? You can copy the file from another Mac. However, it's a simple file, and forum poster voldenuit posted the contents:
Many network devices are able to upload and download firmware and configurations via the TFTP protocol. I have found it useful to use this feature with Netopia ENT routers, as it enables me to make backups of client configurations, and update the firmware directly on my service laptop. OS X comes with tftpd preinstalled. On OS X Server, tftpd is utilized for NetBoot; however, on the standard client, the framework still exists.
In Tiger, most services that were previously configured using xinetd have been migrated to launchd. The new launchd service consults the settings located in /System » Library » LaunchDaemons and /Library » LaunchDaemons directories. By default, Tiger has tftp.plist installed, however, this should be modified to suit your needs.
Under Windows you can easily assign a drive letter to a network share, so that every time you login to your account you will have ready access to it. There appears to be no such equivalent under OS X. (You can include them in your user's Login Items list, but each share in the list will spawn a Finder window when it connects.)
I have been digging at the problem for quite some time since I switched to OS X, and I can now give you the solution I found to work the best. It is not trivial, but with the help of this screencast, it should prove rather easy.
Method 1: Using Apple Script
Fire up Script Editor.
Type volume mount "smb://server name/share name" for each share you want to automount. For example, volume mount "smb://nas/mp3" in my example.
Test the code.
Save the code as an AppleScript.
Save the code as an application.
Add the application to your System Accounts Login Items.
This hint won't apply to most people, but for those of us who work in the classroom with server access it is very handy. We use servers in our technology classes for two simple actions: getting materials that students need for the class onto their machines (sound files, PDF instructions, templates -- which are often created just before class or even on the spot), and for them to hand back assignments using the instructor's drop box account on the server.
Here are three problems that come up regularly (our IT guys are very good, but once or twice a semester we do have problems):
For whatever reason one or two students loose their account access. They just can't log on, or they can log on but can't get to anything. Sometimes it's just a privilege issue.
At the beginning of each semester, with new classes, we don't have access for about a week while the virtual paperwork for applying and creating accounts is done.
Now and again the server goes down just before a class and no one, not even the instructor, can get access to important files.
This usually sends an instructor into panic mode, and my solution to nearly all of these issues has been to pass around jump drives. Then we figured out this obvious temporary solution: Use the instructor's station or instructor's laptop as a server.
Even though we can't get to the server because of account issues or because it is down, the lab is still networked. They can use the Connect to Server dialog and type in the IP address for either the instructor's station or (and I've done both) the instructor's laptop. You don't have to worry about accounts -- just log in as a guest. They will be able to see the Public folder to gather class materials and drop assignments in the drop box. (You can also use the Sites folder and, depending on the preferences or what you put there, have them connect using a browser.)
After one class using this method (where I had access but no one else did, because accounts hadn't been created), and after dragging all the dropped assignments from my local laptop drop box to the server's drop box, I tried creating an alias of the server's drop box (which I can see because I have an account) to the public area of my laptop (which they can see as guests). This worked too, copying all the assignments to the server drop box. Be careful with this, though, because they have the same privileges to the alias drop box as you do.
I use Parallels Desktop mainly to make sure my websites work on IE. As the IP address of the virtual network devices installed by Parallels are assigned by a dedicated DHCP server also installed by Parallels, and the IP address of my laptop changes as I change locations, I use the following setup to be able to access my laptops webserver by name from Windows.
Switch the Parallels virtual machine to host-only networking.
Set up OS X Internet Sharing (in the Sharing System Preferences panel) to share the connection with the Parallels Host-Guest adapter.
Open ports 80, 443, and any other ports you use for your development server (i.e. 3000-30xx for Rails development with locomotive) in the OS X firewall by adding a new rule.
Assign static IP addresses (from an unused network range) to the Parallels Host-Guest adapter and the network interface in Windows (I used 192.168.123.1 and 192.168.123.2 with network mask 255.255.255.0).
Add this to C:\WINDOWS\system32\drivers\etc\hosts:
Now you can access your Macs's development server by entering yourcomputer as the URL in IE, no matter what IP addresses are assigned to your mac.
Optionally, you can even comment the lines that start the Parallels DHCP-NAT server in /Library -> StartupItems -> Parallels -> Parallels, as with this setup, you use neither DHCP nor Parallels' NAT (but OS X's own NAT is used).