Tricks for your Mac – Turning of Bonjour

When the French say “Bonjour” it means “good day”, but when Apple says “Bonjour” over your satellite connection it may not be such a “good day”.

“Bonjour is Apple’s implementation of Zero configuration networking (Zeroconf), a group of technologies that includes service discovery, address assignment, and hostname resolution. Bonjour locates devices such as printers, other computers, and the services that those devices offer on a local network using multicast Domain Name System (mDNS) service records.”

From Wikipedia, the free encyclopedia

While this “Bonjour” sounds great and does work well when you are connected to a network via a high-speed connection and have other devices that you connect to on that network, it can make your day not so good and cause real frustration when trying to connect to the internet via a satellite phone system.

Bonjour is continually broadcasting information about your device to the network and then listening for what other devices or service are available to connect too. Each time your information is sent your system is using precious megabytes and bandwidth. Not a big deal at home or via a good and inexpensive Wi-Fi connection. But when you are connecting to the internet via your satellite phone you usually doing so via a very slow connection, such as and Iridium phone, and/or are paying a premium for data that is transmitted (i.e. $20 per megabyte for the FleetBroadband systems). Now it does not sound so great.

When you make a connection via your Iridium phone – your Mac is going to see that you are connected to a network and try to find out who is on this network that it can communicate with – this can use up your very limited bandwidth, or pipe if you will, and leaves very little if any room for your weather or email application to transfer its data. What you typically end up seeing is a stalled connection because the data is stuck in the bottleneck of the small pipe and then you receive a time-out error. If you are using one of the higher speed system where you are paying per megabyte – the system is using up data to do this – data for something that you may not care about or realize is being used.

There are a couple ways to reign in Bonjour when you are using your satellite phone.

OCENS software products employ a mechanism that automatically disables Bonjour when you use the dialer in OCENS Mail or WeatherNet so that the data flow is unimpeded by any Bonjour transmissions. When the connection is finished the service is re-enabled.

Another way is to manually disable Bonjour. You can do this by opening the terminal application on your Mac and entering the following command:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

Then hit enter. You may be required to enter your system password. Bonjour is now disabled.

Bonjour will automatically restart when you reboot your system. To turn this back on without the need to reboot your system you can enter the following command in same fashion as before:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

Bonjour is now re-enabled.

I hope this tip helps you to understand your system a litte bit more.

Bonjour!
Jeff

Leave a Reply