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

Waking up a NAS device (a complete solution) Network
I purchased a LaCie NAS device, and I make use the Deep Sleep mode available on the device to reduce the power comsumption. The device has a software called LaCie Network Assistant and there is a function to Wake Up the device. According to the manual this function should remember the MAC address after the first use but it does not. That's why I started looking for another way of waking up the device automatically.

I found this hint on your site but it doesn't really do what I wanted.
read more (463 words)   Post a comment  •  Comments (6)  
  • Currently 3.00 / 5
  You rated: 3 / 5 (4 votes cast)
 
[13,620 views]  View Printable Version
Analyze WiFi packet traffic via command line Network
Many Mac OS X users lament the lack of sophisticated network analysis tools, often prevalent and seemingly prolific on Linux systems. What many don't know is that Mac OS X comes with a built-in command-line tool to do all sorts of nifty things with Wi-Fi networks, from packet capture (traffic sniffing) to scanning nearby networks' signal to noise ratios.
read more (384 words)   Post a comment  •  Comments (10)  
  • Currently 4.82 / 5
  You rated: 5 / 5 (17 votes cast)
 
[48,134 views]  View Printable Version
Reverse Screen Sharing Grabber Network
I often need to (briefly) share my desktop with a room full of people, for example: to review drawings before printing. Since I dislike people standing behind me and staring over my shoulder, I wanted a way share my screen to a separate, public screen.

Ideally, the boss could say 'Put it on the big screen' and with one click I could be sharing -- all without anyone coming near my computer.

I work on a MacBook Pro, which is named 'W89100AK7AP.' In this case, I already had a big screen: the monitor attached to my Mac mini (named 'Dr-Cube' below) that spends the rest of the day as a jukebox.
read more (498 words)   Post a comment  •  Comments (14)  
  • Currently 3.50 / 5
  You rated: 4 / 5 (8 votes cast)
 
[12,320 views]  View Printable Version
Prevent SL connecting to known open WiFi Network
Say, one day you decide to connect your Macbook to some open WiFi router. Let's call it DUPA. DUPA does not require a password, gives you IP (by DHCP) but doesn't offer Internet connection. So, it's useless for you.

Then, you switch back to your home WiFi which is secured with WPA2 and has Internet. Next day, after busy work hours you are back at home and want to connect to your own WiFi. You open your Macbook and... it's automatically connected to DUPA instead of your WiFi! And it happens on next day and on next day, and so on.

It happened to me. I was sure I could delete the DUPA network from the Preferred Networks list in System Preferences » Network » AirPort, under the Advanced... button, but DUPA wasn't there.
read more (98 words)   Post a comment  •  Comments (10)  
  • Currently 2.75 / 5
  You rated: 3 / 5 (8 votes cast)
 
[6,721 views]  View Printable Version
Auto-disable AirPort when ethernet is active Network
Ever been annoyed to be on both wireless AND wired network at the same time, without the opportunity to automatically disable AirPort when plugging in a cable?

Well this little script and lauchd agent will auto-disable AirPort on active ethernet. It even notifies you using Growl, if installed.
read more (431 words)   Post a comment  •  Comments (39)  
  • Currently 4.17 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (12 votes cast)
 
[36,793 views]  View Printable Version
Force connection at 5GHZ to Airport Extreme Network
I have set my Airport Extreme Dual Band base station to use the same SSID for both 5 GHz (802.11n) and 2.4 GHz (802.11b and 802.11g).

I moved my Mac Mini a little further away from my AEBS and found, through the wireless clients list, that it was now connecting to the 2.4 GHz network. I wanted to find a way to force the computer to always connect to the 5 GHz band, since that's what my MacBook Pro was able to do from the same distance. All the info on the Net said the only way to do it was to set up two different network names, but that would have killed my easy transition to the kitchen, which can only pick up 2.4 GHz, forcing me to manually switch networks often.

The new version of iStumbler for Snow Leopard saved the day.

iStumbler 99 showed that the Mini was seeing the 5 GHz network at 41% signal strength and the 2.4 GHz at 42%. That was apparently enough for the AEBS to automatically connect the Mini to the lower band. I opened up iStumbler on the Mac Mini and double clicked on the 5 GHz version of my network -- the one with the 166 channel number. iStumbler forced the Mini to connect to that particular network.

Now I'm connected the the 5 GHz whether the AEBS likes it or not, which is confirmed in the AEBS wireless client list as well as the extended network info when I option-click the menubar icon.

