LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-14-2009, 09:28 AM   #1
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
need I recompile kernel to get eth0 from ifconfig?


OK, so I'm sure this question has come up before, but I didn't find it under the search terms I used.

so i have been using wireless lan on a slackware installation, and forgot how to handle wired connections.

But I do an "ifconfig -a" and there is no eth0, only my lo and wlan.

I have recompile dthe kernel a few times and - unknowingly - may have got rid of eth0 (using a an nvidia mcp51 ethernet), doubt it, but it's possible.

So .. my question ... how to get the system to find eth0 without compiling kernel?

Cheers.
 
Old 01-14-2009, 10:32 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,632

Rep: Reputation: 2571Reputation: 2571Reputation: 2571Reputation: 2571Reputation: 2571Reputation: 2571Reputation: 2571Reputation: 2571Reputation: 2571Reputation: 2571Reputation: 2571
Please send output of lspci -v
 
Old 01-14-2009, 11:05 AM   #3
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Original Poster
Rep: Reputation: 32
thanks for the offer to read it, but it _is_ a supported ethernet card, I know because I have another installation on the same computer, and eth0 _does_come up on it.

I was about to a diff on their respective kernel compile configs, but that is obviously quite alot of work, I was just looking for a quick "astuce" as one says in french.

Thanks anyway, suggestion is appreciated.
 
Old 01-14-2009, 06:12 PM   #4
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Rep: Reputation: 39
you could lsmod to see if eth0 devices module is loaded..if not load it with modprobe then do ifconfig..not sure the name of the module..check it out on other linux install..you said you had another distro installed too right??if you do lspci you will be able to the chipset the eth0 uses..
 
Old 01-14-2009, 09:05 PM   #5
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, Windows 7
Posts: 1,253

Rep: Reputation: 55
Did you enter the configuration for eth0 into /etc/rc.d/rc.inet1.conf?
You can do this manually as root or run netconfig from the console.

Make certain the module is loaded as mentioned by others.

Then restart the network:

/etc/rc.d/rc.inet1 restart

Assuming you are running Slackware ...
 
Old 01-15-2009, 12:34 PM   #6
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Original Poster
Rep: Reputation: 32
thanks stratotak and Franklin

the fundamental problem here is my fear of going into the kernel configuration and figuring what I should change ... I always find the kernel config naems very confusing. But I went in anyway and _did_ see a network driver from NVIDIA not enabled. So I enabled it, recompiled, and booted it up,m and it all came good.

So the answer to my question is "yes, some times you have to fight to be a man" ... I mean, "sometimes you have to recompile the kernel in order to get ethernet working". ;-D
 
  


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
no eth0 in ifconfig -a Four Linux - Networking 3 08-24-2008 06:59 PM
ifconfig eth0 up does not 'revive' eth0 Micro420 Linux - General 2 04-22-2006 12:55 PM
Kernel Recompile = eth0 gone! --Suse 9.3 hamstar Linux - Software 12 11-09-2005 05:50 PM
ifconfig eth0 drdarkman Linux - Networking 2 01-30-2005 11:16 AM
eth0 removed from ifconfig after dhcpcd eth0 johnklvr Linux - Networking 3 01-15-2004 08:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration