Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Wifi disconnecting when left idle
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Wifi disconnecting when left idle
12th Feb, 2013, 06:16 AM
Post: #1
Beanz Offline
Registered
Posts: 13
Joined: Jan 2013
Reputation: 1
Wifi disconnecting when left idle
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.
Find all posts by this user
Quote this message in a reply
12th Feb, 2013, 06:30 AM
Post: #2
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: Wifi disconnecting when left idle
Are you already on the latest kernel? Guide is here: http://forum.xbian.org/thread-370.html

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
12th Feb, 2013, 09:29 AM
Post: #3
Beanz Offline
Registered
Posts: 13
Joined: Jan 2013
Reputation: 1
RE: Wifi disconnecting when left idle
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 ?
Find all posts by this user
Quote this message in a reply
12th Feb, 2013, 09:32 AM
Post: #4
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Wifi disconnecting when left idle
Did you follow the guide by Koenkk?

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
13th Feb, 2013, 12:17 AM
Post: #5
Beanz Offline
Registered
Posts: 13
Joined: Jan 2013
Reputation: 1
RE: Wifi disconnecting when left idle
(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.
Find all posts by this user
Quote this message in a reply
13th Feb, 2013, 12:19 AM
Post: #6
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Wifi disconnecting when left idle
Can you try this fix: https://github.com/xbianonpi/xbian/blob/xbian-alpha5/etc/modprobe.d/8192cu.conf

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
13th Feb, 2013, 01:39 AM
Post: #7
Beanz Offline
Registered
Posts: 13
Joined: Jan 2013
Reputation: 1
RE: Wifi disconnecting when left idle
(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.
Find all posts by this user
Quote this message in a reply
13th Feb, 2013, 01:41 AM
Post: #8
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: Wifi disconnecting when left idle
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

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
13th Feb, 2013, 01:54 AM
Post: #9
Beanz Offline
Registered
Posts: 13
Joined: Jan 2013
Reputation: 1
RE: Wifi disconnecting when left idle
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.
Find all posts by this user
Quote this message in a reply
13th Feb, 2013, 02:23 AM
Post: #10
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: Wifi disconnecting when left idle
If everything goes smooth, the CPU usage isn't a problem at all.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
13th Feb, 2013, 09:20 AM
Post: #11
Beanz Offline
Registered
Posts: 13
Joined: Jan 2013
Reputation: 1
Re: Wifi disconnecting when left idle
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.
Find all posts by this user
Quote this message in a reply
13th Feb, 2013, 07:05 PM
Post: #12
Beanz Offline
Registered
Posts: 13
Joined: Jan 2013
Reputation: 1
Re: Wifi disconnecting when left idle
Spoke to soon, got up this morning to network disconnected. Think it must be a dhcp issue with my router, will look into that.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 12:28 AM Powered By MyBB, © 2002-2025 MyBB Group.