Bug #1235
closedisNetworkUp() is not reporting network connection for eth0.
100%
Description
eth0 is connected, but the network icon is red.
This has been seen on both Ironman and Kiosk systems.
Updated by Hammel 1 day ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
launcher.c:network_watcher() should be called every ten seconds.
It should call isNetworkUp().
isNetworkUp() should return 1 if an INET (quad-four) IP address is found.
Check that each of these happens, especially what is happening in isNetworkUp().
Test on PiSentry.
Updated by Hammel about 5 hours ago
- Status changed from In Progress to Closed
- % Done changed from 10 to 100
This was caused by there not being a timer to update the icons in the status bar widget. Previously there was a time for the whole status bar. Now that timer only worked on the date/time widget in the status bar. Added another timer for status bar app icons and cleaned up their use (so they aren't schedule all over the place, just at the start of the app).
Tested on hardware and the network icon goes from off (initially) to on (a split second later).
Code committed and pushed.
Closing issue.