0

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?

3
  • raspi is not a wearable platform. you should have used the ethernet, cable is cheap.
    – lenik
    Commented May 3, 2014 at 12:37
  • ethernet cable is not possible here.
    – clamp
    Commented May 4, 2014 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? Commented Jul 16, 2015 at 11:51

1 Answer 1

1

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 and acknowledge you have read our privacy policy.

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