Wizz Posted November 29, 2002 Share Posted November 29, 2002 I'm kinda a linux newbie so please forgive my ignorance. I'm trying to compile a Wireless Ethernet USB driver for Mandrake 9.0. To do this i run "make configure" and it asks me a few questions. One of them is my source tree directory. It defaults to /usr/src/linux/ which doesn't exist. The only thing in /usr/src/ is another directory called RPMS which contains empty folders? Any ideas? Link to comment Share on other sites More sharing options...
wildworld_ammsa Posted November 29, 2002 Share Posted November 29, 2002 I don't have Mandrake but in Redhat src are in /usr/src/linux+your kernel version. Link to comment Share on other sites More sharing options...
Wizz Posted November 29, 2002 Author Share Posted November 29, 2002 I did say that there was no such directory in /usr/src/ Link to comment Share on other sites More sharing options...
uniacid Posted November 29, 2002 Share Posted November 29, 2002 no idea, try searching on www.google.com/linux Link to comment Share on other sites More sharing options...
chavo Posted November 29, 2002 Share Posted November 29, 2002 You probably need to install the kernel-source-2.4.19-16mdk rpm. It will install the source code and headers for the kernel in /usr/src/linux-2.4.19 and make a directory /usr/src/linux which is a symlink to the other directory. Link to comment Share on other sites More sharing options...
Wizz Posted November 30, 2002 Author Share Posted November 30, 2002 Thats the one, thanx. Now all I need to do is get this blasted driver to work. Correct me if I'm wrong but if the driver works a new device will apear in the /dev/ folder won't it. Link to comment Share on other sites More sharing options...
zivan56 Posted December 1, 2002 Share Posted December 1, 2002 If it is for a network card it is usually /dev/eth0 , just do insmod whateverthenameis.o (if the file is in /lib/modules/2.4.19-16mdk/kernel/drivers/net/) If it loads sucessfully, read the documentation that comes with the driver as to what to add to /etc/modules.conf and others to make it load at startup. Link to comment Share on other sites More sharing options...
Recommended Posts