View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: can't build rt61 driver
PostPosted: Sun Feb 18, 2007 9:09 pm 
Offline
Joined: Sun Feb 18, 2007 8:52 pm
Posts: 1
I am unable to get the rt61 driver for the rt2561 802.11g pci card on R5E50.

I have tried:
apt-get install linux-headers-2.6.18-crw-13 build-essential gcc

There is a symbolic link of /lib/modules/2.6.18-chw-13/build to /usr/src/linux-headers-2.6.18-chw-13

When I try to build the driver, I get a build error that the module target cannot be found by make.

I was able to compile the driver under Ubuntu 6.10.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 19, 2007 4:11 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Got a link to said source?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 19, 2007 5:41 pm 
Offline
Joined: Thu Feb 01, 2007 9:06 pm
Posts: 4
I got my Linksys WMP54G v4.1 working last week. It's based on the rt61 driver. Here's the general method I used. Note that I performed a bunch of steps in between that I don't think mattered to the overall success, but you never know.

1. Get and install the firmware
Code:
wget http://www.ralinktech.com/ralink/data/RT61_Firmware_V1.2.zip
unzip RT61_Firmware_V1.2.zip
cp RT61_Firmware_V1.2/* /lib/firmware/

2. Get and rebuild the kernel
Code:
wget ftp://knoppmyth.net/R5/linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb
dpkg -i linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb
cd /usr/src
tar xf linux-source-2.6.18-chw-13.tar.bz2
cd linux-source-2.6.18-chw-13
cp /boot/config-2.6.18-chw-13 .config
make oldconfig
make-kpkg kernel_image


3. There's no need to actually install the kernel. There's something that happens during the build process (not exactly sure what) that sets up the source for future builds. To make this your new kernel source dir for building code, you need to do a little trick.
Code:
cd /usr/src
mv linux-headers-2.6.18-chw-13 linux-headers-2.6.18-chw-13.bkup
ln -s linux-source-2.6.18-chw-13 linux-headers-2.6.18-chw-13


Now you should be able to compile and install the drivers for the rt61.

Let me know if you have any questions or if anything is unclear.

Good luck!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu