LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 06-27-2003, 08:55 PM   #1
Tuvok
Member
 
Registered: Mar 2003
Distribution: FreeBSD 6.1, NetBSD 3.0.1
Posts: 170

Rep: Reputation: 30
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.
 
Old 06-28-2003, 09:54 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Re: Few lfs questions

Quote:
Originally posted by Tuvok
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.
You didn't set your PS1 in your global /etc/profile or haven't created a .bashrc file to change your bash prompt in /home/~/.bashrc
 
Old 06-28-2003, 09:57 AM   #3
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
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?
 
Old 07-08-2003, 02:11 PM   #4
citro
LQ Newbie
 
Registered: Jul 2003
Posts: 17

Rep: Reputation: 1
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
 
  


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
Questions about building LFS kornerr Linux From Scratch 9 07-29-2005 08:06 AM
LFS Questions cclavey Linux From Scratch 2 07-19-2003 03:46 PM
LFS Mailing List Questions... Grim Reaper Linux From Scratch 9 01-02-2003 01:02 AM
LFS questions dj_relentless Linux From Scratch 6 02-06-2002 09:53 PM
couple LFS questions glock19 Linux From Scratch 8 01-30-2002 06:07 PM


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