[crarko adds: I haven't tested this one, but iStumbler is another of those handy utilities to add to your toolbox.]
  Post a comment  •  Comments (15)  
  • Currently 2.67 / 5
  You rated: 1 / 5 (24 votes cast)
 
[52,205 views]  View Printable Version
Retrieve network info from the command line Network
I found myself wanting to conveniently retrieve useful network information for my wired (en0) and wireless (en1) interfaces without having to open the Network System Preference panel, so I wrote a shell script to extract and format this information.
read more (460 words)   Post a comment  •  Comments (16)  
  • Currently 2.54 / 5
  You rated: 2 / 5 (24 votes cast)
 
[27,654 views]  View Printable Version
Mounting a shared file system for Xgrid Network
Xgrid is Apple's cluster computing system built into the OS. Typical jobs that use Xgrid are data intensive tasks that need remote access to input to files and/or large databases. Unfortunately, for security reasons, on a distributed Xgrid network the jobs running on agents can't access /Volumes and thus can't access remote files systems that are mounted in the usual way. So where can a remote file system be mounted that Xgrid agents can access on demand?
read more (307 words)   Post a comment  •  Comments (3)  
  • Currently 2.42 / 5
  You rated: 1 / 5 (12 votes cast)
 
[7,314 views]  View Printable Version
Network abstraction framework for Cocoa/CocoaTouch apps Network
After trying to find a simple and elegant way to make my applications talk to each other over the network (and being tired of digging through all the socket related C API every time), I found a very nice network abstraction framework.

ThoMoNetworking is completely Objective-C, requires less then ten lines of code to use, and works both on the desktop and on all of Apple's mobile devices (iPhone and iPad). A disk image with the framework libraries, source code, documentation and examples are available from the developers' site. Some of the limitations of the library are also pointed out there, and you should read them before using it.

ThoMoNetworking gives you client and server classes that connect automatically via Bonjour - nothing to do on your side. Pass an object to the server, and it will pop out at the client, and vice versa. If you want, have your object distributed to all connected clients in one go. It couldn't be much simpler. ThoMoNetworking is under an MIT-like license so you can use it in almost any way you want. The full license text is included in the download package.

[crarko adds: I haven't tested this one, but did look through the disk image to make sure the source code was there, for debugging and verification purposes. You may also need to rebuild this if the target SDK changes.]
  Post a comment  •  Comments (7)  
  • Currently 3.37 / 5
  You rated: 3 / 5 (30 votes cast)
 
[6,869 views]  View Printable Version
Sync calendars and address books between Macs Network
One feature which is sorely missed by owners of multiple Macs is the ability to easily share their calendars and contacts between their computers. There are third-party software solutions, such as Mark/Space's The Missing Sync, but they cost money. There are also web services that offer calendar and contact synchronization, but they either cost money (such as MobileMe), or they are not completely dependable and compatible (such as Plaxo and Google).

Apple has another solution for you, in addition to MobileMe, and that's to get Mac OS X Server. Among other things, the server edition of OS X has a built-in calendar and contacts server. As of the Snow Leopard version, both are based on the newest standards -- CalDAV for calendars, and CardDAV for contacts. All you need to do from your client computer is to subscribe to the server from within iCal and Address Book, and you are all set for bi-directional sync.

Fortunately enough, these portions of OS X Server are also open-source, and are known as the Darwin Calendar and Contacts Server. The two servers are still separate projects (written in Python and based on the Twisted framework), and are very much under development.

The CardDAV server was only released in early 2010. Consequently, a lot of the installation, configuration and operation is only half-baked, and it takes some work to get to the point of the famous Apple "it just works" (well, they do want you to buy OS X Server). Nevertheless, once you have everything up and running, this is exactly what you get: the most dependable way to sync your calendars and contacts within a local network or over the internet, for free. You can designate any Mac on your network to be the server, and it will serve itself as well.

To help get this working, I've written up a detailed tutorial on how to get both CalDAV and CardDAV running on a Mac, thereby turning allowing you to easily sync contacts and calendars through that Mac.

[robg adds: While I've got the author's permission to replicate his how-to here, the reality is that, at over 8,000 words with a slew of associated images, I don't have the time available to reformat the article for displaying in the macosxhints template. So if you're interested in reading about syncing via CalDAV and CardDAV servers, visit the linked site.

To protect this hint, in the event that the original site ever vanishes, I've also created a PDF from the how-to, and placed it on the hints server: CalDAV and CardDAV how-to (1.38MB). I'd use the linked site first, though, as it's likely to be updated at some point.]
  Post a comment  •  Comments (32)  
  • Currently 2.82 / 5
  You rated: 2 / 5 (11 votes cast)
 
[34,735 views]  View Printable Version