Re: "Cannot get IP address of my own host" message

From: John Prather (jprather_at_uci.edu)
Date: 03/23/05


Date: Tue, 22 Mar 2005 16:29:18 -0800

Anthropos wrote:
> "Anthropos" <Anthropos@SWBell.net> wrote in message
> news:HF10e.469$oy3.93@newssvr30.news.prodigy.com...
> When I run cvsup, I get the following message:
>
> "Cannot get IP address of my own host -- is its hostname correct?"
>
> Typing the 'hostname' command yields the correct hostname.
>
> The NIC is identified as 'xl0'.
>
> rc.conf contains the line:
>
> ifconfig_xl0="DHCP" <-- Correction
>
> Typing the 'ifconfig' command yields a correct 192.168.x.y IP address for
> 'xl0'.
>
> What am I missing?...

Does the hostname returned by `hostname` resolve to an IP address?

Perhaps it should be in your /etc/hosts ?



Relevant Pages

  • Re: "Cannot get IP address of my own host" message
    ... > Typing the 'hostname' command yields the correct hostname. ...
    (comp.unix.bsd.freebsd.misc)
  • "Cannot get IP address of my own host" message
    ... Typing the 'hostname' command yields the correct hostname. ... The NIC is identified as 'xl0'. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: "Cannot get IP address of my own host" message
    ... Typing the 'hostname' command yields the correct hostname. ... The NIC is identified as 'xl0'. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: problem with hostname
    ... /etc/hostname and replace the existing with the correct hostname you ... And that's bad advice - don't use sudo for graphical applications, ... And someone else gave the correct advice ... hostname listed with other things. ...
    (Ubuntu)
  • Re: change hostname in senders header
    ... hostname in sender's header. ... I figured it out that changing domain in "From: " header using ... I want to insert correct hostname or domain into sender's header ... I think I might have to change ruleset in sendmail.cf file, ...
    (comp.mail.sendmail)