Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Possible Fix for eth0 madness?!
@ 1997-04-03 16:09 Scott Serr
  0 siblings, 0 replies; 2+ messages in thread
From: Scott Serr @ 1997-04-03 16:09 UTC (permalink / raw)


I've read the "eth0 hangs on boot" comments over the last couple of
months, it effected me on the universities UDB, now that I have my 
own I have to figure this out.

People that have this problem...
- Don't use the Tulip driver, use the DE4X5...  As I found out
  when all of the physical science buildings subnet went berzerk.
- Use an up to date kernel (2.0.29)
- Use RH4.1 (you don't have to, but why not?  It has easy TGA with XFree3.2)

In addition, I don't have a /etc/nsswitch.conf to delete and putting
"sleep 10s" didn't help in /etc/rc.d/init.d/network.  I put it in
the for loop just after the ifup statement, don't know if that was
right.  I looked in /etc/sysconfig/network-scripts/ifup...  It was
a little bit more complicated than I was hoping for, it would take
someone with more time and knowledge to sort it all out.

OK...  Here is were I made my personal breakthrough.  I've found that
one of the reasons it locks is that its doing something with the 
gateway (GATEWAY= in /etc/sysconfig/network).  If the gateway happens
to be unreachable (in my case its an Intel/Linux box doing IP Masq)
or turned off, then the boot sequence hangs for ~10 minutes.  Unless,
I can suddenly reach my gateway again, then it continues in 30sec or so.
THE FIX: have GATEWAY= (nothing)...  It boots fine then (for me atleast),
and then do something like this further in the boot sequence:

	route add (UDB IP) gw (GW IP) dev eth0

It works fine now, I get what I want...  The ability to boot, if my
gateway is down.  It is gross and messy though.  A fix instead of
a work around would be helpful.

I'm sure some of these things are obvious to most of the audience,
but it could save a newbie's life.

-Scott Serr
serrs@wrykyn.isu.edu

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Possible Fix for eth0 madness?!
       [not found] <199704031609.JAA00520@wrykyn.isu.edu>
@ 1997-04-03 17:21 ` Frederic Tschannen
  0 siblings, 0 replies; 2+ messages in thread
From: Frederic Tschannen @ 1997-04-03 17:21 UTC (permalink / raw)


I don't need a 'sleep 10' either. It seems that 

#network start

is reading network values and then does :

	for i in ifcfg-*[0-9o]; do
                ./ifup $i boot
        done

FOR-loops sort the arguments in alphabetical order.
In my case the loop is equivalent to:

#/etc/sysconfig/network-scripts/ifup ifcfg-eth0 boot 
#/etc/sysconfig/network-scripts/ifup ifcfg-lo boot

this is very, very bad.

Solution:

try to start the loopback before the network interfaces, 
- it works perfect - without waiting 10 seconds or deleting 
any file !

Fred
 

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-04-03 17:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <199704031609.JAA00520@wrykyn.isu.edu>
1997-04-03 17:21 ` Possible Fix for eth0 madness?! Frederic Tschannen
1997-04-03 16:09 Scott Serr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox