Linux - Newbie This 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! |
| Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-24-2009, 02:56 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2009
Posts: 7
Rep:
|
How do I turn OFF dhcp service on server?
Can someone tell me how to turn OFF the DHCP services on a Linux server? I have been looking all over the internet and some Linux books but I can't figure out how to kill this !*&$! service!
I know the service is running on the server on our network, because when I do an ipconfig /all from a workstation it shows the DHCP and DNS server as being the IP address of the Linux server.
Here's an overview of what I have tried:
I am not too sure of the Linux version, but it does have the RedHat graphical interface.
I have gone into Applications-->Server Settings-->Services, as I believe this shows the currently running services (?) I cannot see anything related to dhcp, such as dhcpd.
I have tried the command "/sbin/service dhcpd stop" from the command prompt, but all I get back is: "dhcpd: unrecognized service"
I noticed there is a dhcpd command in the /usr/sbin directory, however the command still produces the same result.
Would really appreciated any advice I can get on this. I have dabbled some in Linux but for the life of me this has me stumped! Thanks in advance for any advice!
|
|
|
|
01-24-2009, 03:46 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
normally it would be called dhcpd, but could be a number of other things, for example dnsmasq, which is a very veyr simple dns and dhcp server. if you run "netstat -panu" on the server you should see all udp sockets, and whatever is listening on port 67 is your man. Now if no one is listening, then you have other problems...
and if you don't want whatewver it is, just uninstall the rpm and it'll go poof!
|
|
|
|
01-24-2009, 04:56 PM
|
#3
|
|
LQ Newbie
Registered: Jan 2009
Posts: 7
Original Poster
Rep:
|
thanks for the reply--however....
As the forum says, it is for Linux newbies. I am not at the server currently but will check out and try the command you recommend.
But I am a little at a loss for your suggestion "uninstall the rpm ". Can you elaborate more on this? This is a file sharing server and I cannot shut it down during the daytime.
SURELY there must be some way to determine if DHCP is running on this server and a way to shut it down! In Windows all you do is go to Services and click "disable".
|
|
|
|
01-24-2009, 05:18 PM
|
#4
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
Yes, and if it were dhcpd then it would be there. In fact it is very similar compared to windows in many respects when it comes to services. but if there's no dhcpd then either it's being loaded from somewhere else (like windows can and often does) or it's a different program altogether (just like many windows apps)
|
|
|
|
01-24-2009, 06:16 PM
|
#5
|
|
LQ Newbie
Registered: Jan 2009
Posts: 7
Original Poster
Rep:
|
Thank you for the reply--I do appreciate it!
I shall do further investigating. It could be possible that another dhcp server is on the network, however it is a real simple network with only 2 other Windows servers besides the Linux. And I have checked them both and they are not running DHCP.
Also-- when I do ipconfig /all it shows for the Dhcp server info the address of the Linux server, which indicates that is where the machine has pulled it's IP address (?)
Last edited by zooeyhall; 01-24-2009 at 06:22 PM.
|
|
|
|
01-24-2009, 06:54 PM
|
#6
|
|
LQ Newbie
Registered: Jan 2009
Posts: 7
Original Poster
Rep:
|
I just ran a network DHCP server discovery tool, and it shows the only DHCP server on the network to be the Linux server.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:32 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|