All times are UTC-06:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Tue May 15, 2012 9:43 am 
Offline

Joined: Tue May 15, 2012 6:06 am
Posts: 1
Here are the steps I followed to update the wifi drivers on my Efika MX Smarttop to support packet injection under kernel 2.6.31.14.27-efikamx. This also seemed to provide better connection stability. Should also work for Ubuntu.

Install packages:
Code:
apt-get install build-essential linux-headers-2.6.31.14.27-efikamx git-core
The kernel headers package is missing a directory required to build compat-wireless, so we need to clone the kernel source from git and hackily rectify the problem:
Code:
git clone git://gitorious.org/~brainstorm/efikamx/efika-kernel.git
cp -R efika-kernel/arch/arm/plat-mxc/include/mach /usr/include
Grab and build the latest compat-wireless rtx200 drivers from http://linuxwireless.org/download/compat-wireless-2.6/ .. I used compat-wireless-2012-05-10 .. Your mileage will vary depending on which version you choose.
Code:
wget http://linuxwireless.org/download/compa ... 10.tar.bz2
tar xvf compat-wireless-2012-05-10.tar.bz2
cd compat-wireless-2012-05-10
scripts/driver-select rt2x00
make; make install
Now you must blacklist the old rt2870sta driver so it does not load on boot
Code:
echo blacklist rt2870sta >>/etc/modprobe.d/blacklist.conf
Reboot the machine and you will be using the new driver. Works as a normal wireless client, with aircrack-ng, reaver, etc.

If you are running the same kernel I am, and would like to skip most of the above, download the binaries I have built from http://www.slingfile.com/file/UjvSGas83X . Copy the 'updates' directory to /lib/modules/`uname -r`, run depmod -a, and blacklist the old module.


Top
   
PostPosted: Mon Jul 16, 2012 8:04 am 
Offline

Joined: Mon Jul 16, 2012 1:26 am
Posts: 2
Great, but in my case it keeps complaining about firmware.

"Failed to request firmware".

Ofc I have the firmware files on /lib/firmware, tested with two revisions, the 8Kb one is working on another machine (not an Efika) with a USB dongle, and the both work with rt2870sta.

Could you post your firmware or at least its MD5 hash and the exact location and name?

EDIT: The problem was that compat-wireless uses an udev script that didn't get installed neither is distributed with your binary package.


Top
   
PostPosted: Tue Jul 17, 2012 6:34 am 
Offline

Joined: Sun Mar 27, 2011 1:18 pm
Posts: 183
Location: Hornell, NY
Quote:
Great, but in my case it keeps complaining about firmware.

"Failed to request firmware".

Ofc I have the firmware files on /lib/firmware, tested with two revisions, the 8Kb one is working on another machine (not an Efika) with a USB dongle, and the both work with rt2870sta.

Could you post your firmware or at least its MD5 hash and the exact location and name?

EDIT: The problem was that compat-wireless uses an udev script that didn't get installed neither is distributed with your binary package.
Hi, You might be better off using my debian package instead you can read about it in this thread here:

http://www.powerdeveloper.org/forums/vi ... f=7&t=2278

I also have the packaging on github at https://github.com/wschaub/compat-wireless

the armel version might well work on maverick as well as on Squeeze but I haven't tested it on maverick. My pacakge does install the udev rule and the firmware loader script that is missing above. you can also find the missing bits at https://github.com/wschaub/compat-wirel ... re_install <-- script that installs the udev stuff

https://github.com/wschaub/compat-wirel ... aster/udev <-- where the udev rules and scripts are located.


Top
   
PostPosted: Tue Jul 17, 2012 10:44 am 
Offline

Joined: Sun Mar 27, 2011 1:18 pm
Posts: 183
Location: Hornell, NY
In case anyone that is running maverick is interested the package does work on maverick. but you need to have linux-image-2.6.31.14.27-efikamx installed (which you can find here: http://steubentech.com/~talon/Efika-MX/kernels/latest/)


Top
   
PostPosted: Tue Jul 17, 2012 2:44 pm 
Offline

Joined: Mon Jul 16, 2012 1:26 am
Posts: 2
Too late! :p

I suggest a wiki with tips and tricks!


Top
   
PostPosted: Tue Jul 17, 2012 10:30 pm 
Offline

Joined: Sun Mar 27, 2011 1:18 pm
Posts: 183
Location: Hornell, NY
Quote:
Too late! :p

I suggest a wiki with tips and tricks!
Already wrote it. I have an article at http://library.powerdeveloper.net/index ... atWireless
ready now.


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

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 72 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

Search for:
Jump to:  
cron
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group