LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   almost done .. (https://www.linuxquestions.org/questions/linux-from-scratch-13/almost-done-14294/)

notsoevil 02-14-2002 11:11 PM

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?

Mik 02-15-2002 02:26 AM

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.

notsoevil 02-15-2002 07:23 AM

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.

lfslinux 02-15-2002 08:02 AM

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.

notsoevil 02-15-2002 08:08 AM

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.


All times are GMT -5. The time now is 06:20 PM.