[lug] Automatically setting route on KRUD/FC3
Elyse M. Grasso
emgrasso at data-raptors.com
Mon Jun 20 09:53:16 MDT 2005
On Monday 20 June 2005 09:08 am, Hugh Brown wrote:
> 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:
>
> > 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.
Cleaning out the files seems to have fixed things. I strongly suspect that the
RedHat tools putting that GATEWAYDEV line in the ifcfg file is what broke
things...
--
Elyse Grasso
http://www.data-raptors.com Computers and Technology
http://www.astraltrading.com Divination and Science Fiction
More information about the LUG
mailing list