Re: [PATCH] send hostname to DHCP server / router

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



On Fri, Nov 20, 2009 at 6:02 PM, Suraj Kurapati <sunaku@xxxxxxxxx> wrote:
> Hello,
>
> For the longest time, the default ArchLinux networking setup had one
> deficiency:  it would not send the machine hostname to the DHCP server
> / router when acquiring a DHCP lease.  As a result, I was never able
> to ping/ssh my ArchLinux system by its hostname from other machines in
> my home network --- instead, I was always forced to type out my
> ArchLinux system's IP address in full.
>
> I looked high and low across the 'net before I finally found the
> answer in the dhcpcd.conf man page:  the solution is to add the
> following line to your /etc/dhcpcd.conf file:
>
>  hostname
>
> One thing that confused me is this line in the default ArchLinux
> /etc/dhcpd.conf file:
>
>  # dhcpcd-run-hooks uses these options.
>  option domain_name_servers, domain_name, domain_search, host_name
>
> The "option host_name" part *seems* like it would send your machine's
> hostname to the DHCP server, but it really doesn't.  Maybe that's a
> bug?
>
> I request the developers in charge of the default ArchLinux networking
> setup to make the above change, so that ArchLinux systems send their
> hostnames to the DHCP server (and therefore can be
> pinged/ssh'ed/accessed by their hostname) out of the box!
>
> Thanks for your consideration.

Please file this in the bug tracker or it will never happen


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux