Ticket #1119 (closed enhancement: wontfix)
Instability between Fon2.0n and Virgin Media Router (no other hardware or service available to test) - workaround provided
|Reported by:||JonTheNiceGuy <jon@…>||Owned by:|
|Component:||fon-network||Version:||184.108.40.206 (Gari jr.)|
I have a Fon2.0n connected to my Virgin Media supplied Cable Modem.
Over the past few weeks, I've seen a degree of instability, particularly when performing large downloads from my Android phone over the WiFi?.
When away from the house today, I noticed that I was unable to reach the OpenVPN connection to my Fon router, so arranged for the Fon to be power cycled. It came up cleanly, and I was able to connect again.
The device is still reachable via the WiFi? connection (where I can simply reload the network with /etc/init.d/network reload to fix it), and I'm sure a cabled connection would also work.
Ideally, I'd rather not know I've had a problem, just had it resolve itself.
To achieve this, I wrote a script to reboot the router when it fails to connect to it's default gateway, and it's DNS server on 5 separate occasions, spaced 30 seconds apart. If the eth0.2 connection is not listed as UP or RUNNING (a hold over from other devices I manage via work - I don't know whether this would still be the case on a Fon device), it will sleep for 120 seconds before performing the check again.
I have attached the script I wrote, and would appreciate some guidance as to whether this is something which might be useful, either in the Fon code, or as a script to suggest if someone else is suffering from a similar issue (such as, perhaps ticket #1082?)