LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-19-2004, 11:20 PM   #1
makapacs
LQ Newbie
 
Registered: May 2004
Posts: 19

Rep: Reputation: 0
problems installing NetCard driver


Hi,
I am trying to install Realtec wireless network card driver (RTL 8181). The driver is in .zip arhive, so i follow the directions provided in READMe file and called make command. Then copied r8169.o file into /lib/modules...../drivers/net. The file r8169.o is there. Then i call insmod r8169.o command and it gives me following message:
r8169.o: init_module: No such device
Hint: insmod errors can be coused by incorrect module parameters, including invalid IO or IRQ parameters.
When i call /sbin/lspci -v command, i can see that there is the wireless net device with IRQ 5 and IO f000.

I also tryied modprobe r8169.0 and it returns following error:
modprobe: Can't locate module r8169.o

Any ideas how can i complete this installation?
Thank's
Margots
 
Old 06-20-2004, 07:43 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hello,

First, you made a mistake with modprobe, you needn't .o extension:
Code:
modprobe r8169
Then you can try the "modinfo" command on your driver to see if there's a specific parameter to add and don't forget to open a terminal with the output of your logs (tail -f /var/log/messages) to see exactly what's wrong when you try to insert the driver.

Oliv'
 
Old 06-20-2004, 05:43 PM   #3
makapacs
LQ Newbie
 
Registered: May 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Thank's Oliv,
This time i tryied like you said: modprobe r8169 (without .o), but it gave the same error message only this time the error message seemed to be repeated 3 times before letting me call another command.
Then i called modinfo r8169 which reported following:
filename: /lib/modules/2.4.7-10/kernel/drivers/net/r8169.o
description: "RealTek RTL-8169 Gigabit Ehternet driver"
author: "Realtek"
parm: media int array (min=1, max = 8)

After that i called tail -f /var/log/messages but there was nothing regarding this module( there was messages regarding module sound-services, that every time i start give me that message. I assume that it is not related to network card modul)

What else could i do?
Thank's
Margots
 
Old 06-21-2004, 10:45 AM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hi,

After a quick search (thanks google ), I found a specific driver for Realtek wireless products:
http://www.realtek.com.tw/downloads/...&Software=True
The problem is that this driver is for Realtek8180L card so that's not sure it will succeed... But I think you will have more luck with this one as the driver you try to use is for Gigabit Ethernet card... So it's normal if it fails

Oliv'
 
Old 06-22-2004, 12:45 PM   #5
makapacs
LQ Newbie
 
Registered: May 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Thank's Oliv',

I did get the driver you pointed out. After installing, running make command and calling insmod rtl8180_24x command, it returned following error message:
Using /lib/modules/2.4.7-10/.../rtl8180_24x.0
/lib/...rtl8180_24x.o: kernel-module version mismatch
/lib/.../rtl8180_24x.o was compiled for kernel version 2.4-3 while this kernel is version 2.4.7-10.
I got RedHat 7.2 Linux on.

Then i tried another driver for version 2.4.20 posted on the same site. When i call make it gives long error message about timer_t variable undeclared or that sort. From my understanding that is related to the code,compiler or version, not to anything else.

It seems to me that i have to change a version (or compiler) of current kernel. How to do that? or is there another way i can go around it? would going in drivers/net/Makefile & Config.in & Sapce.c and making appropriate changes do any good?
Thank's
Margots
 
Old 06-23-2004, 07:07 AM   #6
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hello,

There's a simple way to solve this problem, try:
Code:
insmod -f rtl8180_24x.o
the -f option will force the insertion, and even if it complains about the kernel version mismatch it will insert it
Or of course, you can change your kernel version by recompiling a new one... but it's a bit longer :P

Oliv'
 
  


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
Problems installing NVIDIA driver kenito Linux - Hardware 0 12-17-2004 07:59 AM
SuSE 9.2/laptop : r8169 netcard & Grub/Lilo problems coureyv SUSE / openSUSE 3 12-09-2004 04:53 PM
Problems with netsemi PCI netcard in phlak live cd kegr Linux - Networking 0 11-18-2004 08:32 AM
Problems installing Nvidia driver buckwheat12 Mandriva 13 02-18-2004 11:35 AM
Netcard problems in Mandrak 9.1 cmull123 Linux - Hardware 1 06-24-2003 05:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:52 PM.

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