bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[web:minor updates 2/3] mention that pfinet sits on /servers/socket{2, 2


From: address@hidden
Subject: [web:minor updates 2/3] mention that pfinet sits on /servers/socket{2, 26}
Date: Thu, 17 Oct 2024 02:06:09 -0400

* 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

[Prev in Thread] Current Thread [Next in Thread]