ifconfig lo0 localhost up

Hello,

In my /etc/netstart file, which is the installation default, save for HOST name changes,
I have the following line:
ifconfig lo0 localhost up

When I run /etc/netstart, the script hangs on this line. I have changed cards to no avail
and this just started a few weeks ago. QNX networking is fine, and I can FTP & telnet from
the node.

127.0.0.1 LOCALHOST
is the first line in my /etc/hosts file.

What gives?


Kevin

“Pace Control Systems” <kevinh@paceolm.com> wrote in message
news:Voyager.010102151555.999B@KLH…

Hello,

In my /etc/netstart file, which is the installation default, save for HOST
name changes,
I have the following line:
ifconfig lo0 localhost up

When I run /etc/netstart, the script hangs on this line. I have changed
cards to no avail
and this just started a few weeks ago. QNX networking is fine, and I can
FTP & telnet from
the node.

127.0.0.1 LOCALHOST
is the first line in my /etc/hosts file.

What gives?

/etc/hosts is case sensitive, probably. You have no entry in /etc/hosts for
localhost, only
for LOCALHOST. The ifconfig line therefore tries to resolve “localhost”
through a DNS,
which might be configured in your /etc/resolv.conf file. This generally
takes a long time to
time out, and appears to hang the ifconfig line.

Try either changing LOCALHOST to localhost, or add localhost at the end of
your
127.0.0.1 line, separated from LOCALHOST with a space.

Andrew