summaryrefslogtreecommitdiff
path: root/hurd/translator
diff options
context:
space:
mode:
authorjbranso@dismail.de <jbranso@dismail.de>2024-10-17 02:06:09 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-11-12 00:17:19 +0100
commitfa6b75ccc42000f20040ae4373b19410280a66aa (patch)
treea8628cbfc6c51227df10e8f2385dceb701adc61a /hurd/translator
parent75546e6f96553f3a830f5f6e1cd94bb40888e56c (diff)
mention that pfinet sits on /servers/socket{2, 26}
* hurd/translator.pfinet.mdwn: I often times want to know what my current Hurd's IP address & settings are. It'll be nice to document your current hurd's IP settings via this command. Message-ID: <20241017060612.22719-2-jbranso@dismail.de>
Diffstat (limited to 'hurd/translator')
-rw-r--r--hurd/translator/pfinet.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/hurd/translator/pfinet.mdwn b/hurd/translator/pfinet.mdwn
index f6ceec4f..1dd5c8b5 100644
--- a/hurd/translator/pfinet.mdwn
+++ b/hurd/translator/pfinet.mdwn
@@ -27,6 +27,14 @@ 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.
+You can see your currently running `pfinet`'s options via
+
+ $ fsysopts /servers/socket/2 # provides IPv4
+ /hurd/pfinet --interface=/dev/eth0 --address=ADDRESS --netmask=NETMASK --gateway=GATEWAY --address6=ADDRESS --address6=ADDRESS --gateway6=::
+
+ $ fsysopts /servers/socket/26 # provides IPv6
+ /hurd/pfinet --interface=/dev/eth0 --address=ADDRESS --netmask=ADDRESS --gateway=GATEWAY --address6=ADDRESS --address6=ADDRESS --gateway6=::
+
---
To make DNS lookups work, you'll also have to properly configure the