https://redmine.graphics-muse.org/https://redmine.graphics-muse.org/favicon.ico?16278048512023-10-17T17:24:24ZGraphics Muse Issue Trackerlauncher - Feature #938: Add network status to UIhttps://redmine.graphics-muse.org/issues/938?journal_id=40342023-10-17T17:24:24ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>10</i></li></ul><p>This is easily done with getifaddrs(3). There is an example in the man page. All we need to do is test for an IPv4 address (aka AF_INET) and if there is one then we enable the device icon.</p>
<p>There are two device icons: eth0 and wlan0. If the icon is displayed, the network is enabled with an IP address.</p>
<p>piboxd is monitoring for port events (see eth.c). It should write the events to a FIFO which launcher monitors. Launcher only needs to know ANY event occurred, so it doesn't need to read and parse the event. Just that if an event happens then launcher should retest the interfaces with getifaddrs. Just be sure to <a href="https://stackoverflow.com/questions/23433904/write-read-to-from-fifo-files-linux" class="external">open the FIFO as r/w in piboxd</a> so it can control when the FIFO is closed (re: when piboxd exits).</p> launcher - Feature #938: Add network status to UIhttps://redmine.graphics-muse.org/issues/938?journal_id=40352023-10-17T17:33:25ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Priority</strong> changed from <i>Urgent</i> to <i>Immediate</i></li><li><strong>Severity</strong> changed from <i>01 - Critical</i> to <i>03 - Medium</i></li></ul> launcher - Feature #938: Add network status to UIhttps://redmine.graphics-muse.org/issues/938?journal_id=40412023-10-18T22:57:30ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Blocks</strong> <i><a class="issue tracker-1 status-5 priority-7 priority-highest closed" href="/issues/945">Bug #945</a>: Don't show date/time if no network connection is available.</i> added</li></ul> launcher - Feature #938: Add network status to UIhttps://redmine.graphics-muse.org/issues/938?journal_id=40442023-10-18T22:59:51ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Severity</strong> changed from <i>03 - Medium</i> to <i>02 - High</i></li></ul> launcher - Feature #938: Add network status to UIhttps://redmine.graphics-muse.org/issues/938?journal_id=40482023-10-20T19:20:32ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>10</i> to <i>100</i></li></ul><p>Implemented, tested on hardware and is working.</p>
<p>Code committed and pushed.</p>
<p>Closing issue.</p>