Skip to content
Snippets Groups Projects
Commit 93cc8e54 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-core: fix primary MAC address on TP-LINK Archer C5/C7

parent 8c59e0c4
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,10 @@ if platform.match('ar71xx', 'generic', {'tl-wdr3600', 'tl-wdr4300'}) then
table.insert(try_files, 1, '/sys/class/ieee80211/phy1/macaddress')
end
if platform.match('ar71xx', 'generic', {'archer-c5', 'archer-c7'}) then
table.insert(try_files, 1, '/sys/class/net/eth1/address')
end
for _, file in ipairs(try_files) do
local addr = fs.readfile(file)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment