From b74287c017b8da61ce572fa95f82edbee7698ce9 Mon Sep 17 00:00:00 2001 From: Maximilian Baumgartner Date: Fri, 17 Jun 2022 23:27:06 +0200 Subject: [PATCH] rampis-mt7621: add support for Netgear WAC104 (#2557) Co-authored-by: Maximilian Baumgartner --- docs/user/supported_devices.rst | 1 + package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces | 4 ++++ targets/ramips-mt7621 | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index 2da489d9..1e259cde 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -300,6 +300,7 @@ ramips-mt7621 - EX6150 (v1) - R6220 + - WAC104 * TP-Link diff --git a/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces b/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces index 164e996a..765f19aa 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces @@ -67,6 +67,10 @@ elseif platform.match('lantiq') then break end end +elseif platform.match('ramips', 'mt7621', { + 'netgear,wac104', +}) then + lan_ifname, wan_ifname = 'lan2 lan3 lan4', 'lan1' end if wan_ifname and lan_ifname then diff --git a/targets/ramips-mt7621 b/targets/ramips-mt7621 index 44b8ada3..fd5d8bb9 100644 --- a/targets/ramips-mt7621 +++ b/targets/ramips-mt7621 @@ -20,6 +20,10 @@ device('netgear-r6220', 'netgear_r6220', { factory_ext = '.img', }) +device('netgear-wac104', 'netgear_wac104', { + factory_ext = '.img', +}) + device('netgear-wndr3700-v5', 'netgear_wndr3700-v5', { factory = false, broken = true, -- untested