Menu

#49 resolve.conf empty

open-works-for-me
nobody
None
5
2009-11-01
2009-10-30
Anonymous
No

booted, got dhcp, but
user@dhcp216:~$ ls -l /etc/resolv.conf
-rw-r--r-- 1 root root 0 2009-10-29 14:18 /etc/resolv.conf
so no dns.

Discussion

  • Steven Shiau

    Steven Shiau - 2009-11-01

    I believe this is an issue on your DHCP server, not the client side.
    At least it works here.

    Steven.

     
  • Steven Shiau

    Steven Shiau - 2009-11-01
    • status: open --> open-works-for-me
     
  • CarlFK

    CarlFK - 2009-12-07

    clonezilla failing for me. but works with pxe, ubuntu and macs.

    Here is the lines from my dhcpd.conf:

    # /etc/dhcp3/dhcpd.conf

    authoritative;

    # Before the server assigns an IP, ping it to make sure nothing is using it.
    ping-check = 1;

    # log using syslogd
    log-facility local7;

    option cz_ocs_daemonon code 224 = string;
    option cz_usercrypted code 225 = string;

    # the Range of IP's to assign to clients.
    subnet 192.168.1.0 netmask 255.255.255.0 {
    range 192.168.1.10 192.168.1.254 ;
    # next-server 192.168.1.2 ;
    filename "pxelinux.0" ;
    option cz_ocs_daemonon "ssh";
    option cz_usercrypted "iTBGwkbHzKDfk";
    }

    ########################################################################
    # config settings to send clients

    option domain-name "personnelware.com";
    option time-servers 192.168.1.177;
    option ntp-servers 192.168.1.1;
    option time-offset 6;
    option broadcast-address 192.168.1.255;
    option domain-name-servers 192.168.1.7;
    # option domain-name-servers 192.168.1.7, 68.87.66.196, 68.87.64.196, 63.240.76.4, 204.127.198.4;

    # the IP of the gatway from the LAN to the Internet
    option routers 192.168.1.1 ;

    what does /etc/resolve.conf look like when it works for you?

     
  • Steven Shiau

    Steven Shiau - 2009-12-09

    My dhcpd.conf looks like:
    default-lease-time 300;
    max-lease-time 300;
    option subnet-mask 255.255.255.0;
    option domain-name-servers 8.8.8.8;
    option domain-name "drbl.name";
    ddns-update-style none;
    server-name drbl;
    ...

    Could you please run the following commands in the Clonezilla live command line prompt:
    1. sudo su -
    2. dhclient

    then check your /etc/resolv.conf again.
    Steven.

     

Log in to post a comment.