<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://bugs.maemo.com/skins/common/feed.css?207"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://bugs.maemo.com/index.php?action=history&amp;feed=atom&amp;title=Documentation%2FMaemo_PC_Connectivity_Tutorial%2FFile_Sharing</id>
		<title>Documentation/Maemo PC Connectivity Tutorial/File Sharing - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://bugs.maemo.com/index.php?action=history&amp;feed=atom&amp;title=Documentation%2FMaemo_PC_Connectivity_Tutorial%2FFile_Sharing"/>
		<link rel="alternate" type="text/html" href="http://bugs.maemo.com/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/File_Sharing&amp;action=history"/>
		<updated>2026-04-04T06:18:20Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.15.5-7</generator>

	<entry>
		<id>http://bugs.maemo.com/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/File_Sharing&amp;diff=39973&amp;oldid=prev</id>
		<title>amigadave:&amp;#32;reformat images, add anchor divs, wikify slightly, add links</title>
		<link rel="alternate" type="text/html" href="http://bugs.maemo.com/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/File_Sharing&amp;diff=39973&amp;oldid=prev"/>
				<updated>2010-11-04T11:58:17Z</updated>
		
		<summary type="html">&lt;p&gt;reformat images, add anchor divs, wikify slightly, add links&lt;/p&gt;
&lt;a href=&quot;http://bugs.maemo.com/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/File_Sharing&amp;amp;diff=39973&amp;amp;oldid=39607&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>amigadave</name></author>	</entry>

	<entry>
		<id>http://bugs.maemo.com/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/File_Sharing&amp;diff=39607&amp;oldid=prev</id>
		<title>amigadave:&amp;#32;wikify slightly</title>
		<link rel="alternate" type="text/html" href="http://bugs.maemo.com/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/File_Sharing&amp;diff=39607&amp;oldid=prev"/>
				<updated>2010-10-19T14:06:01Z</updated>
		
		<summary type="html">&lt;p&gt;wikify slightly&lt;/p&gt;
&lt;a href=&quot;http://bugs.maemo.com/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/File_Sharing&amp;amp;diff=39607&amp;amp;oldid=34200&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>amigadave</name></author>	</entry>

	<entry>
		<id>http://bugs.maemo.com/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/File_Sharing&amp;diff=34200&amp;oldid=prev</id>
		<title>amigadave:&amp;#32;categorize</title>
		<link rel="alternate" type="text/html" href="http://bugs.maemo.com/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/File_Sharing&amp;diff=34200&amp;oldid=prev"/>
				<updated>2010-05-11T06:05:19Z</updated>
		
		<summary type="html">&lt;p&gt;categorize&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 06:05, 11 May 2010&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= File Sharing =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= File Sharing =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 438:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 437:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| '''Note:'''&amp;nbsp; Rsync protocol is also used by several backup and file synchronisation services available from the Internet.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| '''Note:'''&amp;nbsp; Rsync protocol is also used by several backup and file synchronisation services available from the Internet.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Documentation]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-04 06:18:24 --&gt;
&lt;/table&gt;</summary>
		<author><name>amigadave</name></author>	</entry>

	<entry>
		<id>http://bugs.maemo.com/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/File_Sharing&amp;diff=32311&amp;oldid=prev</id>
		<title>dneary:&amp;#32;1 revision</title>
		<link rel="alternate" type="text/html" href="http://bugs.maemo.com/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/File_Sharing&amp;diff=32311&amp;oldid=prev"/>
				<updated>2010-04-09T13:35:31Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:35, 9 April 2010&lt;/td&gt;
		&lt;/tr&gt;
		&lt;!-- diff generator: internal 2026-04-04 06:18:24 --&gt;
&lt;/table&gt;</summary>
		<author><name>dneary</name></author>	</entry>

	<entry>
		<id>http://bugs.maemo.com/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/File_Sharing&amp;diff=32310&amp;oldid=prev</id>
		<title>Wikiuser:&amp;#32;importing documentation, see Meta:Problems in the LaTeX2HTML2Wiki import process</title>
		<link rel="alternate" type="text/html" href="http://bugs.maemo.com/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/File_Sharing&amp;diff=32310&amp;oldid=prev"/>
				<updated>2010-04-09T09:05:01Z</updated>
		
		<summary type="html">&lt;p&gt;importing documentation, see &lt;a href=&quot;/Meta:Problems_in_the_LaTeX2HTML2Wiki_import_process&quot; title=&quot;Meta:Problems in the LaTeX2HTML2Wiki import process&quot;&gt;Meta:Problems in the LaTeX2HTML2Wiki import process&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
= File Sharing =&lt;br /&gt;
&lt;br /&gt;
= Disk mounting =&lt;br /&gt;
&lt;br /&gt;
Maemo PC Connectivity provides some tools for easily sharing files between a Maemo device and a host PC. You can can mount the file system of a Maemo device to the host PC over a network and interact with it as it is a local disk. Also, it is possible to mount a file system of a host PC to the Maemo device. For that, you have to install Maemo PC Connectivity on the Maemo device and Host PC Connectivity on the host PC (Linux, Windows and Mac OS X).&lt;br /&gt;
&lt;br /&gt;
This chapter describes how to use the disk mounting tools available with Maemo PC Connectivity. To simplify the process, it is assumed that you already have a working USB network between your Maemo device and the host PC.&lt;br /&gt;
&lt;br /&gt;
The recommended tools and methods to mount the file system of a Maemo device to a host PC are listed in table 6.1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;3&amp;quot;&lt;br /&gt;
|+ '''Table 6.1:''' Recommended mount tools for PC&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; |&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | Linux&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | Windows&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | Mac OS&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | SSHFS&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | X&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; |&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | X&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | NFS&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | X&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; |&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | X&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | SAMBA&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | X&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | X&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | X&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The recommended tools and methods to mount the file system of a host PC to a Maemo device are listed in table 6.2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;3&amp;quot;&lt;br /&gt;
|+ '''Table 6.2:''' Recommended mount tools for Maemo device&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; |&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | Linux&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | Windows&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | Mac OS&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | SSHFS&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | X&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; |&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | X&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | NFS&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | X&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; |&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; |&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | SAMBA&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | X&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | X&lt;br /&gt;
| align=&amp;quot;CENTER&amp;quot; | X&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the host PC, you must type the commands below in the terminal on Linux and Mac OS X and in the Cygwin command shell on Windows.&lt;br /&gt;
&lt;br /&gt;
== Using SSHFS mounts ==&lt;br /&gt;
&lt;br /&gt;
SSHFS (SSH File System) is a file system client based on the SSH protocol. It allows users to mount locally a remote file system via SSH. With SSHFS, you can remotely access the Maemo device file system from the host PC and vice versa.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:dialog-information.png]]&lt;br /&gt;
| '''Note:'''  SSHFS mounts do not work on Windows host PC.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If you want to mount the Maemo device file system to your host PC, you can execute the following commands.&lt;br /&gt;
&lt;br /&gt;
 $ mkdir ~/maemo&lt;br /&gt;
 $ sshfs user@192.168.2.15:/ ~/maemo -o rw,nonempty&lt;br /&gt;
 user@192.168.2.15's password: &amp;amp;lt;type user password here&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you did not set the SSH password for &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;user&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; yet, you can use the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;root&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; account. You should set up the password for the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;user&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; account by following these steps:&lt;br /&gt;
&lt;br /&gt;
 $ ssh root@192.168.2.15&lt;br /&gt;
 root@192.168.2.15's password: &amp;amp;lt;type root password here&amp;amp;gt;&lt;br /&gt;
 Nokia-810:~# passwd user&lt;br /&gt;
 Changing password for user&lt;br /&gt;
 Enter the new password (minimum of 5, maximum of 8 characters)&lt;br /&gt;
 Please use a combination of upper and lower case letters and numbers.&lt;br /&gt;
 New password: &amp;amp;lt;type new user password here&amp;amp;gt;&lt;br /&gt;
 Re-enter new password: &amp;amp;lt;retype user password&amp;amp;gt;&lt;br /&gt;
 Password changed&lt;br /&gt;
&lt;br /&gt;
If you want to mount the host PC file system to your Maemo device, you can execute the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ mkdir ~/hostpc&lt;br /&gt;
 $ sshfs &amp;amp;lt;host_pc_user&amp;amp;gt;@&amp;amp;lt;host_pc_ip&amp;amp;gt;:/ ~/hostpc -o rw,nonempty&lt;br /&gt;
 &amp;amp;lt;host_pc_user&amp;amp;gt;@&amp;amp;lt;host_pc_ip&amp;amp;gt;'s password: &amp;amp;lt;type user password here&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
