All,
I'm attempting to install Debian on a server that I don't have physical
access to. The server is currently running a version of Red Hat. I'm
following the directions at
http://trilldev.sourceforge.net/files/remotedeb.html.
I've gotten to the point where the core Debian files/kernel are installed,
but when I restart into Debian, the network won't come up. Each time that
happens, I'm forced to use my server-provider's "recovery tool," a Web
interface that lets me hard-reboot the machine into a ramdisk environment,
from which I can manually mount and chroot either the Red Hat or Debian
partitions.
The Red Hat partition -- which came with the box, still exists and is
accessible via SSH when I boot into it -- uses DHCP to connect to the
network. But I cannot get networking to work on the Debian partition with
DHCP. I've tried the dhcp-client, dhcp3-client and pump packages.
So it seems there's something special I need to configure for the DHCP
client. But I don't know what/where it is. On the Red Hat partition,
there's a file called /etc/dhclient-eth0.conf that contains the following:
request subnet-mask, broadcast-address, time-offset, routers,
static-routes,
domain-name, domain-name-servers, host-name;
I've copied-and-pasted that into the files /etc/dhclient.conf and
/etc/dhcp3/dhclient.conf on the Debian partition, but the box remains
unpingable when I boot into Debian.
Debian *does* appear to assign eth0 properly. I've modified the init
scripts to save the output of "ifconfig" and "route -n" to a file, and the
ifconfig output includes eth0 with the proper IP address, etc. But the
routing tables are empty.
I have also tried configuring the IP statically, but I'm not sure what the
correct values for the gateway, etc., are. I've called the server provider
(1and1) three times to get this information, but I've gotten different
numbers each time. I've tried about a dozen of different combinations, but
not one has worked.
It's particularly frustrating because each time I attempt a different
network configuration, I have to boot into Debian, wait 5 or 10 minutes to
see whether the thing is pingable, then inevitably hard-reboot the box
into recovery mode.
What else can I try to get the networking to work? I have a feeling the
server provider has some sort of strange network setup, but I don't know
how to configure Debian to use it.
I'm grateful for any help.
Adrian