LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to turn off dhcp service on server? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-turn-off-dhcp-service-on-server-699632/)

zooeyhall 01-24-2009 01:35 PM

How to 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!

vinnywrite 01-24-2009 03:00 PM

where you root when you did your comands?

try- man dhcpcd -for more info on dhcpcd

+ you can do- ps aux -to get a list of runing proses's and get the PID of the pros. and KILL PID war PID is the pros. PID#

zooeyhall 01-24-2009 04:51 PM

yes
 
Thank you for the reply. Yes--I was at the root when I ran the commands.

Can you please elaborate on your last sentence:

+ you can do- ps aux -to get a list of runing proses's and get the PID of the pros. and KILL PID war PID is the pros. PID#

As the forum says, I am a Linux newbie and need to know exactly what to type in the command prompt.

drchuck 01-24-2009 05:01 PM

Maybe it's not dhcpd providing the service, but something else, like dnsmasq.

michaelk 01-24-2009 05:32 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

zooeyhall 01-24-2009 06:58 PM

Just ran a DHCP discovery tool on the network, and it shows that the only DHCP server is the Linux server.


All times are GMT -5. The time now is 01:58 AM.