Documentation/Maemo PC Connectivity Tutorial/Automatic Service Publishing

(wikify slightly, add link)
 
(3 intermediate revisions not shown)
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.
-
= Automatic Service Publishing =
+
{{ambox|text=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.}}
-
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.
+
== Using Avahi on Linux ==
-
{|
+
First, you should install <code>avahi-discover</code> by executing the following command:
-
|-
+
-
| [[Image: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 <span><font face="monospace">avahi-discover</font></span> by executing the following command:
+
  $ sudo apt-get install avahi-discover
  $ sudo apt-get install avahi-discover
-
Next, you can use the <span><font face="monospace">avahi-discover</font></span> utility to see all services announced by the Maemo device, figure [[#fig:pc_connectivity_mpc_linux_avahi_discover|7.1]].
+
Next, you can use the <code>avahi-discover</code> utility to see all services announced by the Maemo device, figure [[#figure-pc_connectivity_mpc_linux_avahi_discover|7.1]].
-
 
+
-
 
+
-
 
+
-
{| summary="Linux Avahi Discovery dialog"
+
-
|+ align="BOTTOM" |'''Figure 7.1:''' Linux Avahi Discovery dialog
+
-
|-
+
-
|
+
-
[[Image:mpc_linux_avahi_discover.png|Image mpc_linux_avahi_discover]]
+
-
|}
+
-
 
+
-
 
+
-
= Using Avahi on Mac OS X =
+
<div id="figure-pc_connectivity_mpc_linux_avahi_discover">
 +
[[Image:mpc_linux_avahi_discover.png|frame|center|alt=Screenshot of Linux Avahi discovery dialog|Figure 7.1: Linux Avahi Discovery dialog]]
 +
</div>
-
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]].
+
== 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 [[#figure-pc_connectivity_mpc_mac_avahi_finder|7.2]].
 +
<div id="figure-pc_connectivity_mpc_mac_avahi_finder">
 +
[[Image:mpc_mac_avahi_finder.png|frame|center|alt=Screenshot of Mac OS X Finder|Figure 7.2: Mac OS X Finder application]]
 +
</div>
-
{| summary="Mac OS X Finder application"
+
[[Category:Documentation]]
-
|+ align="BOTTOM" |'''Figure 7.2:''' Mac OS X Finder application
+
-
|-
+
-
|
+
-
[[Image:mpc_mac_avahi_finder.png|Image mpc_mac_avahi_finder]]
+
-
|}
+

Latest revision as of 11:23, 4 November 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.

Image:Ambox_notice.png
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.

[edit] 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.

File:Mpc linux avahi discover.png
Figure 7.1: Linux Avahi Discovery dialog

[edit] 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.

File:Mpc mac avahi finder.png
Figure 7.2: Mac OS X Finder application