summaryrefslogtreecommitdiff
path: root/hurd/translator
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2008-09-28 12:47:43 +0200
committerThomas Schwinge <tschwinge@gnu.org>2008-09-28 12:49:15 +0200
commit21351b26bea310be449960df6b6a2e1841430121 (patch)
treee2435a5f2e8b8545bcca9c2b67c4b668cd78e20d /hurd/translator
parentc737895ad313f5b8b2d1ca8f6f012dd70d61a53b (diff)
Split [[hurd/network]] into [[hurd/translator/pfinet]] and the new [[hurd/settrans]].
Diffstat (limited to 'hurd/translator')
-rw-r--r--hurd/translator/pfinet.mdwn25
1 files changed, 24 insertions, 1 deletions
diff --git a/hurd/translator/pfinet.mdwn b/hurd/translator/pfinet.mdwn
index acd7b855..41bc87c2 100644
--- a/hurd/translator/pfinet.mdwn
+++ b/hurd/translator/pfinet.mdwn
@@ -1,4 +1,5 @@
-[[meta copyright="Copyright © 2007, 2008 Free Software Foundation, Inc."]]
+[[meta copyright="Copyright © 2002, 2004, 2005, 2007, 2008 Free Software
+Foundation, Inc."]]
[[meta license="""[[toggle id="license" text="GFDL 1.2+"]][[toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
@@ -8,4 +9,26 @@ Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
is included in the section entitled
[[GNU_Free_Documentation_License|/fdl]]."]]"""]]
+To configure Internet connectivity, the `pfinet` (*Protocol Family Internet*)
+[[translator]] must be configured. This is done using the
+[[`settrans`|settrans]] command, for example like this:
+
+ # settrans -fgap /servers/socket/2 /hurd/pfinet ↩
+ -i eth0 -a 192.168.0.50 -g 192.168.0.1 -m 255.255.255.0
+
+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.
+
+There, `-i`, `-a`, `-g` and `-m` are, quite obviously, the (Mach) device to
+use, the IP address, the gateway and netmask.
+
+---
+
+To make DNS lookups work, you'll also have to properly configure the
+`/etc/resolv.conf` file, for example by copying it over from your GNU/Linux
+installation.
+
+---
+
Notes about [[IPv6]].