LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 05: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 05:36 PM.
 
Old 08-22-2006, 01:32 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,663

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, 12: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, 12:59 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,663

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, 09: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, 11:03 AM   #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 04:05 AM
Encrypting disck with loopback device crash88 Linux - Security 4 05-22-2006 03:03 PM
loopback device praveenv Linux - Newbie 2 08-23-2004 07:27 AM
writing a loopback device ebh1 Linux - Newbie 2 03-12-2004 05:12 PM
loopback device in 2.5.47 broken markus1982 Linux - General 3 11-13-2002 11:52 AM


All times are GMT -5. The time now is 11:19 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration