From 428db7b30d19eca102bdb463000436f8078334ab Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Fri, 29 Aug 2008 19:03:14 +0000 Subject: web commit by zhengda --- community/howto.mdwn | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/community/howto.mdwn b/community/howto.mdwn index 0270a2d2..e067f77e 100644 --- a/community/howto.mdwn +++ b/community/howto.mdwn @@ -12,9 +12,9 @@ is included in the section entitled This document briefly introduces how to set up the virtual network and connect the subhurd with the main hurd. -1. Set up the virtual network. +### 1. Set up the virtual network. -1.1 Patch and install GNU Hurd, GNU Mach and the GNU C library. +####1.1 Patch and install GNU Hurd, GNU Mach and the GNU C library. Step 1: Get the Hurd and compile it. @@ -31,7 +31,7 @@ Step 3: apply the [patch](http://www.assembla.com/spaces/VNetHurd/documents/aJid This patch enables the user to override the default socket server by using the environment variables SOCK_SERV_DIR or SOCK_SERV_%d (%d is the domain of the socket server). -1.2 Set up the Hurd components to build the virtual network. +#### 1.2 Set up the Hurd components to build the virtual network. In this section, I show how to create two virtual interfaces and run three pfinet servers. I assume that the source code of Hurd is in /root/hurd. @@ -64,7 +64,7 @@ Step 8: setup the pfinet server on the virtual network device. # settrans -afgc /root/socket2/2 /root/hurd/pfinet/pfinet -i /dev/fveth1 -a 192.168.8.12 -g 192.168.8.1 -m 255.255.255.0 -1.3 Run the command with the customized pfinet server. +#### 1.3 Run the command with the customized pfinet server. Step 9: Set environment variables to use the customized pfinet server. @@ -81,7 +81,7 @@ We can run any command now, for example, ping. A SHELL script is provided to run all translators I mentioned automatically: http://www.assembla.com/spaces/VNetHurd/documents/c2W71ABser3AIxab7jnrAJ/download/runmultiplexer. To use this script, the user must specify the source of the hurd tree (the default value is /root/hurd) and the path of the servers (the default value is /root) where they should be created. This script is only used to test all translators I mentioned above and shows all steps to set up the virtual network. -2. Connect the subhurd with the main hurd. +### 2. Connect the subhurd with the main hurd. In the main hurd, we still need to do Step 1-9. We run subhurd, -- cgit v1.2.3