LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Debian no DHCPOFFERS recieved (https://www.linuxquestions.org/questions/linux-networking-3/debian-no-dhcpoffers-recieved-276370/)

firefly2442 01-10-2005 10:48 PM

Debian no DHCPOFFERS recieved
 
I currently have Debian AMD64 Sarge setup on my computer. As it is only a netinstall, I only have a very limited base system setup. I'm trying to connect to the internet so I can add more programs via apt-get. However, when I tried to setup dhcp via /etc/network/interfaces...

# lo
auto lo
iface lo inet loopback
# eth0
auto eth0
iface eth0 inet dhcp

(this is my current configuration)

I get a no DHCPOFFERS recieved. However, I know it can work because when I tried knoppix live-cd it automatically got a DHCP ip address and I could connect to the internet. Any thoughts? Thank you for the help. :)

bbk 01-11-2005 03:47 AM

First, if you have access to the DHCP server's log file, examine there what requests came from your client, there should be the answer.

By the way, if you are using knoppix, did you know, that it can be installed to hdd with all the nifty hw autodetect feature? (boot in the liveCD, open a console, and run: sudo knoppix-installer) After installing it, you can reset the sources.list file and use eg. a debian pool to run a dist-upgrade, or just fetch new packages. But it could be that there is already installed all what you need.

firefly2442 01-11-2005 04:46 PM

Yeah, I'd prefer to use Debian. I know they're virtually the same but Knoppix doesn't have a lot of AMD64 support. The DHCP server is basically just my Windows XP machine. It's the one that connects to the network and routes everything from the linux box out. I have to have it setup this way. I'll look into it some more.

bbk 01-12-2005 03:12 AM

Well, then you should raise the loglevel of your DHCP server in XP and take a look in it when the linux is sending out the DHCPDISCOVER messages.
Another try could be a static DHCP assignment in the DHCP server for the linux client's MAC address.

Send a reply if you got something :)


All times are GMT -5. The time now is 11:42 AM.