As SSHFS is a user mode file system, you cannot use the standard Linux &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;mount&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; command directly. For example, you should execute the following command to unmount the Maemo device file system from the host PC.&lt;br /&gt;
&lt;br /&gt;
 $ fusermount -u ~/maemo&lt;br /&gt;
&lt;br /&gt;
You can configure SSH to use keys and not to ask for a password every time by exchanging the SSH keys as described in the SSH installation chapter.&lt;br /&gt;
&lt;br /&gt;
== Using NFS mounts ==&lt;br /&gt;
&lt;br /&gt;
With NFS (Network File System), you can share folders from your Maemo device or host PC over a network. Below are instructions on how to share a folder from a Maemo device using NFS.&lt;br /&gt;
&lt;br /&gt;
=== Configuring NFS for Maemo device ===&lt;br /&gt;
&lt;br /&gt;
You should follow these steps to share a folder from your Maemo device through NFS using Maemo PC Connectivity configuration widget:&lt;br /&gt;
&lt;br /&gt;
* Run '''Settings - Control Panel - Connectivity - PC Connectivity Manager'''.&lt;br /&gt;
* Click on the '''Advanced''' button.&lt;br /&gt;
* Go to the '''Tool Manager''' tab.&lt;br /&gt;
* Select the '''NFS''' option. After that, change the options according to your needs, figure [[#fig:pc_connectivity_mpc_maemo_nm_nfs|6.1]].&lt;br /&gt;
* Click on the '''Exported Paths''' button. Then add the folders to be shared, figure [[#fig:pc_connectivity_mpc_maemo_nm_nfs_folders|6.2]].&lt;br /&gt;
* Click on the '''Allowed IPs''' button. Then add the host PC's IP addresses that are allowed to access the shared folders, figure [[#fig:pc_connectivity_mpc_maemo_nm_nfs_ips|6.3]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;PC Connectivity Manager - NFS option&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 6.1:''' PC Connectivity Manager - NFS option&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_nm_nfs.png|Image mpc_maemo_nm_nfs]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;PC Connectivity Manager - Shared folders list&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 6.2:''' PC Connectivity Manager - Shared folders list&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_nm_nfs_folders.png|Image mpc_maemo_nm_nfs_folders]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;PC Connectivity Manager - Allowed IPs list&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 6.3:''' PC Connectivity Manager - Allowed IPs list&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_nm_nfs_ips.png|Image mpc_maemo_nm_nfs_ips]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you want, you can share a folder from your Maemo device manually. The following steps describe how to share the folder (&amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;/home/user/MyDocs&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;) from a Maemo device over a network by giving access to the host PC IP address (&amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;192.168.2.14&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
Connect to the Maemo device via &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;SSH&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;. Edit the file &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;/etc/exports&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; and add the folder you want to share and set the permissions of your shares (IP addresses).&lt;br /&gt;
&lt;br /&gt;
 /home/user/MyDocs 192.168.2.14(rw,no_root_squash,async,no_subtree_check)&lt;br /&gt;
&lt;br /&gt;
Next restart the User Mode NFS server:&lt;br /&gt;
&lt;br /&gt;
 $ /etc/init.d/unfs3 restart&lt;br /&gt;
&lt;br /&gt;
=== Configuring NFS for host PC ===&lt;br /&gt;
&lt;br /&gt;
You must follows these steps to share a folder from a host PC over a network and giving access to it for Maemo device's IP address (&amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;192.168.2.15&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:dialog-information.png]]&lt;br /&gt;
| '''Note:'''  NFS mounts do not work on Windows host PC.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Edit the file &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;/etc/exports&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; and add the folder you want to share and set the permissions for your shares (IP addresses).&lt;br /&gt;
&lt;br /&gt;
 /home/&amp;amp;lt;host_pc_user&amp;amp;gt; 192.168.2.15(rw,no_root_squash,async,no_subtree_check)&lt;br /&gt;
&lt;br /&gt;
Next restart the User Mode NFS server:&lt;br /&gt;
&lt;br /&gt;
 $ sudo /etc/init.d/unfs3 restart&lt;br /&gt;
&lt;br /&gt;
=== Accessing NFS shares with Maemo device ===&lt;br /&gt;
&lt;br /&gt;
Once you configured NFS on your Maemo device, you can access the shared folders from your host PC over the network. Below are instructions on how to access the shared NFS folders from the Linux host PC.&lt;br /&gt;
&lt;br /&gt;
On the host PC, run the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;showmount&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; command to check if NFS sharing is working.&lt;br /&gt;
&lt;br /&gt;
 $ showmount -e &amp;amp;lt;device_ip&amp;amp;gt;&lt;br /&gt;
 Export list for 192.168.2.15:&lt;br /&gt;
 /home/user/MyDocs 192.168.2.14&lt;br /&gt;
&lt;br /&gt;
Next mount the exported Maemo device folder from the host PC.&lt;br /&gt;
&lt;br /&gt;
 $ mkdir /tmp/MyDocs&lt;br /&gt;
 $ sudo mount -t nfs &amp;amp;lt;device_ip&amp;amp;gt;:/home/user/MyDocs /tmp/MyDocs&lt;br /&gt;
&lt;br /&gt;
You can unmount the same folder with the following command:&lt;br /&gt;
&lt;br /&gt;
 $ sudo umount /tmp/MyDocs&lt;br /&gt;
&lt;br /&gt;
=== Accessing NFS shares with Host PC ===&lt;br /&gt;
&lt;br /&gt;
Once you have configured NFS on your host PC, you can access the shared folders from your Maemo device over a network. Below are instructions on how to access the shared NFS folders from your Maemo device.&lt;br /&gt;
&lt;br /&gt;
On the Maemo device mount the shared host PC folder.&lt;br /&gt;
&lt;br /&gt;
 $ mkdir ~/hostpc&lt;br /&gt;
 $ mount -t nfs &amp;amp;lt;host_pc_ip&amp;amp;gt;:/home/&amp;amp;lt;host_pc_user&amp;amp;gt; ~/hostpc&lt;br /&gt;
&lt;br /&gt;
You can unmount the same folder with the following command:&lt;br /&gt;
&lt;br /&gt;
 $ sudo umount ~/hostpc&lt;br /&gt;
&lt;br /&gt;
== Using Samba mounts ==&lt;br /&gt;
&lt;br /&gt;
Samba allows file sharing between computers over the network. With Samba, you can remotely access the Maemo device file system from the host PC and vice versa. Once you have shared your file system through Samba, it is available every time you reconnect to the network.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:dialog-information.png]]&lt;br /&gt;
| '''Note:'''  Samba does not work on Maemo Fremantle devices such as N900 but works fine with Maemo Diablo devices such as N800 and N810.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Configuring Samba for Maemo device ===&lt;br /&gt;
&lt;br /&gt;
To be able to share a folder from your Maemo device, you should follow these steps.&lt;br /&gt;
&lt;br /&gt;
* Run '''Settings - Control Panel - Connectivity - PC Connectivity Manager'''.&lt;br /&gt;
* Click on the '''Advanced''' button.&lt;br /&gt;
* Go to the '''Tool Manager''' tab.&lt;br /&gt;
* Select the '''Samba''' option. After that, change the options according to your needs (Workgroup, User and Password), figure [[#fig:pc_connectivity_mpc_maemo_nm_samba|6.4]].&lt;br /&gt;
* Click on the '''Exported Paths''' button. Then add the folders to be shared, figure [[#fig:pc_connectivity_mpc_maemo_nm_samba_paths|6.5]].&lt;br /&gt;
* Click on the '''Apply''' button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;PC Connectivity Manager - Samba options&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 6.4:''' PC Connectivity Manager - Samba options&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_nm_samba.png|Image mpc_maemo_nm_samba]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;PC Connectivity Manager - Samba shared folders&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 6.5:''' PC Connectivity Manager - Samba shared folders&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_nm_samba_paths.png|Image mpc_maemo_nm_samba_paths]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can access your host PC shared folders from your Maemo device.&lt;br /&gt;
&lt;br /&gt;
* Open the '''Utilities - File Manager''' application.&lt;br /&gt;
* Click on the '''Shared folders''' option, figure [[#fig:pc_connectivity_mpc_maemo_nm_samba_access|6.6]].&lt;br /&gt;
* Select the desired shared folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;PC Connectivity Manager - Shared folders dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 6.6:''' PC Connectivity Manager - Shared folders dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_nm_samba_access.png|Image mpc_maemo_nm_samba_access]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring Samba for Linux ===&lt;br /&gt;
&lt;br /&gt;
To be able to share a folder from your Linux host PC, you should follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Open the File Manager ('''Nautilus''').&lt;br /&gt;
* Right click the folder you want to share, and select '''Sharing options'''.&lt;br /&gt;
* Type the '''Share name''' and check the '''Guest access''' option, figure [[#fig:pc_connectivity_mpc_linux_ubuntu_samba_share|6.7]].&lt;br /&gt;
* Click on the '''Create share''' button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Linux folder sharing&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 6.7:''' Linux folder sharing&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_linux_ubuntu_samba_share.png|Image mpc_linux_ubuntu_samba_share]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;Samba&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; is not installed, Ubuntu requests the installation at this point. Otherwise, you can install &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;Samba&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; manually.&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install samba&lt;br /&gt;
&lt;br /&gt;
To access a shared folder from the Maemo device using your Windows host PC.&lt;br /&gt;
&lt;br /&gt;
* Open the File Manager (Nautilus) and type: &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;smb://&amp;amp;lt;maemo_device_ip&amp;amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;, figure [[#fig:pc_connectivity_mpc_linux_ubuntu_samba_access|6.8]].&lt;br /&gt;
* Press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Accessing shared folder with Final Manager&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 6.8:''' Accessing shared folder with Final Manager&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_linux_ubuntu_samba_access.png|Image mpc_linux_ubuntu_samba_access]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring Samba for Windows ===&lt;br /&gt;
&lt;br /&gt;
To be able to share a folder from your Windows host PC, you should follow these steps.&lt;br /&gt;
&lt;br /&gt;
* Open the File Manager ('''Windows Explorer''').&lt;br /&gt;
* Right click the appropriate folder, and then click Sharing.&lt;br /&gt;
* In the folder's properties, click '''Share this folder'''. Use the default name for the share.&lt;br /&gt;
* Click the '''Permissions''' button to change permissions according to your needs.&lt;br /&gt;
&lt;br /&gt;
To access a folder shared from your Maemo device, you need to do the following on your Windows host PC:&lt;br /&gt;
&lt;br /&gt;
* Click '''Start''', and then click '''Run'''.&lt;br /&gt;
* Type your Maemo device IP address as follows: &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;&amp;amp;lt;maemo_device_ip&amp;amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;.&lt;br /&gt;
* The shared folders of your Maemo device are shown.&lt;br /&gt;
&lt;br /&gt;
=== Configuring Samba for Mac OS X ===&lt;br /&gt;
&lt;br /&gt;
To be able to share a folder from your Mac OS X host PC, you should follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Go to '''System Preferences''' and click on the '''Sharing''' icon.&lt;br /&gt;
* Select the '''File Sharing''' service.&lt;br /&gt;
* Add a folder you want to share, and then set the permissions for it, figure [[#fig:pc_connectivity_mpc_mac_samba_share|6.9]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Mac OS X Sharing dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 6.9:''' Mac OS X Sharing dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_mac_samba_share.png|Image mpc_mac_samba_share]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access a folder shared from a Maemo device you need to do following on your Mac OS X host PC.&lt;br /&gt;
&lt;br /&gt;
* Go to the File Manager application ('''Finder''').&lt;br /&gt;
* With the '''Finder''' open, click on the '''Go''' menu and select the '''Connect to Server''' option.&lt;br /&gt;
* Type your Maemo device IP address as follows: &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;smb://&amp;amp;lt;maemo_device_ip&amp;amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;, figure [[#fig:pc_connectivity_mpc_mac_samba_access|6.10]].&lt;br /&gt;
* Click on the '''Connect''' button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Mac OS X connect to server dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 6.10:''' Mac OS X connect to server dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_mac_samba_access.png|Image mpc_mac_samba_access]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= File transfer =&lt;br /&gt;
&lt;br /&gt;
You have several different ways to transfer files between a Maemo device and a host PC using tools provided by Maemo PC Connectivity. First, you have to install Maemo PC Connectivity to the Maemo device and Host PC Connectivity to the host PC (Linux, Windows and Mac OS X). Below describes how to use specific file transfer tools available from the Maemo PC Connectivity product. To simplify the process, it has been assumed that you already have a working USB network configured between the Maemo device and host PC.&lt;br /&gt;
&lt;br /&gt;
On the host PC, you must type the commands below using terminal on Linux and Mac OS and using Cygwin command shell on Windows.&lt;br /&gt;
&lt;br /&gt;
== Using SCP ==&lt;br /&gt;
&lt;br /&gt;
With SCP (Secure Copy), you can securely transfer files between a local and a remote host or between two remote hosts, using the SSH protocol. Below describes in detail how to transfer files between the Maemo device and host PC using SCP.&lt;br /&gt;
&lt;br /&gt;
You should follow the SCP command examples below to transfer files from a local to a remote host:&lt;br /&gt;
&lt;br /&gt;
 $ scp &amp;amp;lt;source_file&amp;amp;gt; &amp;amp;lt;user&amp;amp;gt;@&amp;amp;lt;host_name&amp;amp;gt;:&amp;amp;lt;path&amp;amp;gt;/&amp;amp;lt;target_file&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, if you want to transfer a file called &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;file.txt&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; from a host PC to a Maemo device, you should use this command on the host PC:&lt;br /&gt;
&lt;br /&gt;
 $ scp file.txt root@192.168.2.15:/etc/file.txt&lt;br /&gt;
&lt;br /&gt;
You should follow this SCP command example to transfer files from a remote to a local host:&lt;br /&gt;
&lt;br /&gt;
 $ scp &amp;amp;lt;user&amp;amp;gt;@&amp;amp;lt;host_name&amp;amp;gt;:&amp;amp;lt;path&amp;amp;gt;/&amp;amp;lt;source_file&amp;amp;gt; &amp;amp;lt;target_file&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, if you want to transfer a file called &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;file.txt&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; from a Maemo device to a host PC, you should use this command on host PC:&lt;br /&gt;
&lt;br /&gt;
 $ scp root@192.168.2.15:/etc/file.txt file.txt&lt;br /&gt;
&lt;br /&gt;
You can use &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;ssh-key-exchange&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; as described in the SSH installation chapter to avoid SSH requiring a password every time.&lt;br /&gt;
&lt;br /&gt;
== Using SFTP ==&lt;br /&gt;
&lt;br /&gt;
After Maemo PC Connectivity has been installed to the Maemo device, your Maemo device folders can be accessed from a host PC using the SFTP client. If you also installed Host PC Connectivity your host PC already has a GUI-based SFTP client, FileZilla, installed. Therefore to access your Maemo device folders from the host PC through SFTP, simply follow these steps.&lt;br /&gt;
&lt;br /&gt;
Run the FileZilla client, figure [[#fig:pc_connectivity_mpc_sftp|6.11]].&lt;br /&gt;
&lt;br /&gt;
* Linux - Ubuntu: '''Applications - Internet - FileZilla FTP Client'''.&lt;br /&gt;
* Windows: '''Start - Programs - FileZilla FTP Client - FileZilla'''.&lt;br /&gt;
* Mac OS: '''/Applications/FileZilla'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;FileZilla FTP Client&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 6.11:''' FileZilla FTP Client&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_sftp.png|Image mpc_sftp]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Type the IP address of your Maemo device in the '''Host''' field.&lt;br /&gt;
* Type your '''Username''' and '''Password''' to set up the SSH connection on your Maemo device and type 22 (for SSH) in the '''Port''' field.&lt;br /&gt;
* Click on the '''Quickconnect''' button. Your Maemo device folders will appear in the '''Remote Site''' area.&lt;br /&gt;
&lt;br /&gt;
== Using Rsync ==&lt;br /&gt;
&lt;br /&gt;
As Maemo PC Connectivity and Host PC Connectivity products installs Rsync for your environment, you can incrementally transfer files and directories between a Maemo device and a host PC. You can send and receive files in such a way that only the changed bytes inside files are copied between the Maemo device and the host PC. Rsync also removes files from target folders if those files were deleted from the source folders in order to keep both folders in sync. You can find usage examples and documentation about Rsync from the [http://rsync.samba.org/ Rsync web page].&lt;br /&gt;
&lt;br /&gt;
Rsync is a much more powerful tool than standard SCP, SFTP or disk mounts to back up or synchronise large files (such as music, pictures, maps and movies) between a Maemo device and a host PC.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:dialog-information.png]]&lt;br /&gt;
| '''Note:'''  Rsync protocol is also used by several backup and file synchronisation services available from the Internet.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Wikiuser</name></author>	</entry>

	</feed>