diff options
-rw-r--r-- | hurd/running/debian/after_install.mdwn | 3 | ||||
-rw-r--r-- | hurd/running/debian/dhcp.mdwn | 24 | ||||
-rw-r--r-- | hurd/running/qemu.mdwn | 4 | ||||
-rw-r--r-- | hurd/translator/pfinet.mdwn | 9 | ||||
-rw-r--r-- | hurd/translator/pfinet/dhcp.mdwn (renamed from unsorted/DhcpClient.mdwn) | 7 | ||||
-rw-r--r-- | unsorted/KnownHurdLimits.mdwn | 4 |
6 files changed, 39 insertions, 12 deletions
diff --git a/hurd/running/debian/after_install.mdwn b/hurd/running/debian/after_install.mdwn index 15ca9c83..62fd3574 100644 --- a/hurd/running/debian/after_install.mdwn +++ b/hurd/running/debian/after_install.mdwn @@ -29,7 +29,8 @@ If the NIC was detected: # settrans -fgap /servers/socket/2 /hurd/pfinet -i eth0 -a 192.168.1.3 -g 192.168.1.1 -m 255.255.255.0 -In order to use DHCP, you need to install the `dhcp-client` package and run `dhclient eth0` etc. +Or read about how to configure [[DHCP]]. + # Setup GRUB diff --git a/hurd/running/debian/dhcp.mdwn b/hurd/running/debian/dhcp.mdwn new file mode 100644 index 00000000..f316981d --- /dev/null +++ b/hurd/running/debian/dhcp.mdwn @@ -0,0 +1,24 @@ +[[!meta copyright="Copyright © 2011 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +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]]."]]"""]] + +[[!tag open_issue_porting]] + +In order to use DHCP, you need to install the `ifup` and `isc-dhcp-client` +packages, and manually create the following two symbolic links: + + # ln -s ../rcS.d/S06ifupdown-clean ../rcS.d/S11networking /etc/rc.boot/ + +During execution at boot time, the `S11networking` script will emit some error +messages while trying to configure the loopback interface. These are not +fatal. + +Debian GNU/Hurd doesn't currently execute's Debian standard `/etc/rcS.d/*` boot +scripts, but has its own `/libexec/rc` script -- which integrates scripts from +`/etc/rc.boot/` instead. diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index aea20ae8..3f4d7a0b 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -228,9 +228,7 @@ If you just want to access the internet from within QEMU, you can setup pfinet f # settrans -afgp /servers/socket/2 /hurd/pfinet -i eth0 -a 10.0.2.15 -g 10.0.2.2 -m 255.255.255.0 # echo "nameserver 10.0.2.3" > /etc/resolv.conf -Alternately DHCP does work now: - - # dhclient eth0 +If you are on [[Debian GNU/Hurd|debian]], you can even use [[debian/DHCP]]. To get ssh working: diff --git a/hurd/translator/pfinet.mdwn b/hurd/translator/pfinet.mdwn index cbe50b48..f6f69ea4 100644 --- a/hurd/translator/pfinet.mdwn +++ b/hurd/translator/pfinet.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2002, 2004, 2005, 2007, 2008 Free Software +[[!meta copyright="Copyright © 2002, 2004, 2005, 2007, 2008, 2011 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable @@ -6,8 +6,8 @@ id="license" text="Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant 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]]."]]"""]] +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] To configure Internet connectivity, the `pfinet` (*Protocol Family Internet*) [[translator]] must be configured. This is done using the @@ -31,5 +31,8 @@ installation. --- + * [[DHCP]]. + * [[Implementation]]. + * [[IPv6]]. diff --git a/unsorted/DhcpClient.mdwn b/hurd/translator/pfinet/dhcp.mdwn index 442f4781..17776fa5 100644 --- a/unsorted/DhcpClient.mdwn +++ b/hurd/translator/pfinet/dhcp.mdwn @@ -1,4 +1,4 @@ -# <a name="DHCP_and_the_Hurd"> </a> DHCP and the Hurd +[[!tag open_issue_hurd]] According to the following thread, no port should be needed since all the patches that have been applied, including the one concerning the thread. In fact, the thread finishes without concluding whether the patch has been applied or not. You can grab it in the thread, anyway. @@ -40,3 +40,8 @@ Neal Walfield on bug-hurd replies: We need to be able to send to the DHCP server with ip address 0.0.0.0. -- [[Main/JoachimNilsson]] - 12 Nov 2002 + +--- + +[[Debian GNU/Hurd|running/debian]] has some script hackery to get +[[running/debian/DHCP]] going. diff --git a/unsorted/KnownHurdLimits.mdwn b/unsorted/KnownHurdLimits.mdwn index 51d66b50..4e7b7620 100644 --- a/unsorted/KnownHurdLimits.mdwn +++ b/unsorted/KnownHurdLimits.mdwn @@ -9,10 +9,6 @@ There are needed by OpenSSH. * In progress, see [[translator/random]] -* No DHCP client - * promising information [Jan 2005](http://lists.gnu.org/archive/html/bug-hurd/2005-01/msg00025.html), needs an update - * See [[DhcpClient]] - need to update TCP/IP server. - * Missing bits of POSIX * See [[Distrib/SystemAPILimits]] |