diff options
Diffstat (limited to 'hurd/running')
-rw-r--r-- | hurd/running/debian/after_install.mdwn | 3 | ||||
-rw-r--r-- | hurd/running/debian/dhcp.mdwn | 24 | ||||
-rw-r--r-- | hurd/running/debian/faq/df.mdwn | 12 | ||||
-rw-r--r-- | hurd/running/qemu.mdwn | 6 |
4 files changed, 38 insertions, 7 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/debian/faq/df.mdwn b/hurd/running/debian/faq/df.mdwn index 4de232da..bbd3a7b9 100644 --- a/hurd/running/debian/faq/df.mdwn +++ b/hurd/running/debian/faq/df.mdwn @@ -8,6 +8,12 @@ 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]]."]]"""]] -There is no `/etc/mtab`, so just running `df` will yield an error. Pass `df` a -path like `df /` or `df ./` to see the disk usage of that particular file -system. +There is no `/etc/mtab` (due to dynamic translator startup, its content is hard +to define actually, see +[[the mtab GSoC project idea|community/gsoc/project_ideas/mtab]]), +so just running `df` will yield the following error. + + df: cannot read table of mounted file systems + +Pass `df` a path like `df /` or `df ./` to see the disk usage of that particular +file system. diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index aea20ae8..4766b2be 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -58,6 +58,8 @@ Check if your CPU supports kvm: #### If you don't have hardware support (slow): $ apt-get install qemu +Do not enable kernel-kqemu, as that assumes some particular behavior from the guest kernel, which we are reluctant to artificially add to gnumach. + #### If you have hardware support (recommended): $ apt-get install qemu-kvm $ modprobe kvm @@ -228,9 +230,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: |