I am currently setting up Debian Wheezy on a system and network autoconfigure fails and asked to retry with a DHCP hostname.

I have another system (also running Debian Wheezy) hooked up to the same switch. I'd like to use that system to find out what its DHCP hostname is so that I can supply that to the other system.

I've tried searching around by so far I have been unable to find out how to do it.

  • What DHCP server are you running? With most setups you shouldn't need a DHCP hostname.
    – David King
    Commented Nov 20, 2015 at 18:45
  • Oops there my problem. As far as I can tell I'm not.
    – Chris
    Commented Nov 20, 2015 at 18:51

1 Answer 1


to find the DHCP server, run in the other machine.

grep dhcp-server-identifier /var/lib/dhcp/dhcp*leases

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .