Thread: Avoid sending hostname via dhclient using NetworkManager
i have been trying modify dhclient.conf file avoid sending hostname via dhclient.
however, when use networkmanager rather dhclient command line utility, instead uses file:
/run/nm-dhclient-wlan0.conf (if wlan0 interface used)
and..., problem adds line:
send host-name "xxxxxxxxxxxxxx"; # added networkmanager
xxxxxxxxxxxxxx real hostname.
point don't want real hostname sent, rather no hostname or hostname define, seems impossible, since networkmanager removes "send host-name" line , adds own real hostname.
however, if instead of using networkmanager use dhclient, works perfectly.
idea on how use networkmanager , don't send hostname defined in computer?
(ftr: reason don't want send because travel lot, use public wifi's , don't want real hostname (which includes real name) sent, neither use static ip configuration, i'd solution using dhclient.conf files , networkmanager, avoid nm modifying conf. files).
thank much,
alberto.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Avoid sending hostname via dhclient using NetworkManager
Ubuntu
Comments
Post a Comment