LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dhcp ? (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-7448/)

Ratclaws 10-10-2001 11:49 PM

dhcp ?
 
eth0 should use dhcp and eth1 should be using 192.168.1.1.
this is what i did.

ran netconfig ( because i dont know how to set up dhcp) to setup eth0.

then i ran 'ifconfig eth1 192.168.1.1'. this part worked , i can ping other box's on the network and even ssh into them.

when i reboot the computer ( so that i can get the address assigned to eth0). The correct NIC's light flashes, the dsl modem's transmit light flashes and then it stalls and says the following
_______
eth0: media is unconnected, link down, or incompatable connection.
dhcpcd[59]: timed out waiting for a valid DHCP server response.
________

All the equipment works, as im using it now under win98.

ive gotten this to work in redhat 7 and in freeSCO. however, i cant seem to get it to work with slackware 8 .

any sugestions

TimBeR 10-11-2001 07:33 AM

Did you say you are using DLS ?
from what I know in my area of DSL most service providers providing dsl do not use DHCP
I would try pppoe

Ratclaws 10-11-2001 02:52 PM

yes, i get my dsl through the isp that i work for. using static ip's , Verizon's router got overloaded and they are now forcing us to use DHCP.

TimBeR 10-11-2001 03:24 PM

I would cd to /etc/sysconfig/network-scripts/ and either vi or pico ifcfg-eth0 and see what it looks like my file has only the following information in it


DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

and I have no problems whatsoever getting my ip from my dhcp providor
I hope this helps

warath 10-12-2001 01:12 PM

Some providers setup their DHCP to only respond if the hostname of the computer is correct. Make sure that if your provider gives you a hostname (computer name, like i get from @home, is a crXXXXX-a) that you set the hostname of the computer to that name.


All times are GMT -5. The time now is 04:25 PM.