Re: DHCP configuration question

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

 



Philip A. Prindeville wrote:
> Rick Stevens wrote:
>   
>> Philip A. Prindeville wrote:
>>     
>>> Philip A. Prindeville wrote:
>>>       
>>>> Ok, dumb question, but given that my
>>>> /var/lib/dhclient/dhclient-eth0.lease info shows that I'm clearly
>>>> getting a hostname and domain name, why does "hostname" return
>>>> localhost.localdomain (and "domainname" returns "(none)")?
>>>>
>>>> What do I need to enable to make this work?
>>>>
>>>> Thanks,
>>>>
>>>> -Philip
>>>>
>>>>   
>>>>         
>>> Asked and answered:
>>>
>>> chkconfig NetworkManager off
>>>       
>> Huh?  All that does is disable NetworkManager.  It won't affect the
>> hostname unless the dhclient script changes it for you or you have a
>> hostname in /etc/sysconfig/network and run the old network startup code
>> ("chkconfig network on").
>>     
>
> The old network code is on by default.
>
> -Philip
>
>   

Also, have a look at where need_hostname gets called in
/etc/sysconfig/network-scripts/ifup-post ...

-Philip


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux