Re: Large-scale debian installation, request help
On Wed, 28 Oct 1998, Lee Bradshaw wrote:
> I used dhcp-client-beta. I modified the /etc/init.d/network as follows:
>
> #! /bin/sh
> ifconfig lo 127.0.0.1
> route add -net 127.0.0.0
>
> # use dhcp
> dhclient eth0
>
> I use a modified dhclient-script to get nis, hostname, and static routes from
> the dhcp server. I didn't change anything having to do with nfs and the mounts
> work fine.
I received a private email asking questions about the rest of my message. The
simple answer is that I was typeing faster than I was thinking. The section
above describes how I got dhcp-client-beta to work. The rest of the message
was garbage.
Here are the files in /etc/rcS.d:
README S15isapnp@ S35mountall.sh@ S45mountnfs.sh@ S55urandom@
S05keymaps.sh@ S20modutils@ S40hostname.sh@ S50hwclock.sh@
S10checkroot.sh@ S30checkfs.sh@ S40network@ S55bootmisc.sh@
Can we (that is, someone else :^) move S40network to a lower number so
it is executed before S40hostname.sh. Since hostnames can be provided by
dhcp I modified my dhclient-script to store the name in /etc/hostname
and set this new value as well. If hostname.sh was guaranteed to run
after network, dhclient-script could just store the name in the file for
later usage.
I sent my modified script to the bug tracking system a week or two ago.
If anyone would like a dhclient-script that handles hostnames, nis
domains, and setting/removing static routes let me know.
--
Lee Bradshaw lee@sectionIV.com (preferred)
Alantro Communications lee@alantro.com
Reply to: