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

	<entry>
		<id>https://wiki.maemo.org/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/Configuration&amp;diff=39631&amp;oldid=prev</id>
		<title>amigadave:&amp;#32;links</title>
		<link rel="alternate" type="text/html" href="https://wiki.maemo.org/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/Configuration&amp;diff=39631&amp;oldid=prev"/>
				<updated>2010-10-20T14:25:01Z</updated>
		
		<summary type="html">&lt;p&gt;links&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 14:25, 20 October 2010&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&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 class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| [[Image:dialog-information.png]]&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;| [[Image:dialog-information.png]]&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: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| '''Note:'''&amp;nbsp; Maemo Diablo N800 and N810 devices do not support PC Suite mode. Due to hardware limitations, Maemo Fremantle device N900 does not support USB Host mode.&lt;/div&gt;&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;| '''Note:'''&amp;nbsp; Maemo Diablo &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Nokia &lt;/ins&gt;N800&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;|N800]] &lt;/ins&gt;and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Nokia N810|&lt;/ins&gt;N810&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/ins&gt;devices do not support PC Suite mode. Due to hardware limitations, Maemo Fremantle device &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Nokia N900|&lt;/ins&gt;N900&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/ins&gt;does not support USB Host mode.&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 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;!-- diff generator: internal 2026-04-03 19:55:25 --&gt;
&lt;/table&gt;</summary>
		<author><name>amigadave</name></author>	</entry>

	<entry>
		<id>https://wiki.maemo.org/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/Configuration&amp;diff=39603&amp;oldid=prev</id>
		<title>amigadave:&amp;#32;wikify slightly</title>
		<link rel="alternate" type="text/html" href="https://wiki.maemo.org/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/Configuration&amp;diff=39603&amp;oldid=prev"/>
				<updated>2010-10-19T12:08:38Z</updated>
		
		<summary type="html">&lt;p&gt;wikify slightly&lt;/p&gt;
&lt;a href=&quot;https://wiki.maemo.org/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/Configuration&amp;amp;diff=39603&amp;amp;oldid=34198&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>amigadave</name></author>	</entry>

	<entry>
		<id>https://wiki.maemo.org/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/Configuration&amp;diff=34198&amp;oldid=prev</id>
		<title>amigadave:&amp;#32;categorize</title>
		<link rel="alternate" type="text/html" href="https://wiki.maemo.org/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/Configuration&amp;diff=34198&amp;oldid=prev"/>
				<updated>2010-05-11T06:04:49Z</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:04, 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;= Configuration =&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;= Configuration =&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 768:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 767:&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;* Change the environment configuration. For example, USB connection and/or X11VNC tool.&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;* Change the environment configuration. For example, USB connection and/or X11VNC tool.&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;* Click on the '''Apply''' button. All configurations, including changes, are saved and applieds&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;* Click on the '''Apply''' button. All configurations, including changes, are saved and applieds&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-03 19:55:27 --&gt;
&lt;/table&gt;</summary>
		<author><name>amigadave</name></author>	</entry>

	<entry>
		<id>https://wiki.maemo.org/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/Configuration&amp;diff=32307&amp;oldid=prev</id>
		<title>dneary:&amp;#32;1 revision</title>
		<link rel="alternate" type="text/html" href="https://wiki.maemo.org/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/Configuration&amp;diff=32307&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-03 19:55:27 --&gt;
&lt;/table&gt;</summary>
		<author><name>dneary</name></author>	</entry>

	<entry>
		<id>https://wiki.maemo.org/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/Configuration&amp;diff=32306&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="https://wiki.maemo.org/index.php?title=Documentation/Maemo_PC_Connectivity_Tutorial/Configuration&amp;diff=32306&amp;oldid=prev"/>
				<updated>2010-04-09T09:05:02Z</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;
