So it seems that my raspian which is online via a wifi adapter is loosing its connection from time to time. Usually a powercycle helps an everything is back normal.

Now to avoid that i would like to regulary check if internet connection is available via a cronjob and if it is not, i would like to reload the wifi adapter.

How can i do that?

  • raspi is not a wearable platform. you should have used the ethernet, cable is cheap.
    – lenik
    May 3 '14 at 12:37
  • ethernet cable is not possible here.
    – clamp
    May 4 '14 at 7:13
  • Maybe the wifi adapter should be connected via a USB hub. The current drain on the Pi could be causing the connection to drop? Jul 16 '15 at 11:51

I'm unable to test this becuase all of my pis are headless, but you may be able to reset the wifi adapter by doing ifdown wlan0 followed by ifup wlan0.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.