LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 11-06-2006, 06:59 AM   #1
benji84
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
Rtl 8168b/8111


Wanted to try out FC6 since I've been away from Linux in about three years. I've just bought a new pc with the networkcard builtin.

First problem was that there were no support for my networkcard. I check Realtek homepage i found a nice driver supporting 2.4.x and 2.6.x kernels.

The readmefile was nice and everything, but then the problems started.

I ran(as root);

make clean modules

and it ended up like this:

make -C src/ clean
make[1]: Entering directory `/root/r1000_v1.04/src'
rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
make[1]: Leaving directory `/root/r1000_v1.04/src'
[root@localhost r1000_v1.04]# make clean modules
make -C src/ clean
make[1]: Entering directory `/root/r1000_v1.04/src'
rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
make[1]: Leaving directory `/root/r1000_v1.04/src'
make -C src/ modules
make[1]: Entering directory `/root/r1000_v1.04/src'
make -C /lib/modules/2.6.18-1.2798.fc6/build
SUBDIRS=/root/r1000_v1.04/src modules
make[2]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-x86_64'
CC [M] /root/r1000_v1.04/src/r1000_n.o
/root/r1000_v1.04/src/r1000_n.c:51: error: expected )' before string constant
/root/r1000_v1.04/src/r1000_n.c:52: error: expected )' before string constant
/root/r1000_v1.04/src/r1000_n.c:53: error: expected )' before string constant
make[3]: *** [/root/r1000_v1.04/src/r1000_n.o] Error 1
make[2]: *** [_module_/root/r1000_v1.04/src] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-x86_64'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/r1000_v1.04/src'
make: *** [modules] Error 2


Tryed googling around for several hours with no answer to the related errormessage.

Also tryed ndiswrapper even this is a cabelnetworkcard, worked fine until i modprobed the ndiswrapper. Got a load of errors and it didn't load.

Tryed asking around, but nothing made more sense or helped me more than I already had known or tried.

Thanks for your help
 
Old 11-21-2006, 05:27 PM   #2
haveaniceday
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
Hi benji84,

try to replace at MODULE_PARM with MODULE_PARM_DESC at /root/r1000_v1.04/src/r1000_n.c line 51,52,53

Best regards,

Haveaniceday

Edit: Have heard this is a better solution:
Index: src/r1000_n.c
===================================================================
--- src.orig/r1000_n.c
+++ src/r1000_n.c
@@ -48,9 +48,12 @@ static struct pci_device_id r1000_pci_tb
MODULE_DEVICE_TABLE (pci, r1000_pci_tbl);
MODULE_AUTHOR ("Realtek");
MODULE_DESCRIPTION ("Linux device driver for Realtek Ethernet Controllers");
-MODULE_PARM (speed, "1-" __MODULE_STRING(MAX_UNITS) "i");
-MODULE_PARM (duplex, "1-" __MODULE_STRING(MAX_UNITS) "i");
-MODULE_PARM (autoneg, "1-" __MODULE_STRING(MAX_UNITS) "i");
+module_param_array(speed, int, NULL, S_IRUGO);
+MODULE_PARM_DESC(speed, "1-" __MODULE_STRING(MAX_UNITS) "i");
+module_param_array(duplex, int, NULL, S_IRUGO);
+MODULE_PARM_DESC(duplex, "1-" __MODULE_STRING(MAX_UNITS) "i");
+module_param_array(autoneg, int, NULL, S_IRUGO);
+MODULE_PARM_DESC(autoneg, "1-" __MODULE_STRING(MAX_UNITS) "i");
MODULE_LICENSE("GPL");

Last edited by haveaniceday; 11-22-2006 at 11:55 AM.
 
  


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
RTL 8029 problem with kernel 2.6.10 ae1 Linux - Networking 1 06-28-2006 01:56 AM
Rtl 8201cl elstefano Linux - Hardware 0 02-26-2006 04:17 AM
rtl 8100 problem orouwk Linux - Hardware 0 01-31-2005 04:31 PM
Please help with RTL 8139 on RedHat 9 danywu Linux - Networking 12 12-12-2003 07:08 PM
which eth module for RTL-8029 (AS) ? farhan Linux - Networking 0 10-26-2003 06:08 AM

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

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