Project

General

Profile

Actions

Característica #240

closed

Smart network devices selection

Added by Pau Escrich almost 12 years ago. Updated over 6 years ago.

Status:
Tancat
Priority:
Alta
Assignee:
-
Category:
Init scripts
Target version:
-
Start date:
05/03/2013
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

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.

Actions #1

Updated by Pau Escrich almost 12 years ago

  • Status changed from Nou to Resolt
Actions #2

Updated by Roger Pueyo Centelles over 6 years ago

  • Status changed from Resolt to Tancat
Actions

Also available in: Atom PDF