Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I installed CentOS 4.4 in my home Desktop and during the installation of CentOS 4.4, I activated DHCP. I am using a cable modem for my internet connection. Now ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    19

    Turning off DHCP server in CentOS 4.4


    Hello,
    I installed CentOS 4.4 in my home Desktop and during the installation of CentOS 4.4, I activated DHCP. I am using a cable modem for my internet connection. Now I want to deactivate DHCP but I don't know how. How can I accomplish this without a re-installation?

    Thank you.

  2. #2
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    It should be something like this

    service dhcp stop
    service dhcpcd stop
    service dhclient stop

    Something like this may also help, it works on RHEL and CentOS is almost a clone

    RHEL: redhat-config-services
    CentOS: centos-config-services
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  3. #3
    Just Joined!
    Join Date
    Mar 2007
    Posts
    19

    Question

    I have tried all options mentioned above but I get the message:
    dhclient: unrecognized service
    for all of them. Any idea how to stop the DHCP server?
    Thank you

  4. $spacer_open
    $spacer_close
  5. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Try reconfiguring your network using system-config-network.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •