On Sun, 13 Aug 2000, Thomas Porter wrote:
> 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!!
>
>
One way to do it is to set your FQDN to use the loopback address
(127.0.0.1) You can ping 127.0.0.1, right?
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list