[FS#390] Bt Home Hub 5 Type A Bridging Yellow Switch and RED Port does not work

LEDE Bugs lede-bugs at lists.infradead.org
Sat Feb 11 07:53:22 PST 2017


The following task has a new comment added:

FS#390 - Bt Home Hub 5 Type A Bridging Yellow Switch and RED Port does not work
User who did this - Mauro Mozzarelli (ezplanet)

----------
I tried to interpret what you were trying to do and I edited 02_network as follows to overcome the rejects.


BTHOMEHUBV5A)
        lan_mac=$(mtd_get_mac_binary_ubi caldata 4364)
        xwan_mac=$(macaddr_add "$lan_mac" 1)
        wan_mac=$(macaddr_add "$xwan_mac" 3)
        ucidef_add_switch "switch0" \
                "0:lan:3" "1:lan:4" "2:lan:2" "4:lan:1" "5:wan:5" "6t at eth0"
        ;;


The firmware built this way creates an /etc/board.json with duplicate switch definition and incomplete interface names (" .1" instead of "eth0.1", etc.) and thus nothing works. Amending board.json and /etc/config/network manually gives me a Red Wan Ethernet. In the switch configuration, when I put port WAN untagged with switch0.1 it works as required.

However:

You renamed "wan" to "xwan" and assigned "wan" to the Red Ethernet. Not only this is unnecessary, it is wrong because, as I explained in the lede-dev list, there is a very low priority case to use it as a WAN port and it could be done anyway whatever the name.

The current "wan" port configuration is fine as it is and it should not be touched. xDSL should be the main WAN on this router.

Please add the Red Ethernet as an additional port, name it xwan, ewan, dmz, lan2, but it should appear as another LAN interface not a WAN.

Please ensure too that the Yellow switch can be extended to use the Red Ethernet port 5.
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=390#comment1709



More information about the lede-bugs mailing list