* 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.
---
 hurd/translator/pfinet.mdwn | 8 ++++++++
 1 file changed, 8 insertions(+)

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
-- 
2.45.2


Reply via email to