From 0a06ae836cdd17eb000d6087cfcf96bab5851617 Mon Sep 17 00:00:00 2001 From: Joshua Branson Date: Mon, 29 Oct 2018 14:25:10 -0400 Subject: I created a new lwip translator page. It is bare minimum, and it probably is not completely accurate about how to start the translator. --- hurd/translator/lwip.mdwn | 19 +++++++++++++++++++ hurd/translator/pfinet.mdwn | 5 +++++ 2 files changed, 24 insertions(+) create mode 100644 hurd/translator/lwip.mdwn (limited to 'hurd/translator') diff --git a/hurd/translator/lwip.mdwn b/hurd/translator/lwip.mdwn new file mode 100644 index 00000000..9d3465b7 --- /dev/null +++ b/hurd/translator/lwip.mdwn @@ -0,0 +1,19 @@ +Lwip is a lightweight TCP/IP stack, and a google summer of code made it possible to use lwip to replace pfinet. + +The lwip translator provides all of the following: + +* Support for IPv4 and IPv6 +* Support for TCP and UDP +* Support for multiple Ethernet devices +* Support for fsysopts and command-line parameters configuration +* Support to create an IP tunnel which may be used by an OpenVPN client + +To configure lwip for internet connectivity, use the +[[`settrans`|settrans]] command, like this: + + # settrans -fgap /servers/socket/2 /hurd/lwip ↩ + -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. diff --git a/hurd/translator/pfinet.mdwn b/hurd/translator/pfinet.mdwn index bf535b21..1f4f7e39 100644 --- a/hurd/translator/pfinet.mdwn +++ b/hurd/translator/pfinet.mdwn @@ -9,6 +9,11 @@ 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]]."]]"""]] +Pfinet is a TCP/IP stack from an old linux version. It works but lacks some important +features like PPP/PPPoE. Recently Recently [[hurd/translator/lwip]], which is +an userspace tcp/ip library, was ported to the Hurd, which can serve as a direct +replacement for pfinet. + 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: -- cgit v1.2.3