Am Di, den 03.08.2004 schrieb Ben Vitale um 2:42: > Hi, > If my cable provider changes my IP while the computer is running, what > can I do to update my local hostname? e.g., the part after bvitale.. > > [bvitale@pcp0010126256pcs ~]$ > > The reason I ask is because after the IP change, sendmail no longer > forwarded my local LogWatch messages properly, because it was trying to > send from a hostname that was no longer valid. > Ben That is the wrong question or strategy. Give your Fedora host a name other than localhost and there is no more dynamic hostname change /etc/sysconfig/network --> HOSTNAME=foo.bar.baz And reflect your hostname in the /etc/hosts file too for IP mapping. Alexander -- Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13 Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.6-1.435.2.3.ad.umlsmp Serendipity 03:08:47 up 2 days, 8:33, load average: 0.09, 0.15, 0.15
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil