Reach local iTunes library over the net
If you want to reach your iTunes library from a remote Mac (a MacBook while traveling, for instance), you can enter these two lines in your Terminal app :$ dns-sd -P "any name" _daap._tcp. local 3690 localhost 127.0.0.1 & $ ssh -N user@server.example.com -L 3690:localhost:3689Replace user with your short username on the remote Mac, and server.example.com with the public IP of the remote Mac. Don't forget to set up your remote router so that the ssh port (22) is forwarded to a Mac on which the SSH daemon is launched (Remote Login enabled on the Sharing System Preferences panel).You can put this in a shell script (thanks to andersB):#!/bin/bash dns-sd -P "name of server" _daap._tcp local 3690 localhost 127.0.0.1 & PID=$! ssh -N user@server.example.com -L 3690:localhost:3689kill $PIDThis will start the broadcaster, set up the tunnel, and kill the broadcaster once the tunnel closes. I use p...
published on Tuesday, the 22. April 2008, macosxhints
Use almost any IP-based web camera on OS X
I recently bought a wireless IP camera (EcoLine by a company called Security-Center). Of course, all the software that came with it was Windows only. Nevertheless, I connected the camera over Ethernet with my Airport Extreme base station, did an address scan, and found out the IP address of the camera. I then pasted the IP address into Safari, and the camera's browser-based configuration client opened. For full functionality, I would have needed ActiveX. Still, I was able to configure RTSP, HTTP, and dnydns.org settings using Safari. Then I opened QuickTime and opened the URL of my webcam: rtsp://MYHOSTNAME.dyndns.org/live.sdp Instead of live.sdp -- which is the default on my camera -- you can choose any other name, as long as you don't forget the .sdp suffix. This might be useful, especially if you have more than one camera. As expected, the live video of my driveway opened in a seperate QuickTime window, thanks to dyndns from anywhere....
published on Tuesday, the 18. March 2008, macosxhints
10.5: Use shared printers from pre-10.4 Macs
Upon updating to Leopard, I (like many others) discovered that the printer I had shared on another computer was no longer accessible. In my case, the printer was connected to a beige G3 running Jaguar, but the following hint may also work for printers shared from other versions of Mac OS X, as well as for Linux boxes. After rummaging around the Internet looking for a solution, I came upon this article on Apple's support Web site that suggests typing the following Terminal command: cupsctl BrowseProtocols='"cups dnssd"' All that command actually does is add the line BrowseProtocols="cups dnssd" to the file /etc/cups/cupsd.conf. By default, the cups protocol (which is used by older versions of OS X, among others) is not enabled in Leopard, and this command re-enables it. If you f...
published on Monday, the 3. December 2007, macosxhints
Install and use the pdnsd proxy DNS server
One day I discovered that my Internet Service Provider’s Domain Name System (DNS) servers were not working as expected. I did not see the usual "can't find the server" message when I made a typo in Safari. Instead, a search e...
published on Wednesday, the 8. March 2006, macosxhints