Documentation/Maemo PC Connectivity Tutorial/Automatic Service Publishing: Difference between revisions
imported>amigadave categorize |
imported>amigadave wikify slightly |
||
| Line 1: | Line 1: | ||
Maemo PC Connectivity automatically announces Samba shares, NFS shares, SSH, X11VNC and SBRSH through Avahi. Due to this, host PCs can easily find the services available from a Maemo device. Avahi is an open-source implementation of the ZeroConf. It is used to facilitate the discovery of services on a local network. It allows a Maemo device to publish and discover services and hosts running on a local network with no specific configuration. For example, you can plug in a Maemo device to a network and a Linux or Mac OS X host PC instantly finds disk shares and other network services running on your Maemo device. | Maemo PC Connectivity automatically announces Samba shares, NFS shares, SSH, X11VNC and SBRSH through Avahi. Due to this, host PCs can easily find the services available from a Maemo device. Avahi is an open-source implementation of the ZeroConf. It is used to facilitate the discovery of services on a local network. It allows a Maemo device to publish and discover services and hosts running on a local network with no specific configuration. For example, you can plug in a Maemo device to a network and a Linux or Mac OS X host PC instantly finds disk shares and other network services running on your Maemo device. | ||
| Line 9: | Line 7: | ||
|} | |} | ||
= Using Avahi on Linux = | == Using Avahi on Linux == | ||
First, you should install < | First, you should install <code>avahi-discover<code> by executing the following command: | ||
$ sudo apt-get install avahi-discover | $ sudo apt-get install avahi-discover | ||
Next, you can use the < | Next, you can use the <code>avahi-discover</code> utility to see all services announced by the Maemo device, figure [[#fig:pc_connectivity_mpc_linux_avahi_discover|7.1]]. | ||
{| summary="Linux Avahi Discovery dialog" | {| summary="Linux Avahi Discovery dialog" | ||
| Line 26: | Line 22: | ||
|} | |} | ||
== Using Avahi on Mac OS X == | |||
= Using Avahi on Mac OS X = | |||
Samba and NFS shares from a Maemo device are automatically shown in the '''SHARED''' section of the '''Finder''' application, figure [[#fig:pc_connectivity_mpc_mac_avahi_finder|7.2]]. | Samba and NFS shares from a Maemo device are automatically shown in the '''SHARED''' section of the '''Finder''' application, figure [[#fig:pc_connectivity_mpc_mac_avahi_finder|7.2]]. | ||
{| summary="Mac OS X Finder application" | {| summary="Mac OS X Finder application" | ||
Revision as of 14:11, 19 October 2010
Maemo PC Connectivity automatically announces Samba shares, NFS shares, SSH, X11VNC and SBRSH through Avahi. Due to this, host PCs can easily find the services available from a Maemo device. Avahi is an open-source implementation of the ZeroConf. It is used to facilitate the discovery of services on a local network. It allows a Maemo device to publish and discover services and hosts running on a local network with no specific configuration. For example, you can plug in a Maemo device to a network and a Linux or Mac OS X host PC instantly finds disk shares and other network services running on your Maemo device.
| File:Dialog-information.png | Note: Avahi has not yet been included in Host PC Connectivity for Windows and thus automatic Maemo device service publishing does not work with Windows host PCs. |
Using Avahi on Linux
First, you should install avahi-discover by executing the following command:
$ sudo apt-get install avahi-discover
Next, you can use the avahi-discover utility to see all services announced by the Maemo device, figure 7.1.
Figure 7.1: Linux Avahi Discovery dialog
Using Avahi on Mac OS X
Samba and NFS shares from a Maemo device are automatically shown in the SHARED section of the Finder application, figure 7.2.
Figure 7.2: Mac OS X Finder application