[PLUG] Network snag

J Henshaw jeff at jhenshaw.com
Fri Aug 23 10:38:21 UTC 2002


----- Original Message -----
From: "stuart mathews" <smathews at pcez.com>
To: <plug at lists.pdxlinux.org>
Sent: Friday, August 23, 2002 6:29 PM
Subject: [PLUG] Network snag


> I apparantly forgot how to get a Linux box to connect to the Internet, am
seeking
> counsel to get my box back online.
>
> I reinstalled Red Hat 7.2, and now can't reach the Internet (not a HUGE
shock!).
>
>
> I can successfully ping 127.0.0.0.1 but attempts to ping my default gw or
even
> "localhost" generates a "Network is unreachable" message.
>
> I am pretty sure I have /etc/hosts and resolv.conf set correctly.
>
> This file currently looks like  /etc/sysconfig/network:
>
> NETWORKING=yes
> HOSTNAME=(my hostname...)
> GATEWAY=(my ISP's default gw here...)
>
>
> And /etc/sysconfig/network-scripts
>
> ONBOOT=yes
> BOOTPROTO=static
> IPADDR=(my IP address here...)
> NETMASK=255.255.255.0
> GATEWAY=(my ISP's default gw here...)

This is fine,  as long as the machine is directly connected to your ISP ( no
firewall box in the middle )

> BROADCAST=(not 100% certain what this should look like)
> NETWORK=(should this be my default gw with a .255 at the end?)

This should be your IPADDR with .255 at the last octect

> USERCTL=no
>
> What am I overlooking?
>
> -------------------
> http://www.pcez.com
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug





More information about the PLUG mailing list