View previous topic :: View next topic |
Author |
Message |
CiccioPasticcio Member
Joined: 08 Mar 2009 Posts: 26
|
Posted: Mon Mar 09, 2009 7:03 am Post subject: ndiswrapper |
|
|
Would like to install ndiswrapper 1.54 to make the wi-fi card work... but it keeps telling me...
"Cannot find kernel version in /usr/src/linux-2.6.27.7 is it configured?"
I tried unpacking the kernel source there (/usr/src/...). Nothing changes.
I tried unpacking the package in the download area of this website in the root... same as before.
To re-compile the kernel I think I need gcc... is there any shorter/faster way to solve this problem?
By the way, I have Live version installed on hdd and the card is a Netgear wg511 v2 (no Prism54... made in China version... needs ndiswrapper to work under linux).
Thanks for the help.
Bye,
Max
PS On this post... at the end... there seems to be the solution:
http://www.linuxquestions.org/questions/linux-wireless-networking-41/ndiswrapper-cant-find-kernel-sources-while-installing-kernel-2.6.11-321274/
But where to find the missing "version.h" file?
Last edited by CiccioPasticcio on Mon Mar 09, 2009 7:17 am; edited 1 time in total |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Mar 09, 2009 7:10 am Post subject: |
|
|
You will need the development packages to compile programs.
If ndiswrapper it's the only package you want to build, just download a precompiled version from slacky.eu here
I think I'll add ndiswrapper package to SMS since you are not the first that want to use it.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
CiccioPasticcio Member
Joined: 08 Mar 2009 Posts: 26
|
Posted: Mon Mar 09, 2009 7:31 am Post subject: |
|
|
Wow... that's a speedy answer!
Thank you!
Infact, I tried using:
make -n -i
to check for other possible problems... and found another line requiring gcc.
I will think about those development packages.
Thank you again.
Bye,
Max |
|
Back to top |
|
CiccioPasticcio Member
Joined: 08 Mar 2009 Posts: 26
|
Posted: Mon Mar 09, 2009 8:49 am Post subject: |
|
|
Was not lucky this time...
ndiswrapper ok... driver installed... device present... BUT!
modprobe ndiswrapper
FATAL: Module ndiswrapper not found.
On another forum, they say:
You have the ndiswrapper driver, but are missing the ndiswrapper kernel module.
Is there any workaround for this or do I need to compile the kernel?
Thanks,
Max
Last edited by CiccioPasticcio on Mon Mar 09, 2009 12:08 pm; edited 1 time in total |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Mar 09, 2009 9:04 am Post subject: |
|
|
No need to compile kernel, only ndiswrapper.
Just install development packages from SMS.Native.CD-1.4.2-Extra.iso and compile ndiswapper.
I'll make a package for SMS during the day or tomorrow.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
CiccioPasticcio Member
Joined: 08 Mar 2009 Posts: 26
|
Posted: Mon Mar 09, 2009 10:08 am Post subject: |
|
|
Will do it tonight and will tell you how it finishes.
The wiki says:
extra/develpkgs/*.tgz
But inside the CD iso I found only:
extra/packages/*.tgz
or
slackware/devel/*.tgz
I suppose it is the second one (with gcc, kernel sources and so on).
Am I right?
Thank you,
Max |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Mar 09, 2009 6:47 pm Post subject: |
|
|
It's slackware/devel I'll update the info in wiki, for not confusing others.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
CiccioPasticcio Member
Joined: 08 Mar 2009 Posts: 26
|
Posted: Mon Mar 09, 2009 7:50 pm Post subject: |
|
|
You're great!
Going to do it now on the server.
By the way, now 512MB and it runs as a lightning.
Bye,
Max |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Mar 09, 2009 9:03 pm Post subject: |
|
|
ndiswrapper added to extra/packages/ it's available for download here
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Tue Mar 10, 2009 1:10 am Post subject: |
|
|
Just thought I would put in my two cents I never could get vanilla ndiswrapper form sourceforge to compile correctly. So I went to slackbuilds.org and downloaded the build and it installed without a problem.
Also, had same problem with wine. Used slackbuilds.org and the OPENGL=NO option and it installed without problems.
thanks for adding it BTW. |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Mar 10, 2009 1:33 am Post subject: |
|
|
baboo wrote: | I never could get vanilla ndiswrapper form sourceforge to compile correctly. |
All you need to do is to cd to source and type 'make'.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
CiccioPasticcio Member
Joined: 08 Mar 2009 Posts: 26
|
Posted: Tue Mar 10, 2009 4:41 am Post subject: |
|
|
No way to make it work...
Clean installation... from live sms-text-installer.
Installed also extra packages plus the ndiswrapper additional one.
Driver Installed and Device Present... but:
Code: | modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.27.7-smp/misc/diswrapper.ko): Invalid module format
|
From dmesg:
Code: | ndiswrapper: version magic '2.6.27.7-smp SMP mod_unload 686 ' should be '2.6.27.7-lcd SMP mod_unload 486 ' |
What am I doing wrong?
Thank you,
Max |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Mar 10, 2009 8:16 am Post subject: |
|
|
I see the problem...
You have done nothing wrong, it's working with 2.6.27.7-smp kernel, I'll fix that.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
CiccioPasticcio Member
Joined: 08 Mar 2009 Posts: 26
|
Posted: Wed Mar 11, 2009 7:26 pm Post subject: |
|
|
If I can do something to help, just let me know.
I'm not very much used to kernel stuffs, but I like to learn if someone points me in the right direction to start.
Bye,
Max
PS I saw a new version of the package in the download area... does it mean that you already fixed it? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Mar 11, 2009 7:37 pm Post subject: |
|
|
I've uploaded ndiswrapper again here you can try to see if it's working for you, if you haven't compile your own version already.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
|