aboutsummaryrefslogtreecommitdiffstats
path: root/handbook
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-09-10 12:44:56 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-10 12:44:56 +0100
commit75bffcd47ad9fec334150aab936e727054ff5cc8 (patch)
treecb61605799e44bbb70ea741675fcec2a55a487fa /handbook
parentad30f2cc4e1072ab5b2ec60de08f4d299118a255 (diff)
downloadopenembedded-core-contrib-75bffcd47ad9fec334150aab936e727054ff5cc8.tar.gz
handbook: Drop USB Networking section, its no longer appropriate
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'handbook')
-rw-r--r--handbook/usingpoky.xml86
1 files changed, 0 insertions, 86 deletions
diff --git a/handbook/usingpoky.xml b/handbook/usingpoky.xml
index 50816c9273..ad6bda2545 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'>