The number of scripts you want to translate to home raspberry pi 2, which will act as a web server. Nothing critical, just simple and interchangeable things. Access from the outside via DDNS, you only need me because of requests from other people to my scripts is expected.
However, I would like to make available this web server was if 100% of the time, then at least a good amount. Needless to say, a single home the Internet channel a little, because if you lose the connection and may further reset the router or even some manipulation, access Malinka from the outside will be closed.
As a back-channel considering 4g/3g in two ways - either the Internet access via wi-fi or a modem accessed via usb (a usb hub with a separate power is).
1. How would You set up switching between connections in case of unavailability of the main canal?..
I suggest the following:
a) First option - when the connection is not torn, but the pages do not open - check after some period of time connection to the Internet. But after a period?.. And are there any existing tools for this?.. Web hosting companies clearly something respectable use.
b) the second Variant - if the connection to the house Internet (the main channel) is still broken, then how to configure the network settings Manager, so it automatically switched to alternative soedinenie?..
2. In the event of a disconnection (main or alternative), I have yet to fly SMSes that home network is not available. How such to implement on 4g/3g modem I have already read and know about. But is it possible for 4g/3g router?..
The problem of accessibility by the number of channels is not solved.
For the web service, you need a normal front balancer.
Initially rested in A DNS record on behalf of the same dominosa go.
1 solution. DynDNS will change the entry depending on the working channel.
2 solution. Your own DNS server using Round Robin to balance the record.
DNS cache but user still can not escape, an active user will run into an error access to the site.
Next, the request goes to the webserver, and therefore the rules and the routing should be configured to give the packages to the channel from which you came, is solved by the marking of traffic. Thus can work simultaneously 2 and more channels.
Noelia96 answered on July 8th 19 at 11:21
Faced with similar problems, and long struggled with wrt , then conjured his own crutches. Eventually spat and bought nekroticeskih router. Killed a bunch of birds with one stone. First inside routers Mikrotik can raise new path with wrt firmware second router works just like a clock, in the third powered by poe from the router 2 ip phone and Wi-Fi in the other room. The router itself planted on the UPS and now the problems with accessibility do not happen, all in their vlan'Ah, the speed even with a bunch of torrent falls, all easily configurable and was generally the first experience with the equipment Mikrotik and say that I am pleased is an understatement, though also worked with Cisco and a bunch of different cheap igniters and switches and routers.
In General read on this topic, I strongly believe that RouterOS or routers\routers nekroticheskie most under the problem of availability will do.
karina59 answered on July 8th 19 at 11:23
1. Is the system not supposed to pick up?
As a variant - to write the script, which will in case of falling of the grid to another.