Results 1 to 7 of 7

Thread: Dhcp help

  1. #1

    Dhcp help

    Hello,

    I need to make my a DHCP server on Fedora 11 and when I configure the dhcpd.conf and try to start the server it says this error. "Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file". Please help me out.

    All I have to do is make my computer into a DHCP server so that when other people connect to my router, it will assign them an ip address.

    This is my dhcpd.conf file.;

    # dhcpd.conf
    #
    # Sample /etc/dhcpd.conf
    # (add your comments here)
    default-lease-time 600;
    max-lease-time 7200;
    option subnet-mask 255.255.255.0;
    option broadcast-address 192.168.1.255;
    option routers 192.168.1.254;
    option domain-name-servers 192.168.1.1, 192.168.1.2;
    option domain-name "mydomain.org";

    subnet 192.168.1.0 netmask 255.255.255.0 {
    range 192.168.1.10 192.168.1.100;
    range 192.168.1.150 192.168.1.200;

    }

  2. #2
    Administrator Advisor peter's Avatar
    Join Date
    Apr 2004
    Posts
    882
    Do you have ldap logins enabled on your server?

  3. #3
    No I don't have ldap enabled on the server.

  4. #4
    Administrator Advisor peter's Avatar
    Join Date
    Apr 2004
    Posts
    882
    You may have it set in your PAM configuration. Try running authconfig or authconfig-tui. These programs set it up with a GUI and will make it easy to see.

  5. #5
    1 hey soccer05 , do 1 thng open dhcpd.conf
    i.e. vi .etc/dhcpd.conf
    2 make the chnges: subenet = giv ur ip

    option router= chk if the ip are in same series ,if not kae thm in same series

    option nis domain =disable it by putting # at beggining

    option domain name = put the zone name like "abc.com"

    leasetime= this time is in seconds. u must specify time ...it means for this time only ip will exists.

    3 range dynamic-bootp = giv the ip addresses tht u want in network .....


    i hope it will work ....report me what happened..

  6. #6
    I also see a message in /var/log/messages (CentOS 6.2) as follows
    dhcp: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
    but I simply took this to be a warning/info message rather than an error and disregarded it.

    Just for completeness I did run authconfig-tui to see if that shed any further light, but I don't think it does. It simply show the following selections (for Authentication)
    • Use Shadow Passwords
    • Local authorization is sufficient


    I'm actually having different problems with setting up DHCP - on which I suspect I will post later - but I came across this whilst searching for possible solutions and thought that this additional info might help the next person that comes across it.

  7. #7

Similar Threads

  1. Dhcp Dns
    By natishkc in forum Redhat / Fedora
    Replies: 4
    Last Post: 04-01-2008, 09:13 AM
  2. please help with DHCP
    By mujtba in forum Linux - General Topics
    Replies: 2
    Last Post: 02-14-2005, 01:31 PM
  3. Disable Wireless Router DHCP and Use Linux DHCP Server?
    By omnivore in forum Linux - General Topics
    Replies: 0
    Last Post: 01-19-2005, 04:18 PM
  4. DHCP
    By BurntAsh in forum Linux - Hardware, Networking & Security
    Replies: 12
    Last Post: 01-19-2003, 09:36 PM
  5. DHCP
    By mugs in forum Linux - Hardware, Networking & Security
    Replies: 14
    Last Post: 11-20-2002, 04:46 AM

Bookmarks

Posting Permissions

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