[lug] Automatically setting route on KRUD/FC3

Hugh Brown hugh at math.byu.edu
Mon Jun 20 09:08:39 MDT 2005


The parameters in those files are used by the various scripts that bring
up the interface (so if you have the time, trace /etc/init.d/network from
start to finish).

/etc/sysconfig/network on my RH3 machine has
NETWORKING=yes
HOSTNAME=machinename

/etc/sysconfig/network-scripts/ifcfg-eth0:

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Ethernet
PEERDNS=no

You might also look at the contents of /etc/sysconfig/networking/ and make
sure the various files match what you'd expect them to.  I too find that
the redhat network tool ends up being more trouble than it's worth (unless
it's all you ever use to configure your network, even then it's iffy).

Hugh


 On
Mon, 20 Jun 2005, Elyse M. Grasso wrote:

> I just got broadband at home (finally). I'm using dhcp from a linksys router.
> My laptop worked fine until I turned on an old computer that had a dhcp
> server on it (so that I could disable the server).
>
> Since then my laptop's settings have gotten into a mode where I have to
> manually force the default route after I power up the machine.
>
> I tried running Redhat's network config tool to fix things, which was probably
> a mistake. (I hadn't tried it for a year or so because it always seems to
> break something in the network config.)
>
> Could someone using dhcp who doesn't have this problem post their ifcfg-etho
> and /etc/sysconfig/network files?
>
> There is a line
> GATEWAYDEV=	# this is for setting default route
>
> in my ifcfg-eth0 that I cannot find mentioned in any google results for ifcfg
> files, and I'm wondering if this may be part of the problem.
>
> Is there a good doc somewhere about all of the options for these files and how
> they are supposed to fit together.
>
> Thanks
> --
> Elyse Grasso
>
> http://www.data-raptors.com    Computers and Technology
> http://www.astraltrading.com   Divination and Science Fiction
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
>
>



More information about the LUG mailing list