summaryrefslogtreecommitdiff
path: root/Hurd
diff options
context:
space:
mode:
authorJoachim Nilsson <joachim@gnufans.org>2005-04-17 13:13:35 +0000
committerJoachim Nilsson <joachim@gnufans.org>2005-04-17 13:13:35 +0000
commit59d55f45fc80da6715fd19abc5b97de35355deec (patch)
tree16b8f21836240ce0d2a843629516d3979bab682c /Hurd
parent74c50a8a269c36afb7f911096ac754c2736f5863 (diff)
none
Diffstat (limited to 'Hurd')
-rw-r--r--Hurd/GetNetworkRunning.mdwn17
1 files changed, 14 insertions, 3 deletions
diff --git a/Hurd/GetNetworkRunning.mdwn b/Hurd/GetNetworkRunning.mdwn
index c99dd133..6f549a8e 100644
--- a/Hurd/GetNetworkRunning.mdwn
+++ b/Hurd/GetNetworkRunning.mdwn
@@ -1,11 +1,22 @@
-First, make sure that Mach recognizes your hardware. If it doesn't, you have to recompile it in most cases.
+## <a name="How_to_setup_networking_in_the_H"> How to setup networking in the Hurd </a>
+
+First, make sure that Mach recognizes your hardware. If it doesn't, you have to recompile it in most cases. [ADD LINK TO INFO ON THIS]
+
+### <a name="The_PFINET_translator"> </a> The PFINET translator
To configure the network, the `pfinet` (Protocol Family Internet) translator must be configured. This is done using the `settrans` command to attach a translator to a given file system node. When programs access the node by, for example, sending an RPC, the Hurd will transparently start the server to handle the request.
# settrans -fgap /servers/socket/2 /hurd/pfinet -i eth0 \
- -a 192.168.0.50 -g 192.168.0.1 -m 255.255.255.0
+ -a 192.168.0.50 -g 192.168.0.1 -m 255.255.255.0
+
+Here, `settrans` is passed several options:
+
+* `fg`, force any existing translator to go away.
+* `ap`, make both active and passive translators.
+
+The active translator means that the operating system both starts the translator immediately and passinve means that the settings are saved in the file system node. The former also means that any error messages are sent to `stderr`.
-Here, `settrans` is passed several options. The first two, `fg`, force any existing translator to go away. The next two, `ap`, make both active and passive translators. This means that the operating system both starts the translator immediately and saves the settings in the node on the file system. This former also means that any error messages are sent to `stderr`. The next argument, `/server/socket/2`, is the node that the translator is to be attached to. This is followed by the translator program to run and any arguments to give it.
+The argument `/server/socket/2` is the node that the translator is to be attached to. This is followed by the translator program to run and any arguments to give it.
Help on settrans can be obtained by passing it the `--help` option. Help on a specific translator can be gotten by invoking it from the command line with the same argument, e.g.: