Mer/Documentation/USB Networking

This is a method to use your PC internet connection on your tablet.

This was tried with an N810 with an Ubuntu laptop.

1) refer to the instructions given here []:

1.1) on host: on file rc.local, you want to UNcomment the line

echo host > /sys/devices/platform/musb_hdrc/mode

(ie you must add a "#" sign in front of this line). If you can't see this line, that is fine, move on to the next section.

1.2) on host: open (with root privileges) file /etc/network/interfaces

add the following at the end of the lines:

auto usb0 iface usb0 inet static address 192.168.2.1 netmask 255.255.255.0 broadcast 192.168.2.255 up echo 1 > /proc/sys/net/ipv4/ip_forward up iptables -P FORWARD ACCEPT up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.2.0/24 down echo 0 > /proc/sys/net/ipv4/ip_forward down iptables -t nat -F POSTROUTING

2) 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: - start Mer; - activate console; - act as an ethernet USB gadget; - act as a serial USB tool; - reboot.

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.

3) on host: open a shell, and type

modprobe usbnet

then

sudo ifdown usb0

then

sudo ifup usb0

You should get no message from the shell.

4) on host: find your DNS. In Ubuntu, they should be in

/etc/resolv.conf

5) on the Tablet: open the shell, and type

sudo echo nameserver A.B.C.D > /etc/resolv.conf

[where A.B.C.D represent the figures in your DNS.

6) on host: open a shell, and type

ping 192.168.2.2 -c 5

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.