I think we need to look at the big picture,
many system's  have the same problem.    Power monitor, with task
monitor... with reset and  power of/on
power back up..   be that battery or supper caps or standard caps etc.
While we are all thinking of meeting our current needs. Taking the bigger
picture will  allow much better long term fix
for the problems.   But that requires  some effort and time by good
designers, and programmer, with good doc's
to allow the average guy to make good use of it.  with out too much work or
hart burn.
but this needs a real commitment, from the developers,   not just few
mint's writing some good ideas
in some support group,  be that BBB,  or Raspberry PI  or pick your
platform.
It would also nice to have all this in Open hardware and software.  KiCad,
and GCC or SDCC,
Perhaps putting it all into a VM image, so any one can run it,  as long as
host system supports a VM player of some
sort.    But who is willing to put the time and effort  to make this happen
?

Lachlan.





On Tue, May 17, 2016 at 6:25 PM, William Hermans <[email protected]> wrote:

> *The need to ping an Internet host just adds to the requirements.  Pinging
>> your local router IP would meet the requirement of whether the BBB
>> interface is up.  Adding Internet connectivity just added more complexity.*
>>
>
> Come now do I really have to comment on something like this ? The solution
> is pretty obvious . . .
>
> If your application does not require an internet connection, then don't
> ping an outside address. Ping your internal gateway . . .
>
> On Tue, May 17, 2016 at 5:07 PM, Mike <[email protected]> wrote:
>
>> On 05/17/2016 05:55 PM, William Hermans wrote:
>>
>> *William:*
>>> *That would work.  *
>>>
>>> *The only "edge case" I might see as a problem would be if your ping
>>> target went off line.  Then the BBB would reboot itself every ten minutes
>>> even though nothing was wrong with the BBB.  I guess you could ping several
>>> different targets in rotation and only reboot if they all disappeared.*
>>>
>> *This gets us back to a real cheap local watchdog.*
>>
>> You only need to ping one ip address. Your internet gateway IP. e.g. your
>> first hop outside of your local network.
>>
>> The need to ping an Internet host just adds to the requirements.  Pinging
>> your local router IP would meet the requirement of whether the BBB
>> interface is up.  Adding Internet connectivity just added more complexity.
>>
>>
>>> *As an aside: Does anyone know what test a computer runs to determine if
>>> it is connected to the internet?*
>>> *Most desktop/laptop computers have a different network icon as to
>>> whether the network/WiFi you connected to has internet connectivity.   Is
>>> the Windows computer pinging some Microsoft location that is "guaranteed"
>>> to be up?*
>>>
>>> *--- Graham*
>>
>> I'm not 100% sure, but the test Windows does is not always correct.
>> Sometimes the icon shows not connected, when in fact as soon as you try to
>> surf something on the web, it goes to the working icon . . .
>>
>> My guess is that it does some simple DNS tests, and then after a while it
>> gives up checking.
>>
>>
>> On Tue, May 17, 2016 at 2:29 PM, Graham Haddock <[email protected]>
>> wrote:
>>
>>> William:
>>>
>>> That would work.
>>>
>>> The only "edge case" I might see as a problem would be if your ping
>>> target went off line.  Then the BBB would reboot itself every ten minutes
>>> even though nothing was wrong with the BBB.  I guess you could ping several
>>> different targets in rotation and only reboot if they all disappeared.
>>> This gets us back to a real cheap local watchdog.
>>>
>>> As an aside: Does anyone know what test a computer runs to determine if
>>> it is connected to the internet?
>>> Most desktop/laptop computers have a different network icon as to
>>> whether the network/WiFi you connected to has internet connectivity.   Is
>>> the Windows computer pinging some Microsoft location that is "guaranteed"
>>> to be up?
>>>
>>> --- Graham
>>>
>>> ==
>>>
>>>
>>> On Tue, May 17, 2016 at 2:30 PM, William Hermans <[email protected]>
>>> wrote:
>>>
>>>>
>>>> @Graham,
>>>>
>>>> What I propose is that you do not need an Ethernet Micro connected to
>>>> the BBB. Instead, you have the BBB ping the outside world once every set
>>>> time frame, and it a ping comes back unreachable after say 5-10 minutes.
>>>> You just stop "kicking the dog". Which does present a potential problem
>>>> that Your internet connection may just be down. But a remote system that
>>>> reboots once every 5-10 minutes because the internet connection is down is
>>>> not something I'd personally see as a bad thing. After all you're unable to
>>>> connect to the system anyway.
>>>>
>>>
>>>  ==
>>> --
>>> For more options, visit http://beagleboard.org/discuss
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> <https://groups.google.com/d/msgid/beagleboard/CANN_KV6MEtkBkkjA-xc3KKzeNRh6LDpoB1xrBnN%2BZo6gJgLX6w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> https://groups.google.com/d/msgid/beagleboard/CANN_KV6MEtkBkkjA-xc3KKzeNRh6LDpoB1xrBnN%2BZo6gJgLX6w%40mail.gmail.com.
>>>
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> <https://groups.google.com/d/msgid/beagleboard/CALHSORrk-KSfKb%3D%2By9tCHPNQSkvfC-K7YPr8cQsvmuwDXR6DCg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> https://groups.google.com/d/msgid/beagleboard/CALHSORrk-KSfKb%3D%2By9tCHPNQSkvfC-K7YPr8cQsvmuwDXR6DCg%40mail.gmail.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/beagleboard/ff9dc15c-5863-3d8a-ad54-f3800b5db277%40gmail.com
>> <https://groups.google.com/d/msgid/beagleboard/ff9dc15c-5863-3d8a-ad54-f3800b5db277%40gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/CALHSORpXxmBek%3DY21CNBNQCaCp7UgbBh0WnyRXSqUqrnsU7MWw%40mail.gmail.com
> <https://groups.google.com/d/msgid/beagleboard/CALHSORpXxmBek%3DY21CNBNQCaCp7UgbBh0WnyRXSqUqrnsU7MWw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAMkt-MuzK6nu-4uVHSB1swLzju%2BQfjSGYgk%2BNXM8x%3DJ_6MNSOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to