LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-22-2005, 10:01 AM   #1
JazzMastaJim
Member
 
Registered: Jun 2004
Location: Deep in the woods of southern NJ
Distribution: Pendrivelinux 2008
Posts: 70

Rep: Reputation: 15
How to get back my loopback?


Running SuSE 8.1:

Somehow, my loopback disappeared. AFAIK, I didn't change anything -- one day it was there, and the next day, it wasn't.

What do I need to do to get the loopback working again?

TIA!
 
Old 07-22-2005, 06:26 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
This will normally do it, assuming that it's configured properly:
Code:
sudo /sbin/ifup lo
 
Old 07-23-2005, 11:38 AM   #3
JazzMastaJim
Member
 
Registered: Jun 2004
Location: Deep in the woods of southern NJ
Distribution: Pendrivelinux 2008
Posts: 70

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by rjlee
This will normally do it, assuming that it's configured properly:
Code:
sudo /sbin/ifup lo
Thanks! I'll try that.

How can I make sure that lo comes up automatically on bootup again, or will that do it?
 
Old 07-24-2005, 08:22 AM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
Quote:
Originally posted by JazzMastaJim
How can I make sure that lo comes up automatically on bootup again, or will that do it?
No, that will only bring the interface up.

Firstly, make sure that your network service is configured to come up in your default runlevel. That is, you should have a file called /etc/rc.d/rc5.d/Sxxnetwork where xx is a two-digit number. This file should be responsible for configuring and starting the network interfaces. If not, then create it; it's a symbolic link to /etc/rc.d/network and the two-digit number is one less than the number of Sxxsyslog in the same directory.

If the link exists, then the easiest way to fix this is to put that command in your /etc/rc.d/boot.local file. I think that should fix it.
 
Old 07-28-2005, 09:07 PM   #5
JazzMastaJim
Member
 
Registered: Jun 2004
Location: Deep in the woods of southern NJ
Distribution: Pendrivelinux 2008
Posts: 70

Original Poster
Rep: Reputation: 15
Thanks. I haven't had the chance to try that yet, but I will.

Doing "ifup lo" returns a complaint about missing config for lo, for some reason.
 
Old 07-29-2005, 02:27 AM   #6
cyprinus
LQ Newbie
 
Registered: Jul 2005
Posts: 2

Rep: Reputation: 0
Check to see if the file /etc/sysconfig/network/ifcfg-lo exists
It should contain the following:

# Loopback (lo) configuration
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
BROADCAST=127.255.255.255
STARTMODE=onboot

Mark
 
Old 07-30-2005, 12:46 PM   #7
JazzMastaJim
Member
 
Registered: Jun 2004
Location: Deep in the woods of southern NJ
Distribution: Pendrivelinux 2008
Posts: 70

Original Poster
Rep: Reputation: 15
Thumbs up

It's working again! The file /etc/sysconfig/network/ifcfg-lo had disappeared somehow -- not as a result of anything I did AFAIK, because I haven't changed any settings on this machine in months. Once I wrote a new ifcfg-lo file and re-enabled the network config in the Runlevel Editor, everything was back to normal.

Thanks to rjlee and cyprinus for your help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
loopback device praveenv Linux - Newbie 2 08-23-2004 07:27 AM
How to set more than on loopback grub Linux - Software 2 02-11-2004 11:21 PM
Loopback won't come up Paul_assheton Linux - Networking 8 05-20-2003 08:31 AM
loopback problems Ismark Linux - Newbie 1 01-04-2002 06:05 PM
Loopback problems Ismark Linux - Networking 4 01-03-2002 09:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration