Realtek 8168 network driver

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Realtek 8168 network driver

Koenraad Lelong
Hi,
It seems that Suse 10.1 does not recognise the NIC on my Asus V6J
laptop. I found a driver-source for it on Realtek's website. I followed
the readme-file, but there are problems. I did :
-unpack the source in a directory
-made sure kernel-source and gcc are installed
-did a "make mrproper" "make oldconfig" in the kernel-source directory.
-make clean modules
Result : complaints about "no rule to make target...". In a directory of
the kernel-source it was looking for a file that exists in the
source-directory of the driver.
I made a symbolic link of the driver-source directory to the
kernel-source-directory.
A new try gave following problem :
linux-lk:~/r1000 # make clean modules
make -C src/ clean
make[1]: Entering directory `/root/r1000/src'
rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
make[1]: Leaving directory `/root/r1000/src'
make -C src/ modules
make[1]: Entering directory `/root/r1000/src'
make -C /lib/modules/2.6.16.13-4-smp/build SUBDIRS=/root/r1000/src modules
make[2]: Entering directory `/usr/src/linux-2.6.16.13-4-obj/i386/smp'
make -C ../../../linux-2.6.16.13-4 O=../linux-2.6.16.13-4-obj/i386/smp
modules
/root/r1000/src/Makefile:28:
/usr/src/linux-2.6.16.13-4/src/Makefile_linux26x: No such file or directory
make[5]: *** No rule to make target
`/usr/src/linux-2.6.16.13-4/src/Makefile_linux26x'.  Stop.
make[4]: *** [_module_/root/r1000/src] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.16.13-4-obj/i386/smp'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/r1000/src'
make: *** [modules] Error 2
linux-lk:~/r1000 #

Now I'm stuck. Does anyone have a working driver for that NIC ? How did
you get it ?
Thanks.
--
Met vriendelijke groeten,
Koenraad Lelong
R&D Manager
ACE electronics n.v.


--
Check the headers for your unsubscription address
For additional commands send e-mail to [hidden email]
Also check the archives at http://lists.suse.com
Please read the FAQs: [hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: Realtek 8168 network driver

stephan beal
On Tuesday 08 August 2006 12:36, Koenraad Lelong wrote:
> It seems that Suse 10.1 does not recognise the NIC on my Asus V6J
> laptop. I found a driver-source for it on Realtek's website. I
> followed the readme-file, but there are problems. I did :

i went through this same problem a couple of days ago for my Acer
notebook. Here are some tips...

> -unpack the source in a directory

edit r1000_n.c and change:

a) the broken MODULE_PARM call to MODULE_PARM_DESC

b) there is an undefined variable. Look at the #ifdef'd code just above
that for the proper variable name and edit it.

> /usr/src/linux-2.6.16.13-4/src/Makefile_linux26x: No such file or


Now edit the Makefile, and where it says something like:

include .../Makefile.linux26

change the path to the absolute path your source copy, like:

include /root/r1000/src/Makefile.linux26

> I made a symbolic link of the driver-source directory to the
> kernel-source-directory.

You don't need to do that.

> Now I'm stuck. Does anyone have a working driver for that NIC ? How
> did you get it ?

See this link and read all of the posts:

The source code/Makefile changes are mentioned here:
http://suseforums.net/lofiversion/index.php/t20483.html



--
----- [hidden email]   http://s11n.net
"...pleasure is a grace and is not obedient to the commands
of the will." -- Alan W. Watts

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Realtek 8168 network driver [Solved]

Koenraad Lelong
stephan beal schreef:

> On Tuesday 08 August 2006 12:36, Koenraad Lelong wrote:
>> It seems that Suse 10.1 does not recognise the NIC on my Asus V6J
>> laptop. I found a driver-source for it on Realtek's website. I
>> followed the readme-file, but there are problems. I did :
>
> i went through this same problem a couple of days ago for my Acer
> notebook. Here are some tips...
>
>> -unpack the source in a directory
>
> edit r1000_n.c and change:
>
> a) the broken MODULE_PARM call to MODULE_PARM_DESC
>
> b) there is an undefined variable. Look at the #ifdef'd code just above
> that for the proper variable name and edit it.
>
>> /usr/src/linux-2.6.16.13-4/src/Makefile_linux26x: No such file or
>
>
> Now edit the Makefile, and where it says something like:
>
> include .../Makefile.linux26
>
> change the path to the absolute path your source copy, like:
>
> include /root/r1000/src/Makefile.linux26
>
>> I made a symbolic link of the driver-source directory to the
>> kernel-source-directory.
>
> You don't need to do that.
>
>> Now I'm stuck. Does anyone have a working driver for that NIC ? How
>> did you get it ?
>
> See this link and read all of the posts:
>
> The source code/Makefile changes are mentioned here:
> http://suseforums.net/lofiversion/index.php/t20483.html
>
>
>
Thanks, it works now.

--
Met vriendelijke groeten,
Koenraad Lelong
R&D Manager
ACE electronics n.v.


--
Check the headers for your unsubscription address
For additional commands send e-mail to [hidden email]
Also check the archives at http://lists.suse.com
Please read the FAQs: [hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: Realtek 8168 network driver

Jan Engelhardt
In reply to this post by Koenraad Lelong
> It seems that Suse 10.1 does not recognise the NIC on my Asus V6J laptop. I
> found a driver-source for it on Realtek's website. I followed the readme-file,
> but there are problems. I did :

A `modprobe r8169` does not detect it?



Jan Engelhardt
--

--
Check the headers for your unsubscription address
For additional commands send e-mail to [hidden email]
Also check the archives at http://lists.suse.com
Please read the FAQs: [hidden email]