LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-25-2004, 04:17 AM   #1
Tian-SAIT
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
Post Mdk 10.1 network card installation problem


Hello,

I installed Mandrake 10.1 Community. Everything went fine and it is working.

I then tried to configure network using DrakConf. When trying to add a new network interface, it suggests me only 2 options:

- usb device
- manual selection of a driver

First one is a little weird. It seems to be for a point-to-point connection.

So I choosed second option. I know that this card needs 8139too driver (this card was on another box with Fedora Core 2 before and worked fine). I select this one.

Next screen is to select automatic or manual configuration or driver options. Whatever I choose, I have a small dialog box (it closes immediately, so I can't read it) and I am back to first screen (the one with USB option)!

I tried some manual configuration. I added this line to /etc/modprobe.conf


Code:
alias eth0 8139too
Then I loaded the driver:

modprobe 8139too

I created ifcfg-eth0 in network-scripts (with same options as on FC2 box).
And then I tried to bring interface up with:

ifup eth0

I got an error message:

interface eth0 not found

Does anybody have an idea of what I can do for this? Is there any bug with drakconnect? And did I miss something for manual configuration?

Thanks a lot for any help.

PS: I do not have Internet access on the Mandrake box.
 
Old 10-25-2004, 05:39 PM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Check the output of lsmod, dmesg and lsdev

You may have loaded the module but it may not be recognizing the card.

After you load the module you should get a message (visible via dmesg) indicating that the driver discovered the card.

If it doesn't drakconf will not show the new interface, no matter what you do.
 
Old 10-26-2004, 04:59 AM   #3
Tian-SAIT
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks opjose for these ideas I will do this test (check dmesg just after the load of the driver). But for the moment, I have no access to this box

There is something strange I noticed. If I do an lspci, the card returned an 8119 id instead of 8139. Maybe there is a hardware problem preventing driver to recognize the card. Is there any way to force him to handle this card?
 
Old 10-26-2004, 09:45 AM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
A-hah!

You have a card with a different rev.

In this situation what I normally do is download the kernel, kernel.src and kernel-source rpm's for a newer non-developement kernel (if possible).

I unpack the .src rpm so I can see the kernel source and pour thru the respective driver files to see if the new ID's (and often code) have been added to the kernel to support the new card revision.

If so I'll first try installing the kernel and kernel-source rpm's to see if this fixes the problem.

If not the next thing to do is to view the driver's homepage (if available) and see if the author/maintainer has done any updates to the driver to include my card.

Often all that needs to be done is either a line or two change, or single file replacement and a recompile of just the one driver.

It gets copied to /lib/modules/xxx replacing the old one, and you're done after a new modprobe.
 
Old 10-27-2004, 06:30 AM   #5
Tian-SAIT
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Original Poster
Rep: Reputation: 0
I swapped this card with the one in my FC2 box. And everything works perfect now

The card with the special ID is correclty detected by Fedora (I have a recent kernel version on it, that could be the reason). And the one that Mandrake is using, returns the correct identifier.

Maybe I will do more investigations when I will have Internet acces at home.

Thanks a lot opjose for your help
 
Old 10-27-2004, 03:49 PM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Great!

Yeah, you could probably find a similiar or newer rev kernel for MDK which would have also solved this problem for you.
 
  


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
kernel 2.6.8 can't load network card (mdk 10.1) rbonafied Mandriva 5 12-21-2004 04:15 PM
TV CARD installation with MDK 9.2 SpOmA Linux - Hardware 2 04-08-2004 05:48 AM
network installation of RH7.3 on laptop with pcmcia network card. Smerk Linux - Distributions 1 11-01-2002 12:56 AM
Problem with Network Card Installation nick Linux - Networking 6 07-13-2002 01:19 AM
Network card installation problem Drynish Linux - Networking 15 03-27-2002 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:22 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
Open Source Consulting | Domain Registration