Find the answer to your Linux question:
Results 1 to 6 of 6
I have got a DHCP server running on my SUSE 9.3 box and it works fine, for a while. When any clients try to connect later they can't get an ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jun 2005
    Location
    Whitstable, Kent, England
    Posts
    136

    Dodgy DHCP


    I have got a DHCP server running on my SUSE 9.3 box and it works fine, for a while. When any clients try to connect later they can't get an IP. Each time I am required to ssh into the server and restart it using
    /etc/init.d/dhcp restart
    ..and each time it says shutting down and starting up and I have done status checks and it always says it is running. What is the problem? Also, where is the DHCP config file as it should be possible to allocate a computer the same IP based on its MAC address, i.e. beyond the lease time of other clients.
    The biggest security threat is the user.

  2. #2
    Linux Newbie
    Join Date
    Jun 2005
    Location
    Whitstable, Kent, England
    Posts
    136
    I have found how to set-up computers' IPs based on their MAC address and I have it broadcasting DNS settings and the IP of an NTP server but every hour or so it stops and my brother complains as his XBOX Live cuts off. The only way to prevent this is to restart it before it cuts off to keep it going.
    The biggest security threat is the user.

  3. #3
    Linux Newbie
    Join Date
    Apr 2003
    Location
    Pontypridd, Wales
    Posts
    104
    First step is to check your logs.

    You may find what you want in /var/log/daemon.log

    How did you check to see if the process is still running...

    try:

    # ps ax | grep dhcp

    to see if it's still up. You can also see if the process is listening on a port like this:

    # netstat -tap

    You should see the dhcp server listening on port 68.
    \"One World, One Web, One Program.\" -- Advertisement for Internet Explorer.
    \"Ein Volk, Ein Reich, Ein Fuehrer.\" -- Adolf Hitler.

  4. #4
    Linux Newbie
    Join Date
    Dec 2003
    Location
    Netherlands
    Posts
    193
    If you have dhcp on External(receives one from ISP) and you use DHCP server on internal network it gives you a very hard time...
    Computers Are Like Air Conditioners... They\'re both useless with Windows open!

  5. #5
    Linux Newbie
    Join Date
    Apr 2003
    Location
    Pontypridd, Wales
    Posts
    104
    If you have dhcp on External(receives one from ISP) and you use DHCP server on internal network it gives you a very hard time...
    That makes no sense at all!?!?
    \"One World, One Web, One Program.\" -- Advertisement for Internet Explorer.
    \"Ein Volk, Ein Reich, Ein Fuehrer.\" -- Adolf Hitler.

  6. #6
    Linux Newbie
    Join Date
    Jun 2005
    Location
    Whitstable, Kent, England
    Posts
    136
    I would agree that it also makes no sense. Right, I do think I know what is the problem. It was of my own cause but I was playing with file permissions which might have affected the ability for it to either read, write of execute as required. I have checked in /var/log/messages and it looks about right. Many thanks for the help.
    The biggest security threat is the user.

Posting Permissions

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