Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
ndiswrapper Goto page 1, 2  Next
View previous topic :: View next topic  
Author Message
CiccioPasticcio
Member


Joined: 08 Mar 2009
Posts: 26

PostPosted: Mon Mar 09, 2009 7:03 am    Post subject: ndiswrapper Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Mon Mar 09, 2009 7:10 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
CiccioPasticcio
Member


Joined: 08 Mar 2009
Posts: 26

PostPosted: Mon Mar 09, 2009 7:31 am    Post subject: Reply with quote

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
View user's profile Send private message
CiccioPasticcio
Member


Joined: 08 Mar 2009
Posts: 26

PostPosted: Mon Mar 09, 2009 8:49 am    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Mon Mar 09, 2009 9:04 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
CiccioPasticcio
Member


Joined: 08 Mar 2009
Posts: 26

PostPosted: Mon Mar 09, 2009 10:08 am    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Mon Mar 09, 2009 6:47 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
CiccioPasticcio
Member


Joined: 08 Mar 2009
Posts: 26

PostPosted: Mon Mar 09, 2009 7:50 pm    Post subject: Reply with quote

You're great!

Going to do it now on the server.
By the way, now 512MB and it runs as a lightning. Very Happy

Bye,
Max
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Mon Mar 09, 2009 9:03 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Tue Mar 10, 2009 1:10 am    Post subject: Reply with quote

Just thought I would put in my two cents Smile 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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Tue Mar 10, 2009 1:33 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
CiccioPasticcio
Member


Joined: 08 Mar 2009
Posts: 26

PostPosted: Tue Mar 10, 2009 4:41 am    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Tue Mar 10, 2009 8:16 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
CiccioPasticcio
Member


Joined: 08 Mar 2009
Posts: 26

PostPosted: Wed Mar 11, 2009 7:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1753
Location: Greece

PostPosted: Wed Mar 11, 2009 7:37 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional