LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 07-05-2004, 06:20 PM   #1
adrian11
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
DHCP doesn't seem to work on remote Debian install


Hello everybody,

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 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 either the Red Hat or Debian partitions.

The Red Hat partition -- which still exists and is accessible via SSH -- 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 to me 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:

Code:
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 netmask, network, gateway, are broadcast 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.

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.

Thanks,
Adrian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone got the Remote Wonder (ATI's USB remote control) to work under Linux? dezireduser Linux - Hardware 2 11-06-2005 09:47 AM
Remote desktop connection Q?: How do I help across DHCP ISP? lefty.crupps Linux - Networking 7 10-18-2005 04:17 PM
dhcp problem in Debian netinst install..Help !! install. copter Linux - Networking 11 06-30-2004 02:14 PM
Newb Trying to get dhcp-client to work in debian xixer Linux - Networking 3 03-18-2004 01:23 PM
Debian install issues (dhcp) mattwtf Linux - Newbie 1 05-30-2003 03:07 PM


All times are GMT -5. The time now is 09:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration