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:
PostPosted: Wed Sep 19, 2007 12:10 pm 
Offline
Joined: Fri Sep 07, 2007 11:57 pm
Posts: 166
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!!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 19, 2007 6:30 pm 
Offline
Joined: Fri Sep 07, 2007 11:57 pm
Posts: 166
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!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 21, 2007 8:55 am 
Offline
Joined: Thu Sep 30, 2004 11:29 am
Posts: 2419
Location: Mechanicsburg, PA
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.

_________________
KnoppMyth R5.5
MythiC Dragon v2.0
Join the KnoppMyth Frappr!


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: Bing [Bot] 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