Editing Documentation/Maemo PC Connectivity Tutorial/Network Sharing

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 7: Line 7:
* Run '''Settings - Control Panel - Connectivity - PC Connectivity Manager'''.
* Run '''Settings - Control Panel - Connectivity - PC Connectivity Manager'''.
* Click on the '''Advanced''' button.
* Click on the '''Advanced''' button.
-
* Select the '''Internet''' connection type, figure [[#figure-pc_connectivity_network_sharing_mpc_maemo_nm_internet_sharing|4.1]].
+
* Select the '''Internet''' connection type, figure [[#fig:pc_connectivity_network_sharing_mpc_maemo_nm_internet_sharing|4.1]].
* With the '''Connect Using''' option, you can choose from which interface (WLAN, WLAN adhoc, USB or Bluetooth) the Maemo device accesses the network.
* With the '''Connect Using''' option, you can choose from which interface (WLAN, WLAN adhoc, USB or Bluetooth) the Maemo device accesses the network.
* With the '''Share internet connection with''' option, you can choose the interfaces (WLAN, USB and/or Bluetooth) with which to share the Internet.
* With the '''Share internet connection with''' option, you can choose the interfaces (WLAN, USB and/or Bluetooth) with which to share the Internet.
* Click on the '''Apply''' button.
* Click on the '''Apply''' button.
-
<div id="figure-pc_connectivity_network_sharing_mpc_maemo_nm_internet_sharing">
+
{| summary="PC Connectivity Manager - Internet Sharing"
-
[[Image:mpc_maemo_nm_internet_sharing.png|frame|center|alt=Screenshot of Internet sharing dialog in PC connectivity manager|Figure 4.1: PC Connectivity Manager - Internet Sharing]]
+
|+ align="BOTTOM" |'''Figure 4.1:''' PC Connectivity Manager - Internet Sharing
-
</div>
+
|-
 +
|
 +
[[Image:mpc_maemo_nm_internet_sharing.png|Image mpc_maemo_nm_internet_sharing]]
 +
|}
== Sharing network from Linux ==
== Sharing network from Linux ==
Line 20: Line 23:
After you have installed the <code>host-pc-connectivity</code> package to your Linux host PC, you can automatically share an Internet network connection from your Linux host PC to a Maemo device.
After you have installed the <code>host-pc-connectivity</code> package to your Linux host PC, you can automatically share an Internet network connection from your Linux host PC to a Maemo device.
-
If you want, you can configure sharing from your Linux host PC manually. Suppose you have an Internet connection through an ethernet cable interface, normally <code>eth0</code>. You can share this network connection with any other interface (USB, Bluetooth and/or WLAN) by executing the following commands:
+
If you want, you can configure sharing from your Linux host PC manually. Suppose you have an Internet connection through an ethernet cable interface, normally <span><font face="monospace">eth0</font></span>. You can share this network connection with any other interface (USB, Bluetooth and/or WLAN) by executing the following commands:
  $ iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
  $ iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Line 54: Line 57:
* Select the '''Properties''' option.
* Select the '''Properties''' option.
* Select the '''Advanced''' tab.
* Select the '''Advanced''' tab.
-
* Under '''Internet Connection Sharing''', select the '''Allow other network users to connect through this computer's Internet connection''' check-box, figure [[#figure-pc_connectivity_mpc_win_internet_sharing|4.2]].
+
* Under '''Internet Connection Sharing''', select the '''Allow other network users to connect through this computer's Internet connection''' check-box, figure [[#fig:pc_connectivity_mpc_win_internet_sharing|4.2]].
* Click on the '''OK''' button.
* Click on the '''OK''' button.
-
<div id="figure-pc_connectivity_mpc_win_internet_sharing">
+
{| summary="Local Area Connection Properties dialog"
-
[[Image:mpc_win_internet_sharing.png|frame|center|alt=Screenshot of properties dialog|'''Figure 4.2:''' Local Area Connection Properties dialog]]
+
|+ align="BOTTOM" |'''Figure 4.2:''' Local Area Connection Properties dialog
-
</div>
+
|-
 +
|
 +
[[Image:mpc_win_internet_sharing.png|Image mpc_win_internet_sharing]]
 +
|}
== Sharing network from Mac OS X ==
== Sharing network from Mac OS X ==
Line 65: Line 71:
To share the Internet network from your Mac OS X host PC, you should follow these steps:
To share the Internet network from your Mac OS X host PC, you should follow these steps:
-
* Go to '''System Preferences''' and click on the '''Sharing''' icon, figure [[#figure-pc_connectivity_mpc_mac_internet_sharing_preferences|4.3]].
+
* Go to '''System Preferences''' and click on the '''Sharing''' icon, figure [[#fig:pc_connectivity_mpc_mac_internet_sharing_preferences|4.3]].
* Select the '''Internet Sharing''' service.
* Select the '''Internet Sharing''' service.
-
* From '''Share your connection from''', select the interface that has an Internet connection. For example, ''AirPort'', figure [[#figure-pc_connectivity_mpc_mac_internet_sharing_properties|4.4]].
+
* From '''Share your connection from''', select the interface that has an Internet connection. For example, ''AirPort'', figure [[#fig:pc_connectivity_mpc_mac_internet_sharing_properties|4.4]].
* From '''To computers using''', check the interfaces you want to share the Internet with. For example, '''Bluetooth PAN'''.
* From '''To computers using''', check the interfaces you want to share the Internet with. For example, '''Bluetooth PAN'''.
* Enable the '''Internet Sharing''' check-box.
* Enable the '''Internet Sharing''' check-box.
-
<div id="figure-pc_connectivity_mpc_mac_internet_sharing_preferences">
+
{| summary="System Preferences dialog"
-
[[Image:mpc_mac_internet_sharing_preferences.png|frame|center|alt=Screenshot of system preferences dialog|Figure 4.3: System Preferences dialog]]
+
|+ align="BOTTOM" |'''Figure 4.3:''' System Preferences dialog
-
</div>
+
|-
 +
|
 +
[[Image:mpc_mac_internet_sharing_preferences.png|Image mpc_mac_internet_sharing_preferences]]
 +
|}
-
<div id="figure-pc_connectivity_mpc_mac_internet_sharing_properties">
+
{| summary="Network Sharing dialog"
-
 
+
|+ align="BOTTOM" |'''Figure 4.4:''' Network Sharing dialog
-
[[Image:mpc_mac_internet_sharing_properties.png|frame|center|alt=Screenshot of network sharing dialog|'''Figure 4.4:''' Network Sharing dialog]]
+
|-
-
</div>
+
|
 +
[[Image:mpc_mac_internet_sharing_properties.png|Image mpc_mac_internet_sharing_properties]]
 +
|}
[[Category:Documentation]]
[[Category:Documentation]]

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)