LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-23-2003, 06:29 PM   #1
allasso
Member
 
Registered: Oct 2003
Distribution: debian
Posts: 35

Rep: Reputation: 15
not detecting eth0 on new debian install


I have just installed debian; kernel 2.4.18-1-k6.

running ifconfig eth0 gives:

error fetching interface information: device not found

It was suggested to run modconf, and choose a module. Running modconf brings up a menu driven app which asks me, "please select the category of modules". There are no categories shown, only, "exit finished. return to previous menu". Clicking "ok" takes me back to the command line.

help?

Allasso
 
Old 10-23-2003, 06:33 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
is eth0 an onboard chip or pci card? the reason i ask is you could try lspci to see if it is listed.
 
Old 10-23-2003, 06:50 PM   #3
allasso
Member
 
Registered: Oct 2003
Distribution: debian
Posts: 35

Original Poster
Rep: Reputation: 15
It is a pci card.

note: I installed debian on my second hard drive. I am using Redhat 8.0 on my other hard drive, and don't have any problems with the card.
 
Old 10-23-2003, 06:54 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
can you look at your redhat installation and get the card info, model, manuf, & most importantly what module the card uses?
 
Old 10-23-2003, 07:10 PM   #5
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
i'm running mandrake and i'm unsure if some of the commands i'd offer would work the same way under debian, however, here are a few links to some pertinent info concerning nics, commands and debian.

http://www.linuxchix.org/pipermail/t...ch/014884.html
http://qref.sourceforge.net/Debian/r...erence.en.html
http://www.debian.org/doc/manuals/re...ateway.en.html

good luck. hope this helps.
 
Old 10-23-2003, 07:25 PM   #6
allasso
Member
 
Registered: Oct 2003
Distribution: debian
Posts: 35

Original Poster
Rep: Reputation: 15
Looks like a lot of good stuff there. Thanks
 
Old 10-23-2003, 07:39 PM   #7
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
your welcome.
 
Old 10-23-2003, 09:42 PM   #8
allasso
Member
 
Registered: Oct 2003
Distribution: debian
Posts: 35

Original Poster
Rep: Reputation: 15
I noticed something interesting while watching Debian boot up:

Configuring network interface: modprobe: modprobe: Can't open dependencies file /lib/modules/2.4.18-14/modules.dep (no such file or directory)

Which makes sense; the only thing in /lib/modules is 2.4.18-k6 and 2.4.18-1-k6.

The interesting part is that 2.4.18-14 is in my /lib/modules directory in Redhat.
Hmmmmmmmmmmmm.......

Any ideas?

Is it possible to be using the kernel for Redhat, while using the filesystems that I have Debian on?

Could I have LILO configured incorrectly? To use LILO to boot into my Debian system, I simply added the Debian system into my existing /etc/lilo.conf in Redhat.

As far as the info on eth0 from Redhat:

card: lite-on LNE100TX

driver: tulip

I could not figure out how to find out which module it is using in Redhat. Any suggestions?
 
Old 10-24-2003, 12:23 AM   #9
allasso
Member
 
Registered: Oct 2003
Distribution: debian
Posts: 35

Original Poster
Rep: Reputation: 15
Okay, all better.

It appears that I actually had the 2.4.18-14 kernel installed in the Debian system. I am assuming this since that was the only version that showed up in the /boot directory (/boot/initrd-2.4.18-14). I copied recursively /lib/modules/2.4.18-14 from my Redhat system into /lib/modules on my Debian system, and I was then able to configure the card using modconf. I don't know why it wasn't in there to begin with; maybe I installed the kernel wrong when I tried installing 2.4.18-k6.

BTW, is it possible to have more than one kernel on a filesystem, and just write respective lines in LILO to boot into the kernel you want?
 
Old 10-24-2003, 12:27 AM   #10
allasso
Member
 
Registered: Oct 2003
Distribution: debian
Posts: 35

Original Poster
Rep: Reputation: 15
...........and thanks for the tip on getting the info on the card from Redhat, and the Debian manual page. That made it go easy when I finally got to configuring things.
 
Old 10-24-2003, 06:41 AM   #11
Kroenecker
Member
 
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
I cant tell you exactly how to do it, but I am positive that you can have several different kernel files that you select in Lilo to boot from. Just use the proper filenames in Lilo.
 
Old 10-24-2003, 09:39 AM   #12
allasso
Member
 
Registered: Oct 2003
Distribution: debian
Posts: 35

Original Poster
Rep: Reputation: 15
thanks, Allasso
 
  


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
debian not detecting wireless ethernet card macmanus_bros Linux - Hardware 2 06-27-2005 10:51 PM
Debian net install/failed eth0 fincher69 Linux - Networking 0 02-03-2005 08:12 PM
Debian not detecting my hard drives. brynjarh Debian 2 10-21-2004 08:48 PM
Debian not detecting my network card pwaring Debian 17 03-30-2004 11:51 AM
not detecting keyboard or mouse on install jon_currell Linux - Software 3 03-18-2001 12:29 PM


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