I have a Raspberry Pi connected to a mobile router at a remote place and host a server which I can access. The problem is this setup is not really reliable. Every 2 days there is like a problem, like the Raspberry Pi not responding anymore or refusing any connection, just randomly shutting off and so on.
Which tricks do you guys use to make a Raspberry Pi reliable to stay on for days without any problems?
Also I have set up a script to monitor if wlan is connected and if not write iwconfig to a file and restart wlan0. Seems not to happen often, atleast not as frequent as the total connecting problems I have