[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How do I get my hostname from DHCP?



My PC is set up to use dhcp to boot up, and I get a hostname automatically.

How would I get that hostname manually? Do I need to put ifupdown on the
stiffy?

Background: I'm building a boot stiffy that logs all sorts of information about
a PC to a file on the disk. And I would love to have a way of identifying all
the info.

-- 
Danie Roux *shuffle* Adore Unix



Reply to: