2 macs and a linux on a LAN

John F. Kohler jkohler2 at earthlink.net
Fri Aug 4 10:09:01 PDT 2000



Eric Eisenhart wrote:

> On Fri, Aug 04, 2000 at 05:28:27PM +0100, John F. Kohler wrote:
> > [root at kohler /etc] cat sysconfig/network
> > NETWORKING=yes
> > HOSTNAME=kohler
> > FORWARD_IPV4=yes
> > GATEWAYDEV=                   (there is nothing there)
> > GATEWAY=                            (also empty)
> >
> > I think I am beginning to see a pattern here.......
>
> > here it is, without typos, if possible.
> > Kernel IP routint table
> > Destination    Gateway    Genmask                    Flags    Metric    Ref
> > Use    iface
> > 192.168.1.4    0.0.0.0     255.255.255.255    UH        0            0
> > 0        eth0
> > 192.168.1.0    0.0.0.0    255.255.255.0        U            0
> > 0        0        eth0
> > 127.0.0.0        0.0.0.0    255.0.0.0                U            0
> > 0        0        lo
>
> Okay, both of those show the same thing missing.
>
> What you need to do is edit /etc/sysconfig/network and make the
> "GATEWAYDEV=" line say "GATEWAYDEV=eth0" and make the "GATEWAY=" line have
> the IP address for your router.  (probably "GATEWAY=192.168.1.1" or
> "GATEWAY=192.168.1.254" -- check on your other machines or just try both of
> those.)

Once again, I have to exhibit my ignorance...

What I must do to add those values to that file is to edit the file, right?

I still need to learn how to edit a file using command line options.

john

>
> --
>     Eric Eisenhart   Freedom is slavery.      http://eric.eisenhart.com/
>  ^  ICQ#: 48217244   Ignorance is strength.   eric-dot-sig at eisenhart.com
> /e\ Perl&SQL Coder   War is peace.            IRC Nicks: Falsch Freiheit
> ---                        -- George Orwell




More information about the talk mailing list