I am running RH 6.1 on a Thinkpad 600x. I use a PCMCIA combo card for both
eth0 and ppp0 connectivity. I often run it without the card inserted.
I have /etc/hosts defined with a bogus hostname and FQDN pointing to a private
network address of 192.168.1.4, as well as localhost pointing to 127.0.0.1.
/etc/nsswitch.conf lists 'files' first for all common lookup tasks.
I run some programs that need to make socket connections to the machine they
are running on, like a java tutorial IED called bluej.
When I try to run these programs without my combocard inserted and hooked up to
a network via eth0 or ppp0, I get network unreachable messages. pinging my
bogus FQDN or my 192.168.1.4 address defined in /etc/hosts generates the same
network unreachable messages. Pinging localhost works fine. Telnet'ing to
either my hostname or the 192.168.1.4 IP address gets network unreachable as
well.
I want to have my FQDN and private IP address work OK when I am not connected
to a network, and I'm sure the answer to this is buried in either the network
startup or PCMCIA startup scripts, but I do not have a clue as to where to
start to figure out what is going on. I imagine that it has to do with
establishing either a default route or gateway somewhere, but I'm not sure.
Any help greatly appreciated!!
--
Tom Porter [EMAIL PROTECTED]
------------------------------------------------------------------------
"On two occasions I have been asked [by members of Parliament],
'Pray, Mr. Babbage, if you put into the machine wrong figures, will
the right answers come out?' I am not able rightly to apprehend the
kind of confusion of ideas that could provoke such a question."
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list