2

My pi's wireless network go off after 12 hours. I have a cron job which sends some data to a web address each 15 minutes, so the internet connection is always active for my Raspberry pi, and logically it should not go to sleep or idle ever.

I have checked that the power management is already off. I checked it using iwconfig command.

But I'm still facing the problem of getting off on the pi wifi dongle.

Any Suggestions? Thank you in Advance.

Bex
  • 2,929
  • 3
  • 26
  • 34
vuimran
  • 121
  • 1
  • 4

3 Answers3

1

Did you turn off the idle state of your WLAN dongle? I believe there was an option for the /etc/network/interfaces.

Or another suggestion is: is your PI running headless? In my case, my whole Pi went into idle mode because of the HDMI connection and the associated configuration.

Jacobm001
  • 11,904
  • 7
  • 47
  • 58
Hirsch
  • 51
  • 4
0

It takes alot of time to figure the TRUE SOLUTION out : upgrade your kernel. I'm making my own Linux distro now because of too many bugs in Rasbpian and Ubuntu for RPi's... The problem you've mentioned is "gone with the kernel". Use an official Git from kernel.org, I do recommend you start with a stable one.

Alexey Vesnin
  • 926
  • 10
  • 17
0

One other theoretical possibility - what is the lease time on the IP address from the router and are you getting a stable IP address all the time - if you have a home LAN arrangement and that is doing DHCP for you I have had odd networking problems when the lease runs out - which could easily be set to 12 hours or a day AND THE NEW ADDRESS clashes with something with a STATIC IP address on the same network.

People often set up units as servers with static addresses manually but forget to ensure that those addresses do not clash with the range used by their DHCP server - often they could be better off ensuring that their DHCP server assigns a static (a.k.a. reserved) IP to their server (which will be keyed to the MAC of the network interface used) and will achieve the same result as setting it up manually, IMHO.

SlySven
  • 3,631
  • 1
  • 20
  • 46