Forum

Full Version: Wifi disconnecting when left idle
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I have recently changed my router to an ASUS RT-N56U and have been having problems where i need to reboot the Pi to get the network connected after its been left for a while, once booted i can access my NAS and thingsa tend to stream ok.
Is there a setting within Xbian that keeps communications open or is there something standard in router settings that would keep the connection alive that i can look for ?

I am running a wifi bridge to connect wirelessly using the ethernet connection as the Edimax USB dongle i recently bought is giving me problems where i don't get a network connection and when checking System Settings lots of things including - OS, MAC Address, Connection etc - show as BUSY, but that a different issue Smile

Thanks for any pointers.
Are you already on the latest kernel? Guide is here: http://forum.xbian.org/thread-370.html
I ran uname -a
and get
Linux xbian 3.6.11+ #10 PREEMPT Thu Jan 3 20:53:38 CET 2013 armv6l GNU/Linux
so assume thats the latest one ?
Did you follow the guide by Koenkk?
(12th Feb, 2013 09:32 AM)CurlyMo Wrote: [ -> ]Did you follow the guide by Koenkk?

I have done now so will see if it makes a difference. Thanks both.
(13th Feb, 2013 12:19 AM)CurlyMo Wrote: [ -> ]Can you try this fix: https://github.com/xbianonpi/xbian/blob/xbian-alpha5/etc/modprobe.d/8192cu.conf

Sorry to sound like a complete noob but wheredo i add that text / file ?

I watched a program on Xbian before the school run, have just got back and it has no ip address already so will give the above a go.
SSH into your raspberry pi, guide: http://xbian.org/getting-started/install-and-connect/#ssh

Then execute this command:
Code:
sudo su                      #password = raspberry
echo "options 8192cu rtw_power_mgnt=0 rtw_enusbss=0" > /etc/modprobe.d/8192cu.conf
Thanks for that, no problem using SSH it was just the code i was unsure of. Just rebooting the pi so i can connect to it.

I have come across a new issue since doing the original update in the 1st reply though as now my CPU usage is showing between 96 and 98% constantly, is this something to be concerned with? I streamed the video i mentioned earlier with no problems but dunno if heat is an issue with the pi cpu that could manifest. Ta.
If everything goes smooth, the CPU usage isn't a problem at all.
Looks like the power management edit to the config file has done the job as just gone back to my pi 7 hours after last using it and xbian connected to my NAS as if I'd just rebooted it :-D
Love it, the perfect media streamer with extra benefits of great repos and only consuming the minimum of power!

Thanks for the great assistance.
Spoke to soon, got up this morning to network disconnected. Think it must be a dhcp issue with my router, will look into that.
Reference URL's