]> code.ossystems Code Review - openembedded-core.git/commitdiff
handbook: Drop USB Networking section, its no longer appropriate
authorRichard Purdie <rpurdie@linux.intel.com>
Fri, 10 Sep 2010 11:44:56 +0000 (12:44 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 10 Sep 2010 11:44:56 +0000 (12:44 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
handbook/usingpoky.xml

index 50816c927379406f24c0c454b22f85d3db617c3c..ad6bda25459bfd3d2148e8814d2907cadb9de39c 100644 (file)
@@ -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'>