Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 25 May 2015, 07:39
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Ndiswrapper compile
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message

Joined: 01 Mar 2006
Posts: 24

PostPosted: Tue 20 May 2008, 07:07    Post_subject:  Ndiswrapper compile  


I have NOP 4 based on dingo. I have downloaded the dev_400.sfs file. I would like to compile a new version of ndiswrapper for my wireless card. I know the latest build of ndiswapper supports it and it doesn't work at the moment. Tips before my first compile with puppy?

make uninstall
sudo make install
cd xxx/ndiswrapper-xxx/
ndiswrapper -i XXX.inf

Does this look right with dev_400.sfs loaded?

It gave the following error after the make uninstall and then the make command.

sh-3.00# make
make -C driver
make[1]: Entering directory `/root/build/ndiswrapper-1.51/driver'
Makefile:35: *** Cannot find kernel version in /lib/modules/, is it configured?. Stop.
make[1]: Leaving directory `/root/build/ndiswrapper-1.51/driver'
make: *** [all] Error 2

The file /lib/modules/ does not exist. How do I specify the kernel version or is there an option I should add to the make command?

I looked in the make file but could not see where to modify.

Note I have already posted this in the NOP thread but perhaps this is a more appropriate place to get feedback.


Back to top
View user's profile Send_private_message 

Joined: 01 Mar 2006
Posts: 24

PostPosted: Thu 05 Jun 2008, 16:54    Post_subject:    

bump please reply
Back to top
View user's profile Send_private_message 

Joined: 19 Dec 2006
Posts: 331
Location: Leeds,UK or Birmingham, UK

PostPosted: Thu 05 Jun 2008, 18:40    Post_subject:  

As you've discovered ndiswrapper is kernel dependant, which is hardly supprising considering what it does. Unfortunately the kernel source is pretty big, so can't really be inclued in the devx.sfs file. (Hey, it's already bigger than the basic form of our beloved OS!)
The files you need are in the kernel source sfs. If I recall correctly the build uses the same kernel as the 3.x series, so the file you'll need is ftp://ibiblio.org/pub/linux/distributions/puppylinux/sfs_modules-3/kernel-src_301.sfs.
Put it with devx_400.sfs, and rename to kernel-src_400.sfs, reboot and try again.

One other note, in Puppy you're running as root, so there is no need for sudo.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0411s ][ Queries: 11 (0.0036s) ][ GZIP on ]