LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-14-2002, 11:11 PM   #1
notsoevil
Member
 
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120

Rep: Reputation: 15
almost done ..


Everything is pretty much working fine, save some net problems:

On bootup, I get the following errors:

Bringing up the loopback interface...modprobe: modprobe: Can't locate module net-pf-4
modprobe: modprobe: Can't locate module net-pf-5
modprobe: modprobe: Can't locate module net-pf-9
..[a few lines late]..
Brining up the eth0 interface...SIOCSIFADDR: No such device
eth0: unknown interface: No such device
SIOCSIFBRADDR: No such device
eth0: unknown interface: No such device
SIOCSIFNETMASK: No such device

ifconfig shows only the loopback

However, after logging in, if I 'insmod tulip' and then '/etc/init.d/ethnet restart', ifconfig loopback and eth0

First, what is up with the 'net-pf' modules and loopback?
Second, how can I get tulip to load properly?
 
Old 02-15-2002, 02:26 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
The net-pf errors are in the lfs faq. http://linuxfromscratch.org/faq/#AEN362

And you could add the line insmod tulip to one of your bootscripts. Or you could add it to the ethnet script. When it brings the network interface up you could do a insmod and when it brings it down do a rmmod.
 
Old 02-15-2002, 07:23 AM   #3
notsoevil
Member
 
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120

Original Poster
Rep: Reputation: 15
The FAQ! Duh! Sorry.

I tried adding it to ethnet, I must have just done it a bit wrong -- hey, it was late in the night (actually, morning by then). I'll do it again.
 
Old 02-15-2002, 08:02 AM   #4
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Quote:
Originally posted by notsoevil
The FAQ! Duh! Sorry.

I tried adding it to ethnet, I must have just done it a bit wrong -- hey, it was late in the night (actually, morning by then). I'll do it again.
If you want to use modules, you may want to check into the kernel auto module loading feature. Whenever you try to do something that requires a module loaded, the kernel will attempt to load the module(s) automatically. You can setup cron to periodically scan the loaded modules list and unload modules that haven't been used in a certain amount of time.
 
Old 02-15-2002, 08:08 AM   #5
notsoevil
Member
 
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120

Original Poster
Rep: Reputation: 15
I thought I had set up the kernel for auto-loading modules. I'll look into it again tonight.

I am going to be setting up another LFS system today, for a work workstation. I was so impressed with performance last night mucking around that I am convinced of the benefits of LFS over distributions.

Tonight I am going to put X and blackbox on that machine, see how they run -- I am sure it will be slick.
 
  


Reply



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



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

All times are GMT -5. The time now is 02:20 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