Project

General

Profile

Actions

Característica #482

closed

primary_device on devices with DSA networking

Added by Roger Pueyo Centelles over 4 years ago. Updated almost 4 years ago.

Status:
Tancat
Priority:
Baixa
Category:
Network
Target version:
Start date:
07/02/2020
Due date:
% Done:

100%

Estimated time:
4:00 h
Spent time:

Description

MT7621-based devices now use DSA networking, so eth0 is no longer present for most of them. Therefore, eth0 should only be added to primary_device as a very last option:

root@qMp-99c2:/# head -n15  /etc/config/qmp 

config qmp 'interfaces'
    option lan_devices 'lan1 lan2'
    option mesh_devices 'eth0 lan1 lan2 wan'
    option wan_devices 'wan'
    option no_vlan_devices 'eth0 lan1 lan2 wan'

config qmp 'node'
    option primary_device 'eth0'
    option device_name 'qMp'
    option append_id '1'
    option prepend_cnm '1'
    option key '/tmp/qmp_key'
    option elevation '0'
    option latitude '0.0'
Actions

Also available in: Atom PDF