Editing Mer/Documentation/USB Networking

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 1: Line 1:
-
{{Mer}}
 
-
 
This is a method to use your PC internet connection on your tablet.
This is a method to use your PC internet connection on your tablet.
Line 7: Line 5:
== Preparation ==  
== Preparation ==  
-
On host, open (with root privileges) file <code>/etc/network/interfaces</code> and add the following at the end of the lines:
+
on host: open (with root privileges) file <code>/etc/network/interfaces</code>
 +
 
 +
add the following at the end of the lines:
 +
 
 +
 
<pre>auto usb0
<pre>auto usb0
Line 19: Line 21:
       down echo 0 > /proc/sys/net/ipv4/ip_forward
       down echo 0 > /proc/sys/net/ipv4/ip_forward
       down iptables -t nat -F POSTROUTING</pre>
       down iptables -t nat -F POSTROUTING</pre>
-
 
-
 
-
(in Mer 0.15testing9, the address line above should be <code>address 192.168.2.14</code> as Mer is hardcoded to use that as a gateway address)
 
== Enter rescue mode ==  
== Enter rescue mode ==  
-
Turn your tablet on. As soon as the Nokia screen appears, press the Home button on your tablet and keep it pressed until the Mer screen appears.
+
Put your tablet on. As soon as the "Nokia" screen appears, press the "home" button of your tablet, the one that is just under the camera, and keep it pressed until the "Mer" screen appears.
Shortly after this screen appeared, the rescue mode will appear. It gives you five choices:<br />
Shortly after this screen appeared, the rescue mode will appear. It gives you five choices:<br />
-
* Start Mer
+
- start Mer;<br />
-
* Activate console
+
- activate console;<br />
-
* Act as an ethernet USB gadget
+
- act as an ethernet USB gadget;<br />
-
* Act as a serial USB tool
+
- act as a serial USB tool;<br />
-
* Reboot
+
- reboot.<br />
-
Select the option that says "act as an ethernet USB gadget". A console screen will scroll, then the Mer screen will appear. Connect the USB cable between your PC and the tablet.
+
Select the option that says "act as an ethernet USB gadget".
-
== Configure your network interface ==
+
A console screen will scroll, then the Mer screen will appear.
-
On host, open a shell, and type:
+
Connect the USB cable between your PC and the Tablet.
-
<pre>modprobe usbnet
+
== configure your network interface ==
-
sudo ifdown usb0
+
 
-
sudo ifup usb0</pre>
+
On host: open a shell, and type
 +
 
 +
<pre>modprobe usbnet</pre>
 +
 
 +
then
 +
 
 +
<pre>sudo ifdown usb0</pre>
 +
 
 +
then
 +
 
 +
<pre>sudo ifup usb0</pre>
You should get no message from the shell.
You should get no message from the shell.
-
== Find your DNS ==  
+
== find your DNS ==  
 +
 
 +
(on host) In Ubuntu, they should be in
-
On host, on Ubuntu, they should be in <code>/etc/resolv.conf</code>.
+
<code>/etc/resolv.conf</code>
-
On the tablet, open the shell, and type
+
On the Tablet: open the shell, and type
<pre>sudo echo nameserver A.B.C.D > /etc/resolv.conf</pre>
<pre>sudo echo nameserver A.B.C.D > /etc/resolv.conf</pre>
-
Where A.B.C.D represent the figures in your DNS. For instance 208.67.222.222 (public nameserver).
+
[where A.B.C.D represent the figures in your DNS. For instance 208.67.222.222 (public nameserver)].
-
== Test by pinging ==
+
== test by pinging ==
-
On host, open a shell, and type
+
on host: open a shell, and type
<pre>ping 192.168.2.2 -c 5</pre>
<pre>ping 192.168.2.2 -c 5</pre>
-
(in Mer 0.15testing9, the address line above should be <code>address 192.168.2.15</code> as Mer is hardcoded to use that as a device address)
+
It should return five lines proving that contact was established with the Tablet.
-
It should return five lines proving that contact was established with the tablet. This means that you are ready to use the internet connection of your computer.
+
This means that you are ready to use the internet connection of your computer.
 +
[[Category:Mer|USB Networking]]

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)

Templates used on this page: