LinHES Forums
http://forum.linhes.org/

can't build rt61 driver
http://forum.linhes.org/viewtopic.php?f=2&t=14273
Page 1 of 1

Author:  jknoll [ Sun Feb 18, 2007 9:09 pm ]
Post subject:  can't build rt61 driver

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.

Author:  cecil [ Mon Feb 19, 2007 4:11 pm ]
Post subject: 

Got a link to said source?

Author:  mperlman [ Mon Feb 19, 2007 5:41 pm ]
Post subject: 

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!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/