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

Wireless rt61 little problem
http://forums.linhes.org/viewtopic.php?f=2&t=16617
Page 1 of 1

Author:  fra [ Wed Sep 19, 2007 12:10 pm ]
Post subject:  Wireless rt61 little problem

I so far managed to get my audio and video working and can go all the way to the KM and MythTV setup. It all works beautifully now.

I just need to enable wireless. I have the EDIMAX EW-7128G PCI Wireless Card which needs the rt61 driver.

Good news is that I got the wireless to work! So I know it is doable!!! (AND I used WPA2PSK with AES encryption!! Pretty awesome to get this working on linux!)

Bad news are that when I redid a fresh install, followed the same steps as before, the wireless didn't work this time around!!!!

My suspicion is that the rt61pci driver is sometimes being loaded ahead of the rt61 and the former doesn't work well. (In fact, at first I kept getting an error at reboot saying "failed to load firmware for rt61pci", which I solved by putting rt61's firmware in /lib/firmware!!!)

Do I understand correctly that if I have rt61 (which is what Ralink links to on their website), then I can disable rt61pci? Then how do I disable rt61pci? Simply by deleting its .ko file??

Thanks!!

Author:  fra [ Wed Sep 19, 2007 6:30 pm ]
Post subject: 

i simply moved that .ko file. everything works fine now. one thing though, the wireless drops sometimes and i have to do dhclient again to start it up. is there a neat way to make it check for the network and do dhclient again, if it is down? should i just use a crontab command for that? or is there a better way? kind'a like what macs and windows machines do. if the network is lost, they'd retry in a bit. this way, most of the time one doesn't feel the network was lost!

Author:  Human [ Fri Sep 21, 2007 8:55 am ]
Post subject: 

If you start it with 'ifup' does the behavior change at all for you? If not, you'll need a script that checks signal strength with iwconfig every few seconds and then runs the commands to restart the connection if it's below a certain threshold. Something like (untested)
Code:
signal=`iwconfig yourdevice | grep Quality | awk -F '=' '{ print $2 }' | awk -F '/' '{ print $1 }'`
if [ $signal -lt 60 ]; then
echo "restart your connection here"
fi


You'd need to fill in what's missing and determine how you want to run it regularly. Maybe with cron or in a loop with a sleep command to delay the iterations.

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