OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version openwrt-19.07
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Josua Mayer - 25.12.2019

FS#2694 - Clearfog Pro: Default LAN / WAN Interface assignment is wrong

On my Clearfog Pro Rev 2.0 the interfaces map as follows:

eth0: switch
eth1: SFP
eth2: standalone ethernet

This does not match the current description in /etc/board.d/02_network:

# eth0 is standalone ethernet
# eth1 is switch (-pro) or standalone ethernet (-base)
# eth2 is SFP
ucidef_set_interfaces_lan_wan "eth1" "eth0 eth2"

While I don’t agree with the lan/wan decision made here, at least the comment should match reality.
So I suggest changing it to:

# eth2 is standalone ethernet
# eth0 is switch (-pro) or standalone ethernet (-base)
# eth1 is SFP
ucidef_set_interfaces_lan_wan "eth0 eth1" "eth2"

Please also see the attached patch file, which also changes the switch configuration accordingly.

Josua Mayer commented on 26.12.2019 11:12

Created a proper patch-file that doesn't change thje lan/wan assignmenmt described in the code comments, but *does* update the ethY handles accordingly.

Wouter H commented on 29.12.2019 23:15

I can confirm this bug on my own clearfog pro device.
Using 18.06.1 everything still worked out of the box. On more recent versions (I tested 18.06.5 and a compiled master branch) the switch is bridged with the wan rj45 port.

Applying the patch above by Josua fixes the problem and openwrt behaves as expected again.

Simon commented on 11.01.2020 20:14

I can also confirm this behaviour on my clearfog pro.

it works on 18.06 branch (up to 18.06.6), but does not work on 19.07 as every available copper port is bridged to wan.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing