Feature #398
Show mac addresses
Status: | Closed | Start date: | 11 Nov 2014 | |
---|---|---|---|---|
Priority: | Urgent | Due date: | ||
Assignee: | % 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
RM #398: Make bui-network-config conform to use of -T instead of -t for aps.
RM #398: Make bui-network-config conform to use of -T instead of -t for aps.
RM #398: Add ability to test with themed interface.
RM #398: Add ability to test with themed interface.
RM #398: Add mac address field and prep for filling it correctly.
RM #398: Add mac address field and prep for filling it correctly.
RM #398: Move code that retrieves mac address to its own function so it can be called under different conditions.
RM #398: Move code that retrieves mac address to its own function so it can be called under different conditions.
RM #398: Remove frame border from around MAC address but keep it selectable (for cut-n-paste option).
RM #398: Remove frame border from around MAC address but keep it selectable (for cut-n-paste option).
RM #398: Update interface-related fields upon opening the window.
RM #398: Update interface-related fields upon opening the window.
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.
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.
RM #398: Added missing formatting in logger call. Removed unnecessary call to populate() that caused a segfault on ARM but not Intel.
RM #398: Added missing formatting in logger call. Removed unnecessary call to populate() that caused a segfault on ARM but not Intel.
RM #398: Run bui-network-config in embedded mode.
RM #398: Add mac address field to ipv4 settings tab of web interface.
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 over 6 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 over 6 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 over 6 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.