Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i am running a CentOS 4 in my pc ,
i want to configure my pc as a DHCP server.
hence i followed the steps given in one site.
but if i say /etc/rc.d/init.d/dhcpd.conf
i am getting an message No such file/directory.
Even i tried service dhcpd status,dhcpd start,but
I am getting a message saying dhcpd:unrecognized service.
please help me out to solve the problem..
most probably configuration files are located in /etc or the location you have installed DHCP sources, /etc/rc.d/init.d/ is the location having startup scripts.
To locate your DHCP configuration file
#find . / -name dhcpd.conf
thanks yar for replying,
location is correct,when i listed the contents in etc directory,
i can view dhcpd.conf file, but i cant open it.
i am getting a message permission denied. but i entered as root only, not as any other user.
Thankq so much,
i can open the file. and i typed in to it.
but now the problem is, when i tried to start the dhcp service by the command , "sevice dhcpd start", i am getting a message, unrecognized service.Even to get the status , i am getting the same response. i dont know what the problem is!!!!!!!!!!
Hai it means you dont have startup script at /etc/rc.d/init.d directory, first check whether startup script exist or not, better way search in google "how to install and configure DHCP in Linux". you can get step-by-step idea about DHCP
ya sure chaitanya,
i went in to that link which u posted.
and i followed the steps in that.
the first step itself,i am not getting, that is,
when i type yum install dhcp,
i got this,
Setting up Install Process
Setting up repositories
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update
i have wrote that dhcpd.conf file too.
but when i type man dhcp , i am getting no manual found.
when i say /etc/init.d/dhcpd start
i am getting no such file or directory.
i dont know whether i am in correct path r not........
nothing is working
i cant sort out the problem , please help me if u could.....
service dhcpd start is same as /etc/init.d/dhcpd start. And if anyone of them is working, other should also most probably work.
If thats not working then the reason could be that you have not installed it properly.