Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.6: A fix for failure to connect to new wireless networks Network
Snow Leopard only hintAfter upgrading from 10.5.8 to 10.6.1 on my MacBook Pro, I was unable to connect to wireless networks unless I had already connected to them running under 10.5.8. Snow Leopard would "see" the new networks, but could not connect to them.

The Genius Bar at the Apple Store helped me solve the problem. We opened Library » Preferences » SystemConfiguration, and trashed the entire contents of that folder. We also deleted all locations in System Preferences » Network, and recreated the location Automatic. Finally, we rebooted.

So far, I have been able to connect to all wireless networks that I want to using OS X 10.6.1.
  Post a comment  •  Comments (5)  
  • Currently 2.47 / 5
  You rated: 5 / 5 (19 votes cast)
[17,439 views]  View Printable Version
Set Screen Sharing image quality via Terminal Network
I have to manage several Macs in a lot of locations and I was very confortable with the Bonjour discovery, saved connections, and hidden features of the 10.5 Screen Sharing app. Alas, with the release of 10.6, they have gone -- Apple wants to sell Apple Remote Desktop.

I have found that using this command in Terminal...
defaults write controlObserveQuality n
...changes the quality of the connection's display, based on the value of n:
  • 1 = black and white
  • 2 = grayscale
  • 3 = 8-bit color
  • 4 = 16-bit color
  • 5 = full color
I also set up shortcuts using the vnc:// URL convention in Safari, as discussed in this hint and comments. I save all my connection shortcuts in a folder, and put that folder in my Dock. I now have a Saved Connections folder that I can use to launch Screen Sharing automatically.

