Skip to content

Commit

Permalink
fritzbox-7530: utilize lan1 as wan, others as lan
Browse files Browse the repository at this point in the history
With the switch to DSA on this board, we can now utilize the ports better, by splitting them according to their usage

Signed-off-by: Florian Maurer <f.maurer@outlook.de>
  • Loading branch information
maurerle authored and grische committed Jul 22, 2024
1 parent d7ed2df commit be4213d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ elseif platform.match('ath79', 'generic', {
'ubnt,unifiac-pro',
}) then
lan_ifname, wan_ifname = 'eth0.2', 'eth0.1'
elseif platform.match('ipq40xx', 'generic', {
'avm,fritzbox-7530',
}) then
lan_ifname, wan_ifname = 'lan2 lan3 lan4', 'lan1'
elseif platform.match('ramips', 'mt7621', {
'netgear,wac104',
}) then
Expand Down

0 comments on commit be4213d

Please sign in to comment.