Few lfs questions
Ok. I managed to install and boot it. But, I have few errors regarding eth0. There's an error when system is booting and shutting down. The first is regarding /etc/rc.d/rc3.d/S20network, the other /etc/rc.d/rc6.d/k80network with return value ->255.
In the /etc/hosts file during configuration: cat > /etc/hosts << "EOF" # Begin /etc/hosts (network card version) 127.0.0.1 localhost.localdomain localhost 192.168.1.1 www.mydomain.org <value of HOSTNAME> # End /etc/hosts (network card version) EOF I didn't enter any value for "(network card version)." Does this has to do with the errors I get during boot/shutdown? The other question I have; I can log into the system as root, however, instead of getting the root prompt "#" I get "bash-2.05a#"; is this normal or something is wrong? Thanks in advance for any tips. |
Re: Few lfs questions
Quote:
|
No, you don't need to replace "(network card version)" with anything. That particular line is a comment, and ignored by the system.
As for the prompt, no, that's normal. That's the default text displayed when PS1 is not set. What error message is the boot script displaying? |
Did you compile your ethernet driver as a kernel module? If so, you'd need to update your /etc/modules.conf:
place a line like this in there: alias eth0 3c59x where 3c59x is the name of the kernel module to load. 3c59x is for 3com-cards, your driver could be named "ee100" or similar - to get the name, go to the directory where you compiled your kernel (/usr/src/linux or /usr/src/linux-2.4.20 in general) and do a make menuconfig which brings up a frontend for your kernel-compilation settings. go to the network drivers, and when you found the driver you need to use with your card, select help. The modules are named somewhat.o and this "somewhat" is what you need to fill into /etc/modules.conf for the module name. If that didn't help, or if you compiled that module into the kernel -- please post the error message from the boot screen, not only the red one but also what went wrong (the text right before the red message) hth, CU citro |
All times are GMT -5. The time now is 02:48 AM. |