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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-06-2005, 10:50 PM
|
#1
|
Member
Registered: Nov 2005
Posts: 40
Rep:
|
Help me ! How to config eth0 on LFS ???
This is my configure (eth on board)
-------------------------
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
IPADDR=10.0.0.200
NETMASK=255.255.255.0
BROADCAST=10.0.0.255
-------------------------
Mainboard Asus A8V
CPU AMD 3000+
512MB DDR 400
HDD 80Gb
LFS kernel 2.6.14
I have installed eth0's driver.
When booting the LFS, it doesn't recognize eth0.
Why ??? What's wrong ???
Please help me !!! Thanks
|
|
|
12-07-2005, 01:23 AM
|
#2
|
Member
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204
Rep:
|
Did you compile it as a module, or as part of the kernel?
|
|
|
12-07-2005, 01:40 AM
|
#3
|
Member
Registered: Nov 2005
Posts: 40
Original Poster
Rep:
|
I compiled it as a module.
Help me !
|
|
|
12-07-2005, 03:42 AM
|
#4
|
Member
Registered: Sep 2005
Posts: 244
Rep:
|
Quote:
Originally Posted by tritong
I compiled it as a module.
Help me !
|
Did you compiled mii also as module as it should?
/etc/resolv and /etc/hosts configured properly?
Last edited by mr_demilord; 12-07-2005 at 03:44 AM.
|
|
|
12-07-2005, 08:51 AM
|
#5
|
Member
Registered: Feb 2003
Posts: 149
Rep:
|
Quote:
Originally Posted by tritong
I compiled it as a module.
Help me !
|
Does it load the module at bootup?
Whats the name of your NIC and what it's module name?
|
|
|
12-07-2005, 08:07 PM
|
#6
|
Member
Registered: Nov 2005
Posts: 40
Original Poster
Rep:
|
Quote:
Originally Posted by mr_demilord
Did you compiled mii also as module as it should?
/etc/resolv and /etc/hosts configured properly?
|
/etc/resolv.conf
#Begin /etc/resolv.conf
domain localhost.localdomain
nameserver 203.162.4.190
nameserver 203.162.4.191
#End /etc/resolv.conf
/etc/hosts
#Begin /etc/hosts
127.0.0.1 localhost
#End /etc/hosts
Quote:
Originally Posted by muppski
Does it load the module at bootup?
Whats the name of your NIC and what it's module name?
|
I used driver for eth0 on the CD (main board)
Name of my NIC is Marvell SysKonnect 1Gb on board
I installed its driver - sklin98 (as a module).
|
|
|
12-08-2005, 03:14 AM
|
#7
|
Member
Registered: Nov 2005
Posts: 40
Original Poster
Rep:
|
help me !!!
How can i solve my problem, please ???
|
|
|
12-08-2005, 10:20 AM
|
#8
|
Member
Registered: Sep 2005
Posts: 244
Rep:
|
Quote:
Originally Posted by tritong
help me !!!
How can i solve my problem, please ???
|
Did you compiled mii also as module as it should?
whats the output of
|
|
|
12-08-2005, 07:47 PM
|
#9
|
Member
Registered: Nov 2005
Posts: 40
Original Poster
Rep:
|
Quote:
Did you compiled mii also as module as it should?
|
Yes, i did.
# ifconfig
Code:
lo Link encap: Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACJ RUNNING MTU:16436 Metric:1
RX packet:0 errors:0 dropped:0 overruns:0 frame:0
TX packet:0 errors:0 dropped:0 overruns:0 carrier:0
cllisons:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
|
|
12-08-2005, 10:56 PM
|
#10
|
Member
Registered: May 2005
Location: Ireland
Distribution: Slackware
Posts: 42
Rep:
|
As root, run:
/sbin/modprobe mii
/etc/rc.d/init.d/network start
And it should work.
|
|
|
12-09-2005, 09:49 AM
|
#11
|
Member
Registered: Jun 2005
Posts: 88
Rep:
|
Hi guys,
Not as if i can solve the tread's question...so sorry...i know this is not the right tread to start but i think u guys are e best person to answer my puzzleless mind.
i am a newbie in linux using RH 9 juz 2mths,
i hv this question: since Linux can change//compile//add modules//source from scratch & all,
Y is there the need for users to upgrade distro till FC4?
Understanding its a better version...with better capabilities.
Isn't it that we can compile, write files & we get the same results or are there any OS propietory restriction or difficulties in itself?
Understanding its open source too.
Is'nt recompiling's the fun part of linux, something like doing a(creating a <LFS> Linux From Scratch).
Or it takes someone//super smart with a strong C language to write it & set the OS up?
Or i got the LFS meaning wrong?
pls advise.............
thanks
|
|
|
12-09-2005, 10:17 AM
|
#12
|
Member
Registered: May 2005
Location: Ireland
Distribution: Slackware
Posts: 42
Rep:
|
Quote:
Originally Posted by SPo2
i hv this question: since Linux can change//compile//add modules//source from scratch & all,
Y is there the need for users to upgrade distro till FC4?
Understanding its a better version...with better capabilities.
|
Sure, you could checkout the latest, cutting edge version of Xorg from SVN and compile and install it. You can do that on any distribution if you have the balls. However, the benefits of doing so are close to nil, and alot of the time the disadvantages (instability, insecurity) outweigh the advantages.
I think that's what you wanted to know.
Quote:
Isn't it that we can compile, write files & we get the same results or are there any OS propietory restriction or difficulties in itself?
|
No restrictions, your distribution can't prevent you from compiling something.
Quote:
Is'nt recompiling's the fun part of linux, something like doing a(creating a <LFS> Linux From Scratch).
|
Some people think so. But most people don't. Compiling is sometimes pretty damn annoying. Sometimes I wish I could just 'apt-get blah' (and I could if I really wanted to).
Quote:
Or it takes someone//super smart with a strong C language to write it & set the OS up?
|
You don't need to know any C to compile things (unless there's an error in the source code, which there very rarely is), or to set things up.
Quote:
Or i got the LFS meaning wrong?
|
The LFS meaning.
Hope this helps.
Last edited by piratePenguin; 12-09-2005 at 10:19 AM.
|
|
|
12-10-2005, 12:19 PM
|
#13
|
Member
Registered: Jun 2005
Posts: 88
Rep:
|
Hi,
thanks for your time answering my questions.
Gives me a better ideas esp the Web page on LFS...........thats really helpful to a newbie like me.......
thanks
|
|
|
12-10-2005, 02:09 PM
|
#14
|
Member
Registered: Sep 2005
Posts: 244
Rep:
|
add the following to /etc/modprobe.conf
alias eth0 modulename
Last edited by mr_demilord; 12-11-2005 at 02:47 AM.
|
|
|
12-11-2005, 07:34 PM
|
#15
|
Member
Registered: Nov 2005
Posts: 40
Original Poster
Rep:
|
Thanks for your answers. It worked OK.
-------------------------------------------------------------------
Now I want to insert a PCI eth card Intel. Can I config it with the same ???
|
|
|
All times are GMT -5. The time now is 03:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|