LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-21-2004, 12:53 PM   #1
Linux4Dummies
Member
 
Registered: Jan 2004
Location: US
Distribution: SuSE 10.0
Posts: 58

Rep: Reputation: 15
Can't understand DWL-650+ README instructions


Okay, I downloaded the driver from sourceforge for my Dlink 650+ wireless laptop card. I ran make, and it says I need to follow the instructions on the README file:

--- LINUX 2.6 INSTALLATION ---

In order to use the acx100 driver with Linux 2.6 you'll need a complete 2.6
source tree and have to build the module "in-tree". You'll have to:

1. Create a directory drivers/net/wireless/acx100 in your 2.6 source tree.
2. Copy the files
- src/Makefile
- src/*.c
- include/*.h
from the acx100 sources into drivers/net/wireless/acx100 in your 2.6 tree.
3. Add a line reading "obj-m += acx100/" to the bottom of
drivers/net/wireless/Makefile .
4. Then build your kernel as usual, the acx100 driver will be built as module
(acx100_pci.ko). Make sure you have the required 2.6 module userspace
package (module-init-tools) and enjoy ;-)

What on earth does this mean? Where is this "source tree"? Where do I create this directory? Please help me with some veeeery simple step-by-step instructions. I just learned how to use apt-get last night, baby steps....

Thank you!
 
Old 08-21-2004, 01:12 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
source tree means your linux kernel sources...usually found in /usr/src/linux if you have installed them. if you don't have a complete kernel source tree in /usr/src/linux, then get the package - if you use apt-get, use it to get a package that's called "kernel-source" or someting similar..install it and you've got the sources. then

mkdir /usr/src/linux/drivers/net/wireless/acx100

IF the sources were installed into /usr/src/linux - if it's something else, like linux-2.6.6, use that in the above line. (/usr/src/linux-2.6.6/drivers/ and so on)

then, cd into the driver directory and do this:

cp src/Makefile /usr/src/linux/drivers/net/wireless/acx100/
cp src/*.c /usr/src/linux/drivers/net/wireless/acx100/
cp src/*.h /usr/src/linux/drivers/net/wireless/acx100/

(on the above, the same thing - change the /usr/src/linux to the directory your source is in, if it's not linux)

then edit the following file (again, if the source directory is not "linux", change it to what it is):

/usr/src/linux/drivers/net/wireless/Makefile

and scroll to the bottom and add there this line:

obj-m += acx100/

then make sure you are in /usr/src/linux (and if it's not "linux", change the directory name) and read README instructions on how to compile. basically it goes like this:

make menuconfig
(if you are in X then type: make xconfig)
(edit any options you wish to edit, or leave as they are for a stock kernel, exit and save when prompted)
make all && make modules_install

after that just follow the README instructions and copy the kernel files into your /boot and you're done. just don't overwrite the old kernel in case the new one won't work...and remember to edit bootloader's config to match the new kernel too, and if you use LILO remember to run "lilo" from command prompt....that's it I guess. if you need more info, ask
 
Old 08-21-2004, 08:32 PM   #3
Linux4Dummies
Member
 
Registered: Jan 2004
Location: US
Distribution: SuSE 10.0
Posts: 58

Original Poster
Rep: Reputation: 15
I got as far as
[root@localhost acx100]# cp src/Makefile /usr/src/linux-2.6.5-1.358/drivers/net/wireless/acx100/

but it gave me
cp: cannot stat `src/Makefile': No such file or directory

Is this a syntax thing?
 
Old 08-22-2004, 05:15 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
well, from

[root@localhost acx100]#

I see that you are in the acx100 -directory. see that in this particular directory you have the "src" directory inside, and in there (src) you have Makefile...and if you don't (which the case seems to be), do a quick search and find the src-directory and the Makefile inside; they should be where you extracted/put the files after downloading...

EDIT:

in the driver directory:

Code:
ls -d ./*
and if you get the "src" directory listed,
Code:
ls -d ./src/*
and look for Makefile...

Last edited by b0uncer; 08-22-2004 at 05:23 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dwl-650 nin881 Linux - Laptop and Netbook 2 05-24-2005 01:09 AM
i don't understand the isnstallation instructions mista_chewey Linux - Newbie 4 02-27-2005 02:25 PM
DWL 650+ What To Do Now? ambelos Fedora 11 06-10-2004 12:47 PM
I dont understand this Readme for Splashscreen fedivh Linux - Software 3 05-06-2004 08:05 PM
REQ: DWL-650 complete setup instructions vrillusions Linux - Networking 4 09-01-2003 09:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration