LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-16-2006, 08:03 AM   #1
delinne
LQ Newbie
 
Registered: May 2006
Posts: 8

Rep: Reputation: 0
Realtek 8168 driver problem


I am using the new SUSE 10.1 I downloaded the drivers for the realtek 8168 NIC. When i do make clean modules like the readme file sais i get an error on line 378: expected ')' before string constant.
I already tried to edit this line in the file r1000_n.c but nothing seems to work. I also tried an older version of the driver but it had the same error.
 
Old 05-16-2006, 12:35 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Not all modules (drivers) that you downloaded from the manufacuter's site will work with every kernel version. You just need to re-compile the kernel for the card. My USB 2.0/IEEE-1394/1Gb NIC combo PCI card uses the Realtek 8169 NIC chip. It works fine using kernel module.
 
Old 05-16-2006, 01:02 PM   #3
delinne
LQ Newbie
 
Registered: May 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Question

I am a new user so can you explain in short how i must do that? thx
 
Old 05-18-2006, 01:31 AM   #4
peter54
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
i' m also a new user and i have the same problem
thanks for help
 
Old 07-11-2008, 12:00 AM   #5
deconstrained
LQ Newbie
 
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
...Just one for the records so that future Googlers can find this answer:

Try using the umbrella module r8169 instead of r8168. I'm sure you can get a precompiled module via your distribution's package manager (i.e. if it's a Debian variant like Ubuntu, use apt; if it's ArchLinux, use pacman; if it's Gentoo use portage).

I know that r8169 at least works for sure if you're running a 64-bit Kernel. It's working really well for me (ArchLinux, AMD 64). I was never able to get the driver from Realtek's website to work, and after much frustration I discovered r8169, modprobe'd it into the kernel and lived happily ever after.

Last edited by deconstrained; 07-11-2008 at 12:52 PM.
 
Old 07-16-2008, 04:51 AM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Quote:
Originally Posted by deconstrained View Post
...Just one for the records so that future Googlers can find this answer:

Try using the umbrella module r8169 instead of r8168. I'm sure you can get a precompiled module via your distribution's package manager (i.e. if it's a Debian variant like Ubuntu, use apt; if it's ArchLinux, use pacman; if it's Gentoo use portage).

I know that r8169 at least works for sure if you're running a 64-bit Kernel. It's working really well for me (ArchLinux, AMD 64). I was never able to get the driver from Realtek's website to work, and after much frustration I discovered r8169, modprobe'd it into the kernel and lived happily ever after.
That module is in the kernel, so it will not be separated in other distributions.

Again, if the desire distribution does not have module, the kernel have to be re-compiled after it has been picked by doing "make menuconfig".

Dah, the module or driver from Realtek will not work because it is written for 2.6.9 and not for the latest 2.6.x kernel. There has been significant changes for each patch release of the kernel.

I guess I was not clear enough. The module r8169 is the one to use for r8168 NIC and r8111 (I think).
 
  


Reply



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
Need driver for Realtek Wireless Nic Dr_Zin Linux - Hardware 3 02-04-2008 11:41 PM
Realtek driver for FC4 problem xTheLostx Linux - Hardware 2 07-19-2005 01:32 PM
realtek-driver alsa fatblueduck Linux - Software 0 01-31-2005 02:33 AM
RealTek 8168/8110 with fedora zolorin Linux - Hardware 0 09-07-2004 07:55 PM
Realtek 8029(AS) driver? jolly Linux - Networking 2 12-18-2002 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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