Jump to content

Bonjour Fix via launchd


Crazor
 Share

1 post in this topic

Recommended Posts

Recently, I discovered the ifconfig method to fix Bonjour. Basically, it consists of a patched ifconfig which allows to enter promiscuous mode and a way to execute the command at boot time. The solutions I found either involved scripts or apps which need to be placed in your user's login items. Aside from being rather ugly solutions, these have a problem: Finder is started before the card is switched to promiscuous mode, and so has problems discovering nearby computers for some time.

 

Attached is a bundle containing Daniel Becker's patched ifconfig (from http://www.stanford.edu/~dub/macstuff/index.html) and a launchd plist file which runs the command at boot time.

 

To fix Bonjour, do the following:

 

0) If necessary, edit de.crazor.BonjourFix.plist and replace en0 with your device name.

1) place ifconfig in /usr/local/sbin:

$ sudo mkdir -p /usr/local/sbin

$ sudo cp ifconfig /usr/local/sbin

2) place de.crazor.BonjourFix.plist in /Library/LaunchDaemons:

$ sudo cp de.crazor.BonjourFix.plist /Library/LaunchDaemons

3) reboot

BonjourFix.zip

Link to comment
Share on other sites

 Share

×
×
  • Create New...