[arch-general] NetworkManager, DHCP and DNS

Jan Steffens jan.steffens at gmail.com
Tue Oct 2 12:33:34 EDT 2012


On Tue, Oct 2, 2012 at 6:44 AM, Ike Devolder <ike.devolder at gmail.com> wrote:
> well then for the people where networkmanager is not so nice to:
> the following is an actual example and consistent over all my machines
> with dhclient (4 desktops having the exact same output)
>
> --- /var/run/nm-dhclient-eth0.conf --- (without dhclient-eth0.conf)
> # Aangemaakt door NetworkManager
>
> option rfc3442-classless-static-routes code 121 = array of unsigned
> integer 8;
> option ms-classless-static-routes code 249 = array of unsigned integer
> 8;
> option wpad code 252 = string;
>
> also request rfc3442-classless-static-routes;
> also request ms-classless-static-routes;
> also request wpad;
> also request ntp-servers;
> --- /var/run/nm-dhclient-eth0.conf ---
>
> if NetworkManager does not do the trick, create the dhclient-eth0.conf
> file or symlink and your hostname will be sent for sure
>
> --
> Ike

Does it work if you add:

[keyfile]
hostname=foobar

to /etc/NetworkManager/NetworkManager.conf?


More information about the arch-general mailing list