LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dhcp (https://www.linuxquestions.org/questions/linux-newbie-8/dhcp-202448/)

RahJiggah 07-08-2004 12:43 AM

Dhcp
 
Can someone please tell me how to configure DHCP?? I installed the dhcp from cd 2 using xwin but i dont see it in the etc directory....do i still need to install suttin else? any info would be nice....please and thanx

:newbie:

Fissional 07-08-2004 12:51 AM

what distro are you running? or what have you done before running dhcp? just need a litle more info to help thats all :)

RahJiggah 07-08-2004 12:55 AM

sorry forgot bout that....rh9 I installed the dhcp but like i say when i check in the etc folder dhcpd.conf is not there....

Fissional 07-08-2004 01:00 AM

are you sure you have to configure it? did you try running it alredy? I didn't have to configure mine, thats why i ask.

RahJiggah 07-08-2004 01:03 AM

eeek well im not sure how to run it i guess from what ive read on the web it says u have to edit the dhcpd.conf is there another way i can check to see if its running?

Fissional 07-08-2004 01:09 AM

If your machine is on a wired network (i assume it is) if you can, open a terminal and type this.

$ ifconfig

see what that prints. If it finds your network card and everything okay, in otherwords it prints information, (you'll know if it is or not) like your ip address, and subnet mask and whatnot, on one of the devices in the list, (probably going to be eth0 or eth1) than try just typing

$ dhcpd

then see if you can ping google, or test your internet connectivity however you want too.

oh, by the way, in the terminal, switch to root for the ifconfig command.

RahJiggah 07-08-2004 01:11 AM

cool thanx man!! ill take it from there....if not ill post back here....;)

Fissional 07-08-2004 01:12 AM

lol alright, and no problem. hope that works.

hasnain 07-08-2004 04:09 AM

DHCP problem
 
hello

well when u install the dhcp rpm it wont list in ur menu or /etc/ you would have to create a file in /etc

[root@localhost root] cat dhcpd.conf

now after creatind this file write all the scripting in it after that write the following command to check

dhcpd -f



i hope it would work


All times are GMT -5. The time now is 12:24 AM.