summaryrefslogtreecommitdiff
path: root/community/howto.mdwn
diff options
context:
space:
mode:
authorGNU Hurd wiki engine <web-hurd@gnu.org>2008-08-29 19:03:14 +0000
committerGNU Hurd wiki engine <web-hurd@gnu.org>2008-08-29 19:03:14 +0000
commit428db7b30d19eca102bdb463000436f8078334ab (patch)
tree8188de6e6a251023f0194afc6c96aeea09022306 /community/howto.mdwn
parent97414a27d9d8ec63d0301dee7dd7e6448a89d911 (diff)
web commit by zhengda
Diffstat (limited to 'community/howto.mdwn')
-rw-r--r--community/howto.mdwn10
1 files 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,