![]() ![]() ![]() Is this just for hardware devices? Can other pages appear in Safari’s Bonjour list too? OS X BONJOUR BROWSER HOW TOInformation on how to do this can be found on Apple’s developer pages, and in the O’Reilly book Zero Configuration Networking: The Definitive Guide.Apple’s implementation of Bonjour for Mac OS X and iOS also runs on a widevariety of other platforms including Windows and Linux it is Apache 2 Open Source and can be downloaded and used at no charge.Other Open Source implementations also exist, such as Avahiand JmDNS.If you're using an embedded development kit for your product, ask your development kit vendor about Bonjour support.For example, Microchip Wi-Fi kits include Bonjour capability.Android has nativeBonjour support starting in API Level 16 (Android 4.1 “Jelly Bean”, released June 2012). You need to add Bonjour support to your device. How do I get my device to appear in Safari’s Bonjour list? My customers are asking me about Bonjour. If you have a networkdevice that you can access by typing its IP address, but it doesn’t show up inSafari’s Bonjour list, contact the vendor to ask about Bonjour support. Virtually all network printers made today supportBonjour, as do devices like Axis network cameras.Other devices are starting to support Bonjour discovery too. Or possibly you do have some,but they don’t yet advertise that fact using Bonjour. If the only thing you see in your Bonjour list is the “About Bonjour” link,then possibly you don’t have any devices on your local network that areaccessible using a web browser. This is a great idea, except for one big problem:to access the device’s web page, you need to know what IP address to type into your web browser.Even if you know what address to type, typing IPv4 addresses by hand is barely tolerable, andbeing expected to type IPv6 addresses by hand is completely unreasonable.Bonjour solves this problem.Safari displays a list of Bonjour-advertised web pages it finds on the local network.To view a device’s page you simply double-click on its name. Is Apple just doing a clumsy “hard-sell” trying to push its latest “cool” technology?No, there’s a good reason for the Bonjour menu in Safari.Many of today’s network devices, like printers, network cameras, and home gateways,are configured and managed using a web browser. Apple apparently fixed the issue in Safari 5.0.1, and when I upgraded to Safari 5.0.2 yesterday, it fixed the crash for Comic Life Magiq users.About Bonjour in Safari (and other Web browsers) About Bonjour in Safari (and other Web browsers) Which reminded me that Safari 5.0 was crashing for network users, and we worked around it by either managing a preference to not cache favicons or by redirecting a file. OS X BONJOUR BROWSER FULLThe last file opened by network users was something like this (with a full path): /Network/Servers/./username/Library/Icons/WebpageIcons.db I ran (several times, on different accounts, via ssh): sudo opensnoop -e -n Comic > output.txt I found out about opensnoop when struggling to diagnose why a Comic Life Magiq 1.1 was crashing on OS 10.5.8 for users with network accounts. Run apropos DTrace for a list, and look at man pages for details. Opensnoop is a dtrace script there are many others in /usr/bin that look at things like which system calls a process is making, what processes it is creating and what I/O it is doing. You can ask it to look at all files being opened across the system, by a specific process, or if any process is opening a given file, with different sorts of timestamps, and to show if errors occur. In Leopard and newer, reports which processes open files, whether successfully or not. OS X BONJOUR BROWSER SERIALWill give you the machine's serial number. Will get you basic hardware info (useful for asset tracking), and system_profiler SPHardwareDataType | grep Serial Will tell you how many USB devices are plugged in (including internal USB devices), which is useful to see if the computer sees a device (or, if, say, Parallel's grabbed it or it is dead.) system_profiler SPHardwareDataType system_profiler SPUSBDataType | grep "Product ID" -c Tells you about all your USB devices (including their Vendor and Product IDs, which can aid in tracking down drivers). This will dump the system profile to a file which can be looked at later on a different machine. Open MySystem.spx # or just double click on it in the Finder Or looking at the man page will give you tips on how to use it.Ī couple of examples: system_profiler -xml > MySystem.spx Give you the same results as you get when you choose About This Mac -> More Info, only on the command line. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |