Característica #240
tancatSmart network devices selection
Descripció
Autoconfiguration of network interfaces is not implemented.
In the first boot, when /qmp_configured does not exist and /etc/init.d/qmp_autoconf starts the main autoconfiguration process, the network devices are not modified (mesh_interfaces, lan_interfaces and wan_interfaces).
However the WiFi scripts (qmp_wireless.sh) have some heuristics to determine which is in each case the smartest choice, for instance:
- wlan0 is 2.4Ghz
- wlan1 is 2.4Ghz and 5Ghz
The system selects wlan0 as AP and wlan1 as Ad-Hoc in 5Ghz. In this case the interface wlan0 should be used for clients (AP) so it should go to "lan_devices" variable, however it is not working like that and wlan0 would be "mesh_devices" even if the link layer is in Infrastrcuture mode.
Then the firstboot process should take this into account and configure the network devices properly.