= Configuration =&lt;br /&gt;
&lt;br /&gt;
= Connection Establishment =&lt;br /&gt;
&lt;br /&gt;
On a Maemo device, connections can be easily configured using Maemo PC Connectivity applets. It is possible to configure a Maemo device to use USB, Bluetooth and WLAN connection types.&lt;br /&gt;
&lt;br /&gt;
'''USB''' connection type sets a USB mode (Network, Mass Storage or Host) to be used between a Maemo device and a host PC.&lt;br /&gt;
&lt;br /&gt;
'''Bluetooth''' connection type sets a Bluetooth network over TCP/IP between a Maemo device and a host PC.&lt;br /&gt;
&lt;br /&gt;
'''WLAN''' connection type sets a WLAN ad-hoc network between a Maemo device and a host PC.&lt;br /&gt;
&lt;br /&gt;
On the host PC side (Linux, Windows and Mac OS X), the Host PC Connectivity product provides some tools to make it easier to configure the chosen connection type between the Maemo device and the host PC. Next the configuration of each supported connection type (USB, Bluetooth and WLAN) between the Maemo device and host PC are described briefly.&lt;br /&gt;
&lt;br /&gt;
== Configuring USB Network ==&lt;br /&gt;
&lt;br /&gt;
For Maemo Diablo devices, the USB connection has been configured to '''Mass storage''' mode by default. That is, when connected to a host PC via USB cable, the Maemo device is visible as a memory card for the host PC.&lt;br /&gt;
&lt;br /&gt;
For Fremantle, when a Maemo device is connected to the host PC via USB cable, the Maemo device shows a default pop-up menu where the USB mode can be selected. the choices given are '''Mass storage''' or '''PC Suite''' mode. You must NOT use this default USB pop-up menu if you have installed Maemo PC Connectivity to the N900 device! Just click outside this default USB pop-up menu to close it and use Maemo PC Connectivity widgets to change the USB mode.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:dialog-information.png]]&lt;br /&gt;
| '''Note:'''  With the Maemo Fremantle platform and N900 device, if Maemo PC Connectivity has been installed, the USB connection is used in a different way beyond the default '''Mass storage''' and '''PC Suite''' modes and thus ONLY Maemo PC Connectivity applets can be used to change the USB mode for the Maemo N900 device.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For '''USB''' connection type it is possible to set following options for a Maemo device:&lt;br /&gt;
&lt;br /&gt;
; '''Network'''&lt;br /&gt;
: sets a USB network over TCP/IP between the Maemo device and host PC.&lt;br /&gt;
; '''Mass storage'''&lt;br /&gt;
: sets the Maemo device file system to be accessible from the host PC as a memory card.&lt;br /&gt;
; '''PC Suite'''&lt;br /&gt;
: sets the Maemo device to be accessible by Nokia applications like Nokia PC Suite.&lt;br /&gt;
; '''Host'''&lt;br /&gt;
: sets the Maemo device to USB Host mode, where it allows external USB devices (such as hard drives, digital cameras, card readers, input devices, and so on) to be connected to the Maemo device, just like to a regular PC.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:dialog-information.png]]&lt;br /&gt;
| '''Note:'''  Maemo Diablo N800 and N810 devices do not support PC Suite mode. Due to hardware limitations, Maemo Fremantle device N900 does not support USB Host mode.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The description of how to setup a USB connection to Mass storage, PC Suite and Host modes is skipped, since the configuration is simply to select and apply the desired mode on a Maemo device using Maemo PC Connectivity. Next, it is explained how to configure a USB network over TCP/IP between a Maemo device and host PC through Maemo PC Connectivity. Before that, you must install the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;maemo-pc-connectivity&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; meta package on the Maemo device and the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;host-pc-connectivity&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; package on the host PC (Linux, Windows and Mac OS).&lt;br /&gt;
&lt;br /&gt;
=== Configuring USB for Maemo devices ===&lt;br /&gt;
&lt;br /&gt;
To set up a USB network for a Maemo device you need to start PC Connectivity Manager, figure [[#fig:pc_connectivity_mpc_nm_usb_basic|3.1]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;PC Connectivity Manager&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.1:''' PC Connectivity Manager&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_nm_usb_basic.png|Image mpc_maemo_nm_usb_basic]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Follow these steps to enable USB Networking:&lt;br /&gt;
&lt;br /&gt;
* Disconnect the USB cable from Maemo device&lt;br /&gt;
* Run '''Settings - Control Panel - Connectivity - PC Connectivity Manager'''&lt;br /&gt;
* Check '''USB''' option&lt;br /&gt;
* Press '''Apply''' button&lt;br /&gt;
&lt;br /&gt;
* Connect the USB cable to the host PC.&lt;br /&gt;
* Press the '''Advanced''' button and PC Connectivity Manager switches to advanced mode, if you want to change the default values.&lt;br /&gt;
* Change network options such as DHCP Server, IP address, Gateway and Netmask.&lt;br /&gt;
* Click on the '''Apply''' button.&lt;br /&gt;
&lt;br /&gt;
The USB Networking must have the following default values, figure [[#fig:pc_connectivity_mpc_nm_usb|3.2]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;PC Connectivity Manager USB Networking&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.2:''' PC Connectivity Manager USB Networking&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_nm_usb.png|Image mpc_maemo_nm_usb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''DHCP Server:''' &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;enabled&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* '''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;
* '''Gateway:''' &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;
* '''Netmask:''' &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;255.255.255.0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once you have configured your USB Network using PC Connectivity Manager, you can enable or disable it easily by using Connection Switcher from the status bar, figure [[#fig:pc_connectivity_mpc_switcher_usb|3.3]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Connection Switcher dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.3:''' Connection Switcher dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_switcher_usb.png|Image mpc_maemo_switcher_usb]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you prefer, you can follow the steps below to configure USB Network manually for a Maemo device (Diablo):&lt;br /&gt;
&lt;br /&gt;
* Run '''Utilities - X Terminal'''&lt;br /&gt;
* Type &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;sudo gainroot&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* Type &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;insmod /mnt/initfs/lib/modules/2.6.21-omap1/g_ether.ko&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* Edit the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;/etc/network/interfaces&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; file to configure the IP address of the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;usb0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; interface:&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;/etc/network/interfaces&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; file should have following entries in it:&lt;br /&gt;
&lt;br /&gt;
 auto usb0&lt;br /&gt;
 iface usb0 inet static&lt;br /&gt;
 address 192.168.2.15&lt;br /&gt;
 netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
* Type &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;ifup usb0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* Plug in the USB cable&lt;br /&gt;
&lt;br /&gt;
To disable USB Network manually on a Maemo device (Diablo), follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Run '''Utilities - X Terminal'''&lt;br /&gt;
* Type &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;sudo gainroot&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* Type &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;ifdown usb0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* Type &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;rmmod g_ether&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring USB for Linux ===&lt;br /&gt;
&lt;br /&gt;
If you install the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;host-pc-connectivity&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; package, your Linux host PC is ready for USB Network.&lt;br /&gt;
&lt;br /&gt;
Otherwise, you can configure your Linux host PC manually following the steps below:&lt;br /&gt;
&lt;br /&gt;
On Ubuntu, you need to edit the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;/etc/udev/rules.d/85-ifupdown.rules&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; file and replace the following line:&lt;br /&gt;
&lt;br /&gt;
 SUBSYSTEM==&amp;quot;net&amp;quot;, DRIVERS==&amp;quot;?*&amp;quot;, GOTO=&amp;quot;net_start&amp;quot;&lt;br /&gt;
&lt;br /&gt;
with this line:&lt;br /&gt;
&lt;br /&gt;
 SUBSYSTEM==&amp;quot;net&amp;quot;, GOTO=&amp;quot;net_start&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If this workaround is not done, the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;usb0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; interface does not get its IP address back when you unplug and plug back the Maemo device to the host PC. Therefore, you must restart the network manually with the command &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;/etc/init.d/networking restart&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; to get the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;usb0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; IP address back. This is a known issue on Ubuntu (see the related bug report [https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/130437 here]).&lt;br /&gt;
&lt;br /&gt;
On Debian, this workaround is not needed.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to the network configuration file &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;/etc/network/interfaces&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;nowiki&amp;gt;: &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 auto usb0&lt;br /&gt;
 allow-hotplug usb0&lt;br /&gt;
&lt;br /&gt;
 mapping hotplug&lt;br /&gt;
 script grep&lt;br /&gt;
 map usb0&lt;br /&gt;
&lt;br /&gt;
 iface usb0 inet dhcp&lt;br /&gt;
 up iptables -t nat -A POSTROUTING -s 192.168.2.15 -j MASQUERADE&lt;br /&gt;
 up echo 1 &amp;amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 down iptables -t nat -D POSTROUTING -s 192.168.2.15 -j MASQUERADE&lt;br /&gt;
 down echo 0 &amp;amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
You can now connect the USB cable. With this configuration, you ensure that the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;ifup usb0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; command sets up the IP address correctly on the host PC since it is using DHCP. Also, it allows a Maemo device to access the Internet from the host PC through the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;usb0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; interface.&lt;br /&gt;
&lt;br /&gt;
If you are using VMware:&lt;br /&gt;
&lt;br /&gt;
* Connect USB cable.&lt;br /&gt;
* Go to '''VMware - Devices - Netchip RNDIS/Ethernet Gadget''' and click on the '''Connect (Disconnect from host)''' option. If VMware hangs, unplug the USB cable and wait for a short period of time. You get two &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;device in use&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; error messages, one from Native OS and another from VMware (likely because of automatic USB Mass Storage mode).&lt;br /&gt;
* Connect the USB cable. Repeat the previous steps if any problems are encountered.&lt;br /&gt;
&lt;br /&gt;
Invoke the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;sudo ifdown usb0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; and &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;sudo ifup usb0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; commands. The down/up sequence ensures that the host PC attempts to reconnect the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;usb0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; interface.&lt;br /&gt;
&lt;br /&gt;
If this results in a lot of &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;Failed to bring up usb0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; errors, try again a few times. There can be a delay until the host PC and Maemo device become aware of each other. If it does not succeed but no error message is displayed, you can unplug and plug back the USB cable.&lt;br /&gt;
&lt;br /&gt;
Test the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;usb0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; connection with the following command &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;ping 192.168.2.15&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do not get the ping working, try again a few times. This can be an annoying process, especially in VMware where the USB connection may be automatically configured to Mass Storage mode every time you plug the USB cable into the host PC. It may even require restarting VMware in some cases.&lt;br /&gt;
&lt;br /&gt;
=== Configuring USB for Windows ===&lt;br /&gt;
&lt;br /&gt;
In order to get USB Networking funtioning between a Windows host PC and a Diablo Maemo device, you must replace the original Diablo kernel with a new one that fixes some generic Linux USB Networking issues.&lt;br /&gt;
&lt;br /&gt;
To replace the Diablo kernel, follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Download the file &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;diablo_kernel_usbnet_patch_windows_v0.4.zip&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; from [http://tablets-dev.nokia.com/maemo-dev-env-downloads.php Maemo Development Environment Downloads] page.&lt;br /&gt;
* Unzip the file.&lt;br /&gt;
* Replace the Diablo kernel by reflashing it using the flasher-3.5 application from the same [http://tablets-dev.nokia.com/maemo-dev-env-downloads.php Maemo Development Environment Downloads] page.&lt;br /&gt;
&lt;br /&gt;
 $ flasher-3.5 -k diablo_kernel_usbnet_windows/zImage -f -R&lt;br /&gt;
&lt;br /&gt;
Now, you can get USB Network working between a Diablo Maemo device and a Windows host PC.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:dialog-information.png]]&lt;br /&gt;
| '''Note:'''  On Fremantle and the N900 device this kernel fix has already been applied by default.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
After reflashing the kernel to the Maemo Diablo device and installing the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;PC-Connectivity.exe&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; package to the host PC, your Windows host PC is ready for USB Network. That is, Windows detects and configures the Maemo device automatically when you plug in the USB cable. Remember to activate USB Network on your Maemo device before plugging the cable into the Windows host PC.&lt;br /&gt;
&lt;br /&gt;
If you did not enable the '''DHCP''' option for the Maemo device, you need to configure the USB Network address for the host PC through the application available on the Windows Start menu '''Start - Programs - PC-Connectivity - UsbNetworking''', figure [[#fig:pc_connectivity_mpc_win_usb_app|3.4]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;USB Network address on Windows&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.4:''' USB Network address on Windows&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_win_usb_app.png|Image mpc_win_usb_app]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you do not install the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;PC-Connectivity&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; package, you have to configure the USB network manually on your Windows host PC. For that, you must follow the steps below:&lt;br /&gt;
&lt;br /&gt;
* Activate USB Network on the Maemo device.&lt;br /&gt;
* Plug in the USB cable between the Maemo device and the Windows host PC.&lt;br /&gt;
* Windows detects the device.&lt;br /&gt;
&lt;br /&gt;
In the '''Found New Hardware Wizard''', figure [[#fig:pc_connectivity_mpc_win_usb_device_found|3.5]], proceed as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Windows Found New Hardware Wizard&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.5:''' Windows Found New Hardware Wizard&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_win_usb_device_found.png|Image mpc_win_usb_device_found]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Select the '''No, not this time''' option. Click on the '''Next''' button, figure [[#fig:pc_connectivity_mpc_win_usb_device_found|3.5]].&lt;br /&gt;
* Select the '''Install from a list or specific location (Advanced)''' option. Click on the '''Next''' button.&lt;br /&gt;
* Select the '''Don't search, I will choose the driver to install''' option.&lt;br /&gt;
* Click on the '''Next''' button, figure [[#fig:pc_connectivity_mpc_win_usb_choose_driver|3.6]].&lt;br /&gt;
* Select the '''Network adapters''' option. Click on the '''next''' button (optional screen).&lt;br /&gt;
* Select the '''Have disk''' option. Then, Click on the '''Browser''' button, select the driver (&amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;.inf&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; file) and click on the '''OK''' button. The driver is available inside the zip file that was used to fix the Diablo kernel (&amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;diablo_kernel_usbnet_patch_windows_v0.4.zip&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;).&lt;br /&gt;
* Follow the next steps as with a normal driver installation.&lt;br /&gt;
&lt;br /&gt;
The new USB Network interface is available on the '''Start - Network Connections''' menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Windows Search and Installation options for USB&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.6:''' Windows Search and Installation options for USB&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_win_usb_choose_driver.png|Image mpc_win_usb_choose_driver]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:dialog-information.png]]&lt;br /&gt;
| '''Note:'''  If you did NOT choose the DHCP option on the Maemo device, you need to set up the network using the following information: &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;IP address: 192.168.2.14&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;Subnet mask: 255.255.255.0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;, figure [[#fig:pc_connectivity_mpc_win_usb_tcp|3.7]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To check if the connection is working, go to Windows command prompt and type &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;ping 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;
{| summary=&amp;quot;Manual IP Network configuration dialog for USB&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.7:''' Manual IP Network configuration dialog for USB&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_win_usb_tcp.png|Image mpc_win_usb_tcp]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring USB for Mac OS X ===&lt;br /&gt;
&lt;br /&gt;
To enable USB Network to work on Mac OS X you can follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Activate USB network on the Maemo device.&lt;br /&gt;
* Plug in the USB cable between Maemo device and the Mac OS X host PC.&lt;br /&gt;
* The following pop-up should appear, figure [[#fig:pc_connectivity_mpc_mac_usb_pop_up|3.8]].&lt;br /&gt;
* Click on the '''Network Preferences''' button.&lt;br /&gt;
* Click on the '''Apply''' button. Now, you should be able to connect to your Maemo device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;New network interface found pop-up dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.8:''' New network interface found pop-up dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_mac_usb_pop_up.png|Image mpc_mac_usb_pop_up]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:dialog-information.png]]&lt;br /&gt;
| '''Note:'''  If you did not choose the DHCP option on the Maemo device, you need to set up the USB network address manually on '''Network panel'''. For example, &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;IP address: 192.168.2.14&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;Subnet mask: 255.255.255.0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;, figure [[#fig:pc_connectivity_mpc_mac_usb_tcp_properties|3.9]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Network panel configuration dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.9:''' Network panel configuration dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_mac_usb_tcp_properties.png|Image mpc_mac_usb_tcp_properties]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring Bluetooth Network ==&lt;br /&gt;
&lt;br /&gt;
With Maemo PC Connectivity, you can configure a Bluetooth network between a Maemo device and a host PC by setting up connection attributes like IP address, network mask, and so on. For that, you have to first install Maemo PC Connectivity to the Maemo device and Host PC Connectivity to the host PC (Linux, Windows or Mac OS X).&lt;br /&gt;
&lt;br /&gt;
=== Configuring Bluetooth for Maemo device ===&lt;br /&gt;
&lt;br /&gt;
In order to set up a Bluetooth network for a 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;
* Select an environment or create a new one.&lt;br /&gt;
* Select the '''Bluetooth''' option as shown in Figure [[#fig:pc_connectivity_mpc_maemo_nm_bluetooth|3.10]].&lt;br /&gt;
* Click on '''Search''' to find the host PC.&lt;br /&gt;
* Once the host PC is found, mark its name and then click '''Select''', figure [[#fig:pc_connectivity_mpc_maemo_nm_bluetooth_search|3.11]].&lt;br /&gt;
* The default settings are presented below, you can change them if needed.&lt;br /&gt;
* Finally, click on '''Apply''' to enable the Bluetooth network.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;PC Connectivity Manager Bluetooth configuration&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.10:''' PC Connectivity Manager Bluetooth configuration&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_nm_bluetooth.png|Image mpc_maemo_nm_bluetooth]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Default values for Maemo device Bluetooth configuration are:&lt;br /&gt;
&lt;br /&gt;
* '''DHCP Server:''' &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;enabled&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* '''IP address:''' &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;192.168.3.15&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* '''Gateway:''' &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;192.168.3.14&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* '''Netmask:''' &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;255.255.255.0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* '''Bluetooth address:''' empty (you should search the host PC to connect to), figure [[#fig:pc_connectivity_mpc_maemo_nm_bluetooth_search|3.11]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Searching Bluetooth devices dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.11:''' Searching Bluetooth devices dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_nm_bluetooth_search.png|Image mpc_maemo_nm_bluetooth_search]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you have configured your Bluetooth Network using PC Connectivity Manager, you can enable or disable it easily by using Connection Switcher from the status bar, figure [[#fig:pc_connectivity_mpc_maemo_switcher_bluetooth|3.12]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Connection Switcher dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.12:''' Connection Switcher dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_switcher_bluetooth.png|Image mpc_maemo_switcher_bluetooth]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring Bluetooth for Linux ===&lt;br /&gt;
&lt;br /&gt;
After you have installed the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;host-pc-connectivity&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; package for your Linux host PC, it is ready for the Bluetooth network.&lt;br /&gt;
&lt;br /&gt;
Or you can configure your Linux host PC manually for Bluetooth following the steps given below.&lt;br /&gt;
&lt;br /&gt;
Add these lines to the file &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;/etc/network/interfaces&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;nowiki&amp;gt;: &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 auto bnep0&lt;br /&gt;
 iface bnep0 inet dhcp&lt;br /&gt;
 up iptables -t nat -A POSTROUTING -s 192.168.3.15 -j MASQUERADE&lt;br /&gt;
 up echo 1 &amp;amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 down iptables -t nat -D POSTROUTING -s 192.168.3.15 -j MASQUERADE&lt;br /&gt;
 down echo 0 &amp;amp;gt; /proc/sys/net/ipv4/ip_forward&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/default/bluetooth&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; and change these lines:&lt;br /&gt;
&lt;br /&gt;
 BLUETOOTH_ENABLED=1&lt;br /&gt;
 ...&lt;br /&gt;
 PAND_ENABLED=1&lt;br /&gt;
 ...&lt;br /&gt;
 PAND_OPTIONS=&amp;quot;-listen -role=NAP -e bnep0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart the Bluetooth service with the command:&lt;br /&gt;
&lt;br /&gt;
 $ sudo /etc/init.d/bluetooth restart&lt;br /&gt;
&lt;br /&gt;
Now your Linux host PC is ready for the Bluetooth network.&lt;br /&gt;
&lt;br /&gt;
=== Configuring Bluetooth for Windows ===&lt;br /&gt;
&lt;br /&gt;
The description of how to configure Bluetooth on a Windows host PC is based on [http://www.bluesoleil.com/ the BlueSoleil application]. BlueSoleil is one of the most popular Windows Bluetooth applications. If you do not use BlueSoleil, the screenshots below can differ from what you see in your host PC, but they can help in understanding what you need to change on your Windows configuration.&lt;br /&gt;
&lt;br /&gt;
You should follow the next steps to get the Bluetooth network configured in your Windows host PC (with BlueSoleil).&lt;br /&gt;
&lt;br /&gt;
* In the '''System tray''', right click on the Bluetooth icon .&lt;br /&gt;
* Select the '''Bluetooth Configuration''' option, figure [[#fig:pc_connectivity_mpc_win_bluetooth_tray|3.13]].&lt;br /&gt;
* In the '''Bluetooth Configuration''' dialog, select the '''Accessibility''' tab.&lt;br /&gt;
* Check the '''Let other Bluetooth devices discover this computer''' option, figure [[#fig:pc_connectivity_mpc_win_bluetooth_accessibility|3.14]].&lt;br /&gt;
* In the '''Bluetooth Configuration''' dialog, select the '''Local Services''' tab.&lt;br /&gt;
* Mark the '''Network Access''' service and click the '''Properties...''' button, figure [[#fig:pc_connectivity_mpc_win_bluetooth_services|3.15]].&lt;br /&gt;
* If you want to share Internet over Bluetooth, select '''Allow other devices to access the Internet/LAN via this computer''' on the '''Select the type of the service to offer remote devices''' option.&lt;br /&gt;
* Click on the '''Configure Network Adapter''' button, figure [[#fig:pc_connectivity_mpc_win_bluetooth_properties|3.16]].&lt;br /&gt;
* Double click on the '''Internet Protocol (TCP/IP)''' option, figure [[#fig:pc_connectivity_mpc_win_bluetooth_network|3.17]].&lt;br /&gt;
* For all opened dialogs, press the '''OK''' button.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:dialog-information.png]]&lt;br /&gt;
| '''Note:'''  If you did not choose the DHCP option on the Maemo device, type the following information for the network adapter: &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;IP address: 192.168.3.14&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;Subnet mask: 255.255.255.0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;, figure [[#fig:pc_connectivity_mpc_win_bluetooth_tcp|3.18]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Bluetooth configuration menu&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.13:''' Bluetooth configuration menu&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_win_bluetooth_tray.png|Image mpc_win_bluetooth_tray]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Bluetooth Accessibility dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.14:''' Bluetooth Accessibility dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_win_bluetooth_accessibility.png|Image mpc_win_bluetooth_accessibility]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Bluetooth Network Access entry&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.15:''' Bluetooth Network Access entry&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_win_bluetooth_services.png|Image mpc_win_bluetooth_services]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Bluetooth Properties dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.16:''' Bluetooth Properties dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_win_bluetooth_properties.png|Image mpc_win_bluetooth_properties]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Bluetooth Network properties dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.17:''' Bluetooth Network properties dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_win_bluetooth_network.png|Image mpc_win_bluetooth_network]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Network Adapter configuration dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.18:''' Network Adapter configuration dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_win_bluetooth_tcp.png|Image mpc_win_bluetooth_tcp]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring Bluetooth for Mac OS X ===&lt;br /&gt;
&lt;br /&gt;
After installing the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;PC-Connectivity&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; package to the host PC, your Mac OS X is ready for the Bluetooth network.&lt;br /&gt;
&lt;br /&gt;
Otherwise, you can configure your Mac OS host PC manually by following these steps.&lt;br /&gt;
&lt;br /&gt;
* Go to '''System Preferences''' and click on the '''Network''' icon, figure [[#fig:pc_connectivity_mpc_mac_bluetooth_network_preferences|3.19]].&lt;br /&gt;
* Add a new network interface, figure [[#fig:pc_connectivity_mpc_mac_bluetooth_network_add|3.20]].&lt;br /&gt;
* For the '''Interface''' field, select '''Bluetooth PAN''' type.&lt;br /&gt;
* For the '''Service Name''' field, write the interface name, figure [[#fig:pc_connectivity_mpc_mac_bluetooth_network_name|3.21]].&lt;br /&gt;
* Press the '''Apply''' button.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:dialog-information.png]]&lt;br /&gt;
| '''Note:'''  If you did not choose the DHCP option on the Maemo device, select the newly created '''Bluetooth PAN''' interface and use the '''Manually''' option in the '''Configure''' field. After that, type the following information: &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;IP address: 192.168.3.14&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;Subnet mask: 255.255.255.0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;, figure [[#fig:pc_connectivity_mpc_mac_bluetooth_network_tcp|3.22]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;System Preferences dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.19:''' System Preferences dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_mac_bluetooth_network_preferences.png|Image mpc_mac_bluetooth_network_preferences]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Adding new network interface&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.20:''' Adding new network interface&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_mac_bluetooth_network_add.png|Image mpc_mac_bluetooth_network_add]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Configuring new Bluetooth interface name&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.21:''' Configuring new Bluetooth interface name&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_mac_bluetooth_network_name.png|Image mpc_mac_bluetooth_network_name]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Configuring Bluetooth interface network&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.22:''' Configuring Bluetooth interface network&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_mac_bluetooth_network_tcp.png|Image mpc_mac_bluetooth_network_tcp]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring a WLAN ad-hoc Network ==&lt;br /&gt;
&lt;br /&gt;
With Maemo PC Connectivity, you can configure a WLAN ad-hoc network for your Maemo device. You can set up connection attributes such as IP address, network mask, and so on.&lt;br /&gt;
&lt;br /&gt;
=== Configuring WLAN ad-hoc for a Maemo device ===&lt;br /&gt;
&lt;br /&gt;
To set up a WLAN ad-hoc network for your Maemo device, you need to perform the following configuration steps.&lt;br /&gt;
&lt;br /&gt;
In Control Panel, open the PC Connectivity Manager widget, figure [[#fig:pc_connectivity_mpc_maemo_nm_wlan_basic|3.23]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;PC Connectivity Manager - basic mode&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.23:''' PC Connectivity Manager - basic mode&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_nm_wlan_basic.png|Image mpc_maemo_nm_wlan_basic]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select the '''WLAN''' check-box and press the '''Apply''' button. A new WLAN ad-hoc connection is created with the following configuration:&lt;br /&gt;
&lt;br /&gt;
* '''DHCP Server:''' &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;Enabled&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* '''IP Address:''' &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;192.168.4.14&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* '''Gateway:''' &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;192.168.4.15&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* '''Netmask:''' &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;255.255.255.0&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* '''Essid:''' &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;devel_adhoc&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* '''WEP:''' key empty&lt;br /&gt;
&lt;br /&gt;
If you want to change these default values, press the '''Advanced''' button, go to '''WLAN ad-hoc''' connection type and change the values. Then, press the '''Apply''' button, figure [[#fig:pc_connectivity_mpc_maemo_nm_wlan|3.24]].&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:dialog-information.png]]&lt;br /&gt;
| '''Note:'''  By default, the WEP key is not used for new WLAN networks but for security reasons it is highly recommended to set also the wireless key.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The WEP key must have 5, 10 or 13 characters (For example: &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;aaaaa&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;PC Connectivity Manager - advanced mode&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.24:''' PC Connectivity Manager - advanced mode&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_nm_wlan.png|Image mpc_maemo_nm_wlan]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you have configured your WLAN ad-hoc Network using PC Connectivity Manager, you can enable or disable it easily using Connection Switcher from the status bar, figure [[#fig:pc_connectivity_mpc_maemo_switcher_wlan|3.25]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Connection Switcher dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.25:''' Connection Switcher dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_switcher_wlan.png|Image mpc_maemo_switcher_wlan]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring WLAN ad-hoc for Linux ===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;iwconfig&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; command is the configuration utility in Linux for WLAN interfaces. It is used to set the parameters of the network interface, which are specific to the wireless operation. The &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;iwconfig&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; command may also be used to display the parameters and the wireless network statistics. It extracts this information from the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;/proc/net/wireless&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; file. By typing the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;iwconfig&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; command without any arguments, it displays the current status of all wireless interfaces on the system.&lt;br /&gt;
&lt;br /&gt;
To configure your host PC to connect with your Maemo device using a WLAN ad-hoc network, you should execute the following steps as &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; user:&lt;br /&gt;
&lt;br /&gt;
 $ ifconfig wlan0 up&lt;br /&gt;
 $ iwconfig wlan0 mode Ad-Hoc&lt;br /&gt;
 $ iwconfig wlan0 essid devel_adhoc&lt;br /&gt;
 $ iwconfig wlan0 key off&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:dialog-information.png]]&lt;br /&gt;
| '''Note:'''  The example below disables the usage of wireless key, but for security reasons it is highly recommended to set also the wireless key.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To set the wireless key for your WLAN ad-hoc network, you should give the following command (using your own key value).&lt;br /&gt;
&lt;br /&gt;
 $ iwconfig wlan0 key 6161616161&lt;br /&gt;
&lt;br /&gt;
You must use the same WEP key you used for Maemo device configuration, but as hexadecimal digits (for example, &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;aaaaa&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; is &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;6161616161&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; in hexadecimal).&lt;br /&gt;
&lt;br /&gt;
=== Configuring WLAN ad-hoc for Windows ===&lt;br /&gt;
&lt;br /&gt;
To set up a WLAN ad-hoc network that allows others computers to connect to your Windows host PC, follow these steps.&lt;br /&gt;
&lt;br /&gt;
* Connect your Maemo device to &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;devel_adhoc&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;.&lt;br /&gt;
* In the '''System Tray''', right click on the wireless icon. Select the '''View Available Wireless Networks''' option, figure [[#fig:pc_connectivity_mpc_win_wlan_tray|3.26]].&lt;br /&gt;
* The '''Wireless Network Connection''' window displays the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;devel_adhoc&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; network on the list. If you do not see &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;devel_adhoc&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;, click '''Refresh network list''' in the upper left corner, figure [[#fig:pc_connectivity_mpc_win_wlan_selection|3.27]].&lt;br /&gt;
* Select &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;devel_adhoc&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;, and then click on the '''Connect''' button.&lt;br /&gt;
* If you configured the '''WEP Key''' for your Maemo device, the Windows asks you to write that key at this point, figure [[#fig:pc_connectivity_mpc_win_wlan_key|3.28]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;View Available Wireless Networks menu&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.26:''' View Available Wireless Networks menu&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_win_wlan_tray.png|Image mpc_win_wlan_tray]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Choose a wireless network dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.27:''' Choose a wireless network dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_win_wlan_selection.png|Image mpc_win_wlan_selection]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Wireless network key dialog&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.28:''' Wireless network key dialog&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_win_wlan_key.png|Image mpc_win_wlan_key]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring WLAN ad-hoc for Mac OS X ===&lt;br /&gt;
&lt;br /&gt;
To configure a WLAN ad-hoc network for your Mac OS X host PC, follow these steps.&lt;br /&gt;
&lt;br /&gt;
* Connect your maemo device to &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;devel_adhoc&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt;.&lt;br /&gt;
* On the '''Menu Bar''', click on the wireless icon and select the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;devel_adhoc&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; network.&lt;br /&gt;
* If you configured '''WEP Key''' for your Maemo device, the Mac OS X asks you to write that key at this point.&lt;br /&gt;
* The wireless icon should change to inform that it is now connected.&lt;br /&gt;
&lt;br /&gt;
= Using Configuration Environments =&lt;br /&gt;
&lt;br /&gt;
With Maemo PC Connectivity, it is possible to use configuration environments for your Maemo device. For example, you can create an environment named &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;Home&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; that has the USB connection and the NFS disk mounts configured, and an environment named &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;Office&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; that has the WLAN connection and the SBRSH tool configured. When you are at home you can select a &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;Home&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; environment for your Maemo device and all previously stored connection and tool configurations in the &amp;lt;span&amp;gt;&amp;lt;font face=&amp;quot;monospace&amp;quot;&amp;gt;Home&amp;lt;/font&amp;gt;&amp;lt;/span&amp;gt; environment are restored for your Maemo device.&lt;br /&gt;
&lt;br /&gt;
To create or modify new configuration environments for your Maemo device you need to launch the Environment Manager widget, figure [[#fig:pc_connectivity_mpc_maemo_nm_env_create|3.29]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Environment Manager&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.29:''' Environment Manager&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_nm_env_create.png|Image mpc_maemo_nm_env_create]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To create a new environment 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;
* Click on the '''...''' button.&lt;br /&gt;
* Click on the '''New''' button.&lt;br /&gt;
* Set the environment name. For example, '''Home''', and click on the '''Ok''' button.&lt;br /&gt;
* Configure connections and tools to be used with this environment. For example, USB connection and NFS tool.&lt;br /&gt;
* Click on the '''Save''' button.&lt;br /&gt;
&lt;br /&gt;
After you have created new environments, you can switch between them using the Connection Switcher widget, figure [[#fig:pc_connectivity_mpc_maemo_switcher_env|3.30]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;Connection Switcher&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.30:''' Connection Switcher&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_switcher_env.png|Image mpc_maemo_switcher_env]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To change between stored environments using Connection Switcher:&lt;br /&gt;
&lt;br /&gt;
* Run Connection Switcher from the status bar.&lt;br /&gt;
* Select an environment.&lt;br /&gt;
&lt;br /&gt;
All stored configuration information for the chosen environment are applied to the Maemo device.&lt;br /&gt;
&lt;br /&gt;
Also, the PC Connectivity Manager widget can be used to switch between stored environments, figure [[#fig:pc_connectivity_mpc_maemo_nm_env_basic|3.31]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;PC Connectivity Manager - Basic mode&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.31:''' PC Connectivity Manager - Basic mode&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_nm_env_basic.png|Image mpc_maemo_nm_env_basic]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run '''Settings - Control Panel - Connectivity - PC Connectivity Manager'''.&lt;br /&gt;
* Select an environment.&lt;br /&gt;
* Click on the '''Apply''' button.&lt;br /&gt;
&lt;br /&gt;
You can modify stored configuration environments with the PC Connectivity Manager widget in its '''Advanced''' mode, figure [[#fig:pc_connectivity_mpc_maemo_nm_env_advanced|3.32]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| summary=&amp;quot;PC Connectivity Manager - Advanced mode&amp;quot;&lt;br /&gt;
|+ align=&amp;quot;BOTTOM&amp;quot; |'''Figure 3.32:''' PC Connectivity Manager - Advanced mode&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[Image:mpc_maemo_nm_env.png|Image mpc_maemo_nm_env]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&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;
* Change the environment configuration. For example, USB connection and/or X11VNC tool.&lt;br /&gt;
* Click on the '''Apply''' button. All configurations, including changes, are saved and applieds&lt;/div&gt;</summary>
		<author><name>Wikiuser</name></author>	</entry>

	</feed>