Bug #313

Add current IP address to status bar

Added by Hammel about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:12 Apr 2014
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:-
Target version:PiBox - 0.9.0
Severity:02 - High

Description

It would be helpful to have the current IP address displayed in the status bar.

Associated revisions

Revision c99f8751
Added by Hammel about 3 years ago

RM #313: Fix ip address in status bar. Add more spacing on some hbox cells.

Revision c99f8751
Added by Hammel about 3 years ago

RM #313: Fix ip address in status bar. Add more spacing on some hbox cells.

Revision 68fe0fab
Added by Hammel about 3 years ago

RM #313: Reduce font size - the "Enable" line on the IPV4 tab wasn't showing and the status bar couldn't display the ip address.

History

#1 Updated by Hammel about 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

Added code to place current interface's IP addr in status bar, but this needs to be based on actual configuration and not what's in /etc/network/interfaces. So it needs to change to something like:

FILE* file = popen("/sbin/ifconfig wlan0 | grep 'inet addr:' | cut -d: -f2", "r");
fgets(buffer, 100, file);

#2 Updated by Hammel about 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Verified updates - IP address is correctly displayed in the status bar.

Closing issue.

Also available in: Atom PDF