Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-22-2005, 01:25 PM
|
#1
|
Member
Registered: Sep 2004
Location: Lelystad, NL
Distribution: Debian Etch
Posts: 123
Rep:
|
Howto install ndiswrapper?!
Hey,
I've bought an Linksys WMP11 v4 wireless card 'cause it's in the list at the ndiswrapper page.
I'm using debian testing/sarge with the 2.4.27-1-386 kernel.
But now I don't know to install ndiswrapper 
I've used dselect to install ndiswrapper-source, it didn't work after this, so I downloaded the source (ndiswrapper-1.0rc3) from sourceforge.net, but it didn't had an make file so I couldn't go on after this.
What do I've to do to install it?
Ruben
|
|
|
01-22-2005, 01:53 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
|
|
|
01-22-2005, 01:55 PM
|
#3
|
Member
Registered: Sep 2004
Location: Lelystad, NL
Distribution: Debian Etch
Posts: 123
Original Poster
Rep:
|
I know and I've seen them, but I don't get a clew of it 
things whit the kernel source and then I've to link it (i THINK i did that)
But later it's talking about make distclean, but in wich folder has this to happen?
Ruben
|
|
|
01-22-2005, 02:19 PM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
That needs to happen in the ndiswrapper source directory.
|
|
|
01-23-2005, 05:35 AM
|
#5
|
Member
Registered: Sep 2004
Location: Lelystad, NL
Distribution: Debian Etch
Posts: 123
Original Poster
Rep:
|
Quote:
Originally posted by david_ross
That needs to happen in the ndiswrapper source directory.
|
Ok  , but which directory is that?
EDIT: I have it now, I just used the tar from internet. There's only one problem left: I can't seem to be able to link the kernel sources correct. Please help with it, I'm using the 2.4.27-1-386 kernel.
Last edited by Ruben2; 01-23-2005 at 06:10 AM.
|
|
|
01-23-2005, 06:33 AM
|
#6
|
Member
Registered: Sep 2004
Location: Lelystad, NL
Distribution: Debian Etch
Posts: 123
Original Poster
Rep:
|
I just installed the kernel-sources with dselect, and I link it the way that the manual says at nr.3 but when I do make install it returns this error (translated):
Code:
make -C driver install
make[1]: Entering directory `/root/ndis-install/ndiswrapper-0.12/driver'
Can't find kernel sources in /lib/modules/2.4.27-1-386/build;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/root/ndis-install/ndiswrapper-0.12/driver'
make: *** [install] Error 2
What did I do wrong when linking the kernel?
Ruben2
Last edited by Ruben2; 01-23-2005 at 06:35 AM.
|
|
|
01-23-2005, 01:48 PM
|
#7
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Did you create the link? Can you post the output from:
ls -l /lib/modules/2.4.27-1-386
|
|
|
01-25-2005, 02:31 PM
|
#8
|
Member
Registered: Sep 2004
Location: Lelystad, NL
Distribution: Debian Etch
Posts: 123
Original Poster
Rep:
|
here is the output:
Code:
totaal 424
lrwxrwxrwx 1 root root 36 2005-01-25 19:28 build -> /usr/src/kernel-headers-2.4.27-2-386
drwxr-xr-x 2 root root 4096 2005-01-25 18:06 initrd
drwxr-xr-x 8 root root 4096 2005-01-25 18:06 kernel
drwxr-xr-x 2 root root 4096 2005-01-25 20:33 misc
-rw-r--r-- 1 root root 128120 2005-01-25 20:33 modules.dep
-rw-r--r-- 1 root root 31 2005-01-25 20:33 modules.generic_string
-rw-r--r-- 1 root root 443 2005-01-25 20:33 modules.ieee1394map
-rw-r--r-- 1 root root 8038 2005-01-25 20:33 modules.isapnpmap
-rw-r--r-- 1 root root 29 2005-01-25 20:33 modules.parportmap
-rw-r--r-- 1 root root 81439 2005-01-25 20:33 modules.pcimap
-rw-r--r-- 1 root root 24 2005-01-25 20:33 modules.pnpbiosmap
-rw-r--r-- 1 root root 169201 2005-01-25 20:33 modules.usbmap
|
|
|
01-25-2005, 03:14 PM
|
#9
|
Member
Registered: Sep 2004
Location: Lelystad, NL
Distribution: Debian Etch
Posts: 123
Original Poster
Rep:
|
The 'make install' worked after doing
# ln -s /usr/src/kernel-source-2.4.27 /lib/modules/2.4.27-1-386/build
But now I get a error-output when doing:
# modprobe ndiswrapper
It looks like this:
Code:
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol remove_wait_queue_R5dbd8645
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol usb_get_descriptor_Rb0b6ec0a
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol usb_ifnum_to_if_R6586d168
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol netif_rx_R86c60d40
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol usb_reset_device_R10e60f3f
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol usb_clear_halt_R70e19cad
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol irq_stat_R7228bf63
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol __netdev_watchdog_up_R80f97538
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol pidhash_R701cbc6e
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol __kfree_skb_R9ecd04e6
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol softnet_data_Rfeb9b41f
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol usb_unlink_urb_R20ca45d7
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol usb_submit_urb_Rc30485d3
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol misc_register_R852aab78
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol misc_deregister_R5c8bd137
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol usb_alloc_urb_R827e2dfc
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol usb_deregister_Rb5e3e19b
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol create_proc_entry_Ra52db232
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol proc_mkdir_Rba727c62
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper
.o: unresolved symbol skb_over_panic_R0f704938
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper.o: unresolved symbol add_wait_queue_Rf89d8ae0
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper.o: unresolved symbol eth_type_trans_R6b47b152
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper.o: unresolved symbol wireless_send_event_R13877bce
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper.o: unresolved symbol remove_proc_entry_Rf2afedc2
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper.o: unresolved symbol usb_register_R791122f0
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper.o: unresolved symbol usb_set_interface_R07f760d0
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper.o: unresolved symbol alloc_skb_R22cf598a
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper.o: unresolved symbol skb_copy_and_csum_dev_Rdefa9b80
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper.o: unresolved symbol proc_net_Rff86b932
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: /lib/modules/2.4.27-1-386/misc/ndiswrapper.o: unresolved symbol usb_free_urb_Ree17dd38
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: insmod /lib/modules/2.4.27-1-386/misc/ndiswrapper.o failed
/lib/modules/2.4.27-1-386/misc/ndiswrapper.o: insmod ndiswrapper failed
I don't know what the problem causes. I still think I did something wrong whit the linking.
So what I also want to know is which file do I have to link? Did I link the correct one? And how can I solve this problem?
|
|
|
01-25-2005, 03:25 PM
|
#10
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Please post results from 'uname -a'. It looks like your kernel source and running kernel are different versions.
|
|
|
01-26-2005, 09:56 AM
|
#11
|
Member
Registered: Sep 2004
Location: Lelystad, NL
Distribution: Debian Etch
Posts: 123
Original Poster
Rep:
|
here is the output:
Code:
p2:~# uname -a
Linux p2 2.4.27-1-386 #1 Wed Dec 1 19:43:08 JST 2004 i686 GNU/Linux
BTW. is it a problem if I use the 2.4.27-2 kernel-packages (kernel-headers, kernel-source, kernel-build) instead of the 2.4.27-1 kernel-packages?
Last edited by Ruben2; 01-26-2005 at 10:06 AM.
|
|
|
01-26-2005, 10:21 AM
|
#12
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Yes, it is. Unless you reinstall your kernel to be the new -2. Your running kernel version MUST match (EXACTLY) the source you compiled ndiswrapper against, as a result of the way modules work. If it does not match, errors like the ones you experienced occur.
|
|
|
01-26-2005, 11:22 AM
|
#13
|
Member
Registered: Sep 2004
Location: Lelystad, NL
Distribution: Debian Etch
Posts: 123
Original Poster
Rep:
|
Quote:
Originally posted by Matir
Yes, it is. Unless you reinstall your kernel to be the new -2. Your running kernel version MUST match (EXACTLY) the source you compiled ndiswrapper against, as a result of the way modules work. If it does not match, errors like the ones you experienced occur.
|
So that means that I have to reinstall my kernel 
But thanks for the help.
|
|
|
01-26-2005, 11:55 AM
|
#14
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Unfortunately, yes. Though most default kernels have /proc/config.gz support, so that should help you extract the neccessary settings.
|
|
|
01-26-2005, 11:57 AM
|
#15
|
Member
Registered: Sep 2004
Location: Lelystad, NL
Distribution: Debian Etch
Posts: 123
Original Poster
Rep:
|
Quote:
Originally posted by Matir
Unfortunately, yes. Though most default kernels have /proc/config.gz support, so that should help you extract the neccessary settings.
|
I don't understand what you mean. Can you please be more specific?
|
|
|
All times are GMT -5. The time now is 05:37 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|