[robg adds: This Terminal command was covered in this comment, but I felt it worth repeating as a full hint. If you have a Screen Sharing session currently open, you'll need to close and reopen it to see the changes.]
  Post a comment  •  Comments (5)  
  • Currently 3.05 / 5
  You rated: 2 / 5 (19 votes cast)
[11,285 views]  View Printable Version
Enable anonymous FTP in 10.5 and 10.6 Network
To enable anonymous FTP in Snow Leopard (and probably Leopard as well), just execute the following commands in Terminal:
$ sudo dscl . -create /Users/ftp
$ sudo dscl . -create /Users/ftp NFSHomeDirectory /path/to/ftp/folder
Replace /path/to/ftp/folder with the path to the directory that the guest account will have access to. To disable anonymous access, use this command:
$ sudo dscl . -delete /Users/ftp
You may have to restart the FTP daemon by stopping File Sharing and starting it again in System Preferences. Although I didn't test it in Leopard, I see no reason why it shouldn't work there as well.

[robg adds: I haven't tested this one.]
  Post a comment  •  Comments (4)  
  • Currently 2.57 / 5
  You rated: 5 / 5 (14 votes cast)
[24,706 views]  View Printable Version
Delete file from network volume without warning dialog Network
Whenever I delete a file from a network volume, I'm warned: 'The item "File name" will be deleted immediately. Are you sure you want to continue?' with Cancel or Delete as options. The Cancel button is always the default option. If you really want to delete the file, you need to use the mouse to select the non-default Delete button. Since I am always sure that I really want to delete this file, I'm a little annoyed by always having to use the mouse after typing Command-Backspace (the Move to Trash shortcut). After all, I am using a shortcut because I want to avoid using the mouse.

If you press Command-Option-Delete, however, the networked file will be deleted immediately, without any warning at all. As with the normal method of deleting a networked file, this deletes the file immediately.

[robg adds: You can avoid the mouse with the Command-Delete method by pressing Tab then Space after the dialog appears. If you look at the File menu with the Option key down, you'll see that the shortcut for Move to Trash changes to reflect the Option key's presence, but the description itself doesn't change. This works in both 10.5 and 10.6.]
    •  Comments (13)  
  • Currently 3.21 / 5
  You rated: 4 / 5 (19 votes cast)
[9,018 views]  View Printable Version
10.6: Switch between two wireless networks in one location Network
For one reason or another, I have two wireless networks available to me to use in one location. One is DHCP enabled, while the other requires manual setup.

The obvious solution for switching between these networks is to use the Locations feature in Networking to save two profiles, and then use the drop-down Location menu to switch between them. However, I have found that because my MacBook has the logins for both networks saved, it does not switch the wireless network, just the settings. Once you mix DHCP with manual settings, it just fails to work, and requires more intervention.

My solution (admittedly inelegant, but I don't know how to implement a better way), was to create a shell script that will switch the locations, and power cycle the AirPort card (which means it picks up the 'preferred' network). This is then set as a Service using Automator, and assigned a keyboard shortcut. I have also had to configure sudo to allow my user to run it without a password.
read more (251 words)   Post a comment  •  Comments (9)  
  • Currently 1.78 / 5
  You rated: 1 / 5 (9 votes cast)
[10,244 views]  View Printable Version
Safely and socially share a wireless network Network
This is not really Mac-specific, but still a good idea. I like two things: sharing and encryption. But you can't have both with wi-fi. Either you share it or you encrypt the OTA transmissions with WPA.

My compromise, which works for anyone in an apartment building is simple. Name your network like this:
Bring beer to [apt number] for Password
It's a nice way to get to know your neighbors, gets you free beer (pro tip: you can substitute other items for beer), and lets you be generous with your wi-fi while giving you some added level of security from the WPA encryption.

[robg adds: I can think of both upsides and downsides to this idea; it will be interesting to read what others think of it.]
  Post a comment  •  Comments (14)  
  • Currently 1.70 / 5
  You rated: 2 / 5 (10 votes cast)
[7,690 views]  View Printable Version
10.6: Snow Leopard IPSec VPN and Cisco VPN client Network
If you previously used the Cisco VPN Client and want to use the native Snow Leopard client, you need to un-install all of the Cisco configs, kernel extensions, etc. To do this, just run sudo /usr/local/bin/vpn_uninstall in Terminal.

If you don't, the menu bar VPN control won't work, and will be very sluggish to click around in. The same goes for the Verizon Access Manager and the CDMA 3G built-in drivers.
  Post a comment  •  Comments (11)  
  • Currently 2.20 / 5
  You rated: 4 / 5 (15 votes cast)
[92,309 views]  View Printable Version
10.6: Use 'special' keys in screen sharing Network
I'm not sure if it's well-known, but Screen Sharing in Snow Leopard now supports all keyboard commands, including Command-Tab, Command-Space, and Command-Option-Escape. In 10.5, these keystrokes were sent to the local machine; in 10.6, they go to the screen sharing session.

[robg adds: In 10.6, whether you're sharing the screen of a 10.5 or 10.6 Mac, basically all keystrokes are sent to the remote machine, including kyes for Exposť and Dashboard -- if you've programmed separate keys beyond the hardwired keys -- F9 for Exposť's All Windows mode, for instance, gets sent from my MBP to my Mac Pro, but F3 (the hardwired Exposť key) does not. To send the keys locally, you'll need to click on a visible window (or the Desktop) behind the Screen Sharing session.]
  Post a comment  •  Comments (10)  
  • Currently 2.00 / 5
  You rated: 3 / 5 (10 votes cast)
[12,576 views]  View Printable Version
10.6: Add NFS Mounts using Disk Utility Network
NFS mounts are now added using Disk Utility. To add a Linux-hosted NFS share on my network, I did the following
  1. Start Disk Utility
  2. Select NFS Mounts from the File menu
  3. Click the plus sign in the lower left corner
  4. Enter in your remote NFS URL info as described
  5. Enter the mount point. If you add it to /Network, then it will show up in the Shared section of Finder, in an entry called All.
  6. If you're using secure ports on your server, then click the Advanced option and enter -P
  7. Click Verify
  8. Save your settings
The NFS mount is now available.
  Post a comment  •  Comments (12)  
  • Currently 2.45 / 5
  You rated: 1 / 5 (20 votes cast)
[85,123 views]  View Printable Version
10.6: Save Cisco IPSec password in the Keychain Network
Mac OS X Snow Leopard adds support for Cisco IPSec VPN connections -- that is, plain IPSec with XAuth authentication and mode_cfg.

That makes it two layers of authentication: first, Machine Authentication with a password (Shared Secret) or an X509 certificate. Then a traditional username-password pair for XAuth, both of which you can enter and save in the Account Name and Password fields respectively when you set up the connection. Trouble is, even though you entered your password and it is apparently saved in the keychain properly, Mac OS X keeps nagging you to manually enter the password every time you connect. Turns out this is a just bug with a simple fix.

Open the Keychain Access Application, select the System keychain and find your saved XAuth password entry in the list. Its Kind field will say IPSec XAuth Password. Open it, then on the Access Control tab click the Plus button to add another application. The file we need to select, /usr/libexec/configd, resides in a hidden folder. To navigate there, press Command-Shift-G, enter /usr/libexec, then pick configd in the dialog. Save your changes and that's it -- your saved password should now work.

[robg adds: I can confirm that this fix works as described.]
  Post a comment  •  Comments (24)  
  • Currently 4.14 / 5
  You rated: 5 / 5 (36 votes cast)
[79,226 views]  View Printable Version