PDA

View Full Version : dhcp at boot?



donald
01-08-2007, 09:46 AM
Hello,

I'm just trying out Knoppix 5. I have it installed on my laptop hard drive. To connect to the wired router at home I have to run network card config on eth0 - which fails - and then eth1, which works. I have to do it in that order and run 0 before 1. How can I get dhcp to connect me during boot up, and how can I get it to read properly from eth1? Running net card config on just eth1 does not seem to work without running eth0 first.

Here is my /eetc/network/interfaces file.

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo eth0 eth1
iface lo inet loopback


iface eth0 inet static
address 192.168.1.34
netmask 255.255.255.0
network 192.168.1.1
broadcast 192.168.1.255
gateway 192.168.1.1

iface dsl-provider inet ppp
provider dsl-provider

iface eth1 inet dhcp




Donald

hal8000
01-14-2007, 11:56 PM
Not sure if this will fix your problem but on your lilo or grub boot line include nodhcp

This option may stop the dhcp backgrounding service, then run the network configuration again, and reboot. Im using static addressing but rebooting knoppix the boot message starting dhcp always appeared, as soon as I included nodhcp, my boot time was faster and no network problems.