Feature #398

Show mac addresses

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

Status:ClosedStart date:11 Nov 2014
Priority:UrgentDue date:
Assignee:Hammel% Done:

100%

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

Description

The MAC addresses should be displayed somewhere on the main page, probably based on the interface selected. This makes it easier for users who use MAC filtering on their routers.

Associated revisions

Revision 23094883
Added by Hammel almost 3 years ago

RM #398: Make bui-network-config conform to use of -T instead of -t for aps.

Revision 23094883
Added by Hammel almost 3 years ago

RM #398: Make bui-network-config conform to use of -T instead of -t for aps.

Revision 691ed5d1
Added by Hammel almost 3 years ago

RM #398: Add ability to test with themed interface.

Revision 691ed5d1
Added by Hammel almost 3 years ago

RM #398: Add ability to test with themed interface.

Revision 86f56845
Added by Hammel almost 3 years ago

RM #398: Add mac address field and prep for filling it correctly.

Revision 86f56845
Added by Hammel almost 3 years ago

RM #398: Add mac address field and prep for filling it correctly.

Revision 1d8949b1
Added by Hammel almost 3 years ago

RM #398: Move code that retrieves mac address to its own function so it can be called under different conditions.

Revision 1d8949b1
Added by Hammel almost 3 years ago

RM #398: Move code that retrieves mac address to its own function so it can be called under different conditions.

Revision c3ea01dd
Added by Hammel almost 3 years ago

RM #398: Remove frame border from around MAC address but keep it selectable (for cut-n-paste option).

Revision c3ea01dd
Added by Hammel almost 3 years ago

RM #398: Remove frame border from around MAC address but keep it selectable (for cut-n-paste option).

Revision ac5aff89
Added by Hammel almost 3 years ago

RM #398: Update interface-related fields upon opening the window.

Revision ac5aff89
Added by Hammel almost 3 years ago

RM #398: Update interface-related fields upon opening the window.

Revision d2d58a17
Added by Hammel almost 3 years ago

RM #398: Update mac address in places where it wasn't retrieved because it was one of the previously configured interfaces in /etc/network/interfaces.

Revision d2d58a17
Added by Hammel almost 3 years ago

RM #398: Update mac address in places where it wasn't retrieved because it was one of the previously configured interfaces in /etc/network/interfaces.

Revision fcb6562b
Added by Hammel almost 3 years ago

RM #398: Added missing formatting in logger call. Removed unnecessary call to populate() that caused a segfault on ARM but not Intel.

Revision fcb6562b
Added by Hammel almost 3 years ago

RM #398: Added missing formatting in logger call. Removed unnecessary call to populate() that caused a segfault on ARM but not Intel.

Revision 80290e60
Added by Hammel almost 3 years ago

RM #398: Run bui-network-config in embedded mode.

Revision 41d0edd1
Added by Hammel almost 3 years ago

RM #398: Add mac address field to ipv4 settings tab of web interface.

Revision 1f5a0514
Added by Hammel almost 3 years ago

RM #398: Add support for inbound MA_GETMAC request, which returns the MAC address of the specified interface or a single space character if the interface does not exist.

History

#1 Updated by Hammel almost 3 years ago

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

Added mac address field. This is filled in with the mac address if the interface is found in /etc/network/interfaces. However if we find additional interfaces not configured then no mac address is provided.

The fix for this is to merge unconfigured network interfaces with those found in /etc/network/interfaces. The former are currently only kept by name while the latter have a data structure that can hold the mac address (among other things). Se we need the former to also use that data structure so we can grab the mac address even if the interface is not configured.

#2 Updated by Hammel almost 3 years ago

  • % Done changed from 30 to 70

Completed this coding and tested on the desktop. Now need to try it on the target.

#3 Updated by Hammel almost 3 years ago

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

Test on hardware failed at first due to an esoteric bug that showed up only on ARM (but not Intel). That's fixed now and the mac addresses show up correctly.

Closing the issue.

Also available in: Atom PDF