Re: FC5 boot process, sendmail and sm_client???

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

 



Deepak Shrestha schrieb:

I have following in my /etc/hosts
===========
# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.1.2     webcomp
===========

As Paul already pointed out, it is very important to keep the localhost mapping entry in the file. Seems you erased it completely. So readd it:

127.0.0.1               localhost.localdomain   localhost


if I check hostname and domainname it returns
hostname is "webcomp"
domainname is (none)

hostname and domainname are both same in dynamic IP and static IP
setting only IP is changed. Dynamic IP settings works perfectly
without delay. what should I do next?

Set HOSTNAME= in /etc/sysconfig/network to be something like "webcomp.home.locallan". Then adjust the corresponding line in /etc/hosts to be

192.168.1.2       webcomp.home.locallan     webcomp

Sendmail will be lucky again using 192.168.1.2 as your static IP.

Alexander



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux