?: how is the loopback created; please help

?: how is the loopback created; please help

Post by ronald s cho » Sat, 27 Feb 1999 04:00:00



hi there.  i recently upgraded from rh4.2 to rh5.2 and have since
upgraded the kernel to 2.2.1.  i have no loopback on bootup.
'ifconfig' returns nothing.  netcfg (nettool ??) shows the loopback
and my eth0 as present but lo does not activate when i click
'activate'.

i've tried doing 'ifconfig lo up'; it creates the loopback but 'ping
localhost' gives errors (network unreachable, i think) and 'telnet
localhost' immediately closes the connection.  i get the same thing if
i do 'ifconfig lo 127.0.0.1'. i tried also doing 'route add 127.0.0.1'
but i get an SIOADDxxx (don't remember exactly) error.

i've found the ifcfg-lo in /etc/sysconfig/network-scripts, but i don't
know when this is called and by whom.

can someone give me some hints on how and when the loopback device is
created??  i have changed the config of the kernel (enabled smp,
sound, network card, etc) but i didn't see any config options for the
network loopback. (there is a loopback but it's used for block
devices; drives, etc, i believe. i've enable that one anyway.)

*many* thanks!

-ron

 
 
 

?: how is the loopback created; please help

Post by GA » Sat, 27 Feb 1999 04:00:00


I saw something on this in the Caldera faqs

http://support.calderasystems.com/caldera?solution&11-981109-0021&100...
308&14-0&15-0&25-&3-&30-5


t>...

Quote:>hi there.  i recently upgraded from rh4.2 to rh5.2 and have since
>upgraded the kernel to 2.2.1.  i have no loopback on bootup.
>'ifconfig' returns nothing.  netcfg (nettool ??) shows the loopback
>and my eth0 as present but lo does not activate when i click
>'activate'.

>i've tried doing 'ifconfig lo up'; it creates the loopback but 'ping
>localhost' gives errors (network unreachable, i think) and 'telnet
>localhost' immediately closes the connection.  i get the same thing if
>i do 'ifconfig lo 127.0.0.1'. i tried also doing 'route add 127.0.0.1'
>but i get an SIOADDxxx (don't remember exactly) error.

>i've found the ifcfg-lo in /etc/sysconfig/network-scripts, but i don't
>know when this is called and by whom.

>can someone give me some hints on how and when the loopback device is
>created??  i have changed the config of the kernel (enabled smp,
>sound, network card, etc) but i didn't see any config options for the
>network loopback. (there is a loopback but it's used for block
>devices; drives, etc, i believe. i've enable that one anyway.)

>*many* thanks!

>-ron


 
 
 

?: how is the loopback created; please help

Post by ronald s cho » Sat, 27 Feb 1999 04:00:00




Quote:> hi there.  i recently upgraded from rh4.2 to rh5.2 and have since
> upgraded the kernel to 2.2.1.  i have no loopback on bootup.

well, i solved the problem.  i startup in runlevel 5 in order to make
X start automagically on bootup.  i discovered that /etc/rc.d/rc5.d
did not have a link to the network start script (/etc/init.d/network).

so i just needed to do:

    cd /etc/rc.d/rc5.d
    ln -s ../init.d/network S10network

btw, i noticed rc3.d/ did have this link to start the network. level 3
is the default startup runlevel (specified in /etc/inittab) for a
redhat install, hence why it would be in rc3.d.

after the above fix, all is as it should have been. i think this *MAY*
a redhat bug; they don't have this link in rc5.d.  <shrug>

-ron

 
 
 

?: how is the loopback created; please help

Post by Robert Lync » Sat, 27 Feb 1999 04:00:00





> > hi there.  i recently upgraded from rh4.2 to rh5.2 and have since
> > upgraded the kernel to 2.2.1.  i have no loopback on bootup.

> well, i solved the problem.  i startup in runlevel 5 in order to make
> X start automagically on bootup.  i discovered that /etc/rc.d/rc5.d
> did not have a link to the network start script (/etc/init.d/network).

> so i just needed to do:

>     cd /etc/rc.d/rc5.d
>     ln -s ../init.d/network S10network

> btw, i noticed rc3.d/ did have this link to start the network. level 3
> is the default startup runlevel (specified in /etc/inittab) for a
> redhat install, hence why it would be in rc3.d.

Hey, this helped a lot. I installed RH5.2 with a network config, yet
there was no link in rc3.d.

It's interested that, at least in my experience of screwing around
*forever*, you can not get a caching nameserver going without this
interface... I had figured out that this was the problem and hacked a
solution by bringing the interface up in the named script, just before
named itself was started.

It's a bit nicer this way... ;-)

Quote:> after the above fix, all is as it should have been. i think this *MAY*
> a redhat bug; they don't have this link in rc5.d.  <shrug>

> -ron

Yup, I agree: it's a bug (maybe a double one, counting my experience).

Bob L.
--

http://www.veryComputer.com/~rm*/

 
 
 

1. Help: gated keeps killing and creating loopback?

I just installed xntpd on my machine and something strange started
happening (added below is an excerpt from my /var/log/messages):

It appears that this happens now even when xntpd is NOT running.  Any
ideas WHY this is happening?  HELP! :)

Lisa

---------------------------------------

Excerpt:

Aug 20 14:57:50 machine gated[196]: EVENT Add lo 127.0.0.1/255 <Up
roadcast Loopback>
Aug 20 14:58:05 machine gated[196]: EVENT Delete UpDown lo
127.0.0.1/255 <Broadcast Loopback>
Aug 20 14:58:05 machine gated[196]: EVENT Add lo 127.0.0.1/255 <Up
Broadcast Loopback>
Aug 20 14:58:20 machine gated[196]: EVENT Delete UpDown lo
127.0.0.1/255 <Broadcast Loopback>
Aug 20 14:58:20 machine gated[196]: EVENT Add lo 127.0.0.1/255 <Up
Broadcast Loopback>
Aug 20 14:58:35 machine gated[196]: EVENT Delete UpDown lo
127.0.0.1/255 <Broadcast Loopback>
Aug 20 14:58:35 machine gated[196]: EVENT Add lo 127.0.0.1/255 <Up
Broadcast Loopback>
Aug 20 14:58:50 machine gated[196]: EVENT Delete UpDown lo
127.0.0.1/255 <Broadcast Loopback>
Aug 20 14:58:50 machine gated[196]: EVENT Add lo 127.0.0.1/255 <Up
Broadcast Loopback>
Aug 20 14:59:05 machine gated[196]: EVENT Delete UpDown lo
127.0.0.1/255 <Broadcast Loopback>
Aug 20 14:59:05 machine gated[196]: EVENT Add lo 127.0.0.1/255 <Up
Broadcast Loopback>
Aug 20 14:59:20 machine gated[196]: EVENT Delete UpDown lo
127.0.0.1/255 <Broadcast Loopback>
Aug 20 14:59:20 machine gated[196]: EVENT Add lo 127.0.0.1/255 <Up
Broadcast Loopback>
Aug 20 14:59:35 machine gated[196]: EVENT Delete UpDown lo
127.0.0.1/255 <Broadcast Loopback>
Aug 20 14:59:35 machine gated[196]: EVENT Add lo 127.0.0.1/255 <Up
Broadcast Loopback>
Aug 20 14:59:50 machine gated[196]: EVENT Delete UpDown lo
127.0.0.1/255 <Broadcast Loopback>
Aug 20 14:59:50 machine gated[196]: EVENT Add lo 127.0.0.1/255 <Up
Broadcast Loopback>
Aug 20 15:00:05 machine gated[196]: EVENT Delete UpDown lo
127.0.0.1/255 <Broadcast Loopback>
Aug 20 15:00:05 machine gated[196]: EVENT Add lo 127.0.0.1/255 <Up
Broadcast Loopback>

2. BINDISTRIB:zoo2.1

3. Loopback device - please help

4. Newbie network setup question

5. i am new and have dumb questions to ask, please help!

6. Linux as router...

7. "Bus error" please help, I am going insane!

8. fork and execlp question

9. PLEASE HELP: am stuck configing X for Diamond Stealth

10. I am dumb!! Please Help

11. I'am collecting international insults! Please help!

12. ftpd I am almost there please help!!

13. Please help I am very new.