From 75bffcd47ad9fec334150aab936e727054ff5cc8 Mon Sep 17 00:00:00 2001
From: Richard Purdie <rpurdie@linux.intel.com>
Date: Fri, 10 Sep 2010 12:44:56 +0100
Subject: handbook: Drop USB Networking section, its no longer appropriate

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
---
 handbook/usingpoky.xml | 86 --------------------------------------------------
 1 file changed, 86 deletions(-)

(limited to 'handbook')

diff --git a/handbook/usingpoky.xml b/handbook/usingpoky.xml
index 50816c927..ad6bda254 100644
--- a/handbook/usingpoky.xml
+++ b/handbook/usingpoky.xml
@@ -159,92 +159,6 @@ $ bitbake qemu-native
         board/machine documentation for information about how to install these images.
     </para>
 
-    <section id='usingpoky-install-usbnetworking'>
-        <title>USB Networking</title>
-
-        <para>
-            Devices commonly have USB connectivity. To connect to the usbnet interface, on 
-            the host machine run:
-        </para>
-        <para>
-            <programlisting>
-modprobe usbnet
-ifconfig usb0 192.168.0.200
-route add 192.168.0.202 usb0 
-</programlisting>
-        </para>
-    </section>
-
-    <section id='usingpoky-install-qemu-networking'>
-        <title>QEMU/USB networking with IP masquerading</title>
-
-        <para>
-            On Ubuntu, Debian or similar distributions you can have the network automatically 
-            configured. You can also enable masquerading between the QEMU system and the rest 
-            of your network. To do this you need to edit <filename>/etc/network/interfaces</filename> to include:
-        </para>
-
-        <para><programlisting>
-allow-hotplug tap0
-iface tap0 inet static
-        address 192.168.7.200
-        netmask 255.255.255.0
-        network 192.168.7.0
-        post-up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.0/24
-        post-up echo 1 > /proc/sys/net/ipv4/ip_forward
-        post-up iptables -P FORWARD ACCEPT
-</programlisting>
-        </para>
-
-        <para>
-            This ensures the tap0 interface will be up everytime you run QEMU
-            and it will have network/internet access.
-        </para>
-
-        <para>
-            Under emulation there are two steps to configure for internet access
-            via tap0. The first step is to configure routing:
-        </para>
-
-        <para><programlisting>
-route add default gw 192.168.7.200 tap0
-</programlisting>
-        </para>
-
-        <para>
-            The second is to configure name resolution which is configured in the 
-            <filename>/etc/resolv.conf</filename> file. The simplest solution is 
-            to copy its content from the host machine.
-        </para>
-
-        <para>
-            USB connections to devices can be set up and automated in a similar way.
-            First add the following to
-            <filename>/etc/network/interfaces</filename>:
-        </para>
-
-        <para><programlisting>
-allow-hotplug usb0
-iface usb0 inet static
-        address 192.168.0.200
-        netmask 255.255.255.0
-        network 192.168.0.0
-        post-up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
-        post-up echo 1 > /proc/sys/net/ipv4/ip_forward
-        post-up iptables -P FORWARD ACCEPT
-</programlisting>
-        </para>
-
-        <para>
-            and then to configure routing on the device you would use:
-        </para>
-
-        <para><programlisting>
-route add default gw 192.168.0.202 usb0
-</programlisting>
-        </para>
-
-    </section>
 </section>
 
 <section id='usingpoky-debugging'>
-- 
cgit v1.2.3