LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 08-19-2006, 06:15 PM   #1
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
no loopback device


Hello,

I recently installed LFS 6.2 from a LiveCD onto a Sony Vaio VGN-B1XP.

All went well, I learned plenty, and was able to iron out a few wrinkles, but am stuck on one thing.

At the end of the boot process, when the services are starting up, I get the following error message:


Bringing up the loopback interface...
Cannot find device "lo"
SIOCGIFFLAGS: No such device [FAIL]


I tried modifying the instructions at section 7.13 and making an
/etc/sysconfig/network-device/ifconfig.lo/ipv4 file but that just changed the error message to "Interface lo doesn't exist"

Other, possibly pertinent, details: I have installed net-tools from BLFS, and have recompiled the kernel several times - but this is the only error message I see.

Can anyone tell me how to create the loopback interface?

Thanks,

John

Last edited by jkobrien; 08-19-2006 at 06:36 PM.
 
Old 08-22-2006, 02:32 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,638

Rep: Reputation: Disabled
Seeing that no one answers here I'll share some thoughts, but please keep in mind that I am by no way any sort of expert here and in linux in general .

The loopback is a special device in /dev/lo*, right? It can be created by "mknod" -- so why don't you write a script which creates a loopback as needed before the services are started and have that script called by e.g. "init"?

Anyway, good luck .
 
Old 08-30-2006, 01:14 PM   #3
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Original Poster
Rep: Reputation: 30
Thanks for your reply. Your caveats (1,444 posts though?) and my lack of experience with mknod made me hesitate to try your suggestion.

Anyway, I managed to fix it. My network rules file had an entry SYSFS(address) instead of SYSFS{address}.

The moral of the story? Sit real close to the screen !

John
 
Old 08-31-2006, 01:59 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,638

Rep: Reputation: Disabled
Quote:
Originally Posted by jkobrien
...1,444 posts though?...
Oh well, I'm mostly here to learn and I do that best by asking questions .

Quote:
Originally Posted by jkobrien
...The moral of the story? Sit real close to the screen !
Relax, I'm myopic, too .
 
Old 01-12-2009, 10:37 PM   #5
ekek
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by jkobrien View Post
Thanks for your reply. Your caveats (1,444 posts though?) and my lack of experience with mknod made me hesitate to try your suggestion.

Anyway, I managed to fix it. My network rules file had an entry SYSFS(address) instead of SYSFS{address}.

The moral of the story? Sit real close to the screen !

John
I have the same problem. Would you provide the entire line of SYSFS{address} that you added in the ../rule.d/26-modprobe.rules for "lo" loopback device?

Thanks.
 
Old 01-13-2009, 12:03 PM   #6
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Original Poster
Rep: Reputation: 30
Hi,

I'm sorry, that was two years and a couple of laptops ago! I don't have the file anymore. All I remember about it now is that I'd used () where I should have used {}.

John
 
  


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
PCAP on LOOPBACK Device johnnyde Programming 4 03-05-2009 05:05 AM
Encrypting disck with loopback device crash88 Linux - Security 4 05-22-2006 04:03 PM
loopback device praveenv Linux - Newbie 2 08-23-2004 08:27 AM
writing a loopback device ebh1 Linux - Newbie 2 03-12-2004 06:12 PM
loopback device in 2.5.47 broken markus1982 Linux - General 3 11-13-2002 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:37 AM.

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