Documentation/Maemo PC Connectivity Tutorial/Automatic Service Publishing: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>amigadave
wikify slightly
imported>amigadave
wikify slightly, add link
 
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.


{|
{{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.}}
|-
| [[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 ==
== Using Avahi on Linux ==


First, you should install <code>avahi-discover<code> by executing the following command:
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 <code>avahi-discover</code> 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"
<div id="figure-pc_connectivity_mpc_linux_avahi_discover">
|+ align="BOTTOM" |'''Figure 7.1:''' Linux Avahi Discovery dialog
[[Image:mpc_linux_avahi_discover.png|frame|center|alt=Screenshot of Linux Avahi discovery dialog|Figure 7.1: Linux Avahi Discovery dialog]]
|-
</div>
|
[[Image:mpc_linux_avahi_discover.png|Image mpc_linux_avahi_discover]]
|}


== 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 [[#figure-pc_connectivity_mpc_mac_avahi_finder|7.2]].


{| summary="Mac OS X Finder application"
<div id="figure-pc_connectivity_mpc_mac_avahi_finder">
|+ align="BOTTOM" |'''Figure 7.2:''' Mac OS X Finder application
[[Image:mpc_mac_avahi_finder.png|frame|center|alt=Screenshot of Mac OS X Finder|Figure 7.2: Mac OS X Finder application]]
|-
</div>
|
[[Image:mpc_mac_avahi_finder.png|Image mpc_mac_avahi_finder]]
|}


[[Category:Documentation]]
[[Category:Documentation]]

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.

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.

Screenshot of Linux Avahi discovery dialog
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.

Screenshot of Mac OS X Finder
Figure 7.2: Mac OS X Finder application