From fa6b75ccc42000f20040ae4373b19410280a66aa Mon Sep 17 00:00:00 2001 From: "jbranso@dismail.de" Date: Thu, 17 Oct 2024 02:06:09 -0400 Subject: 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> --- hurd/translator/pfinet.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'hurd/translator') 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 -- cgit v1.2.3