Error #481
closed
- Category set to Network
- Target version set to v5.0.0
- Estimated time set to 10:00 h
Observed on a single-2.4 GHz radio device with 2 switched Ethernet ports (eth0.1, eth0.2).
AP radio is correct, but 802.11 radio is in the wrong network:
config wifi-iface 'wlan0'
option device 'radio0'
option mode 'mesh'
option mesh_id 'qMp'
option ifname 'wlan0'
option mesh_fwding '0'
option encryption 'none'
option network 'lan'
config wifi-iface 'wlan0ap'
option device 'radio0'
option mode 'ap'
option ssid 'qMp-AP'
option network 'lan'
option encryption 'none'
option ifname 'wlan0ap'
- % Done changed from 0 to 20
After this:
log "[Initial qMp system configuration]"
qmp_configure_initial
Config is OK.
After this:
log "[Full qMp system configuration]"
qmp_configure
Config is wrong.
- Status changed from Nou to Tancat
- % Done changed from 20 to 100
The information source for qmp_get_wifi_devices is sometimes slow to report the wireless devices information:
root@qMp-b38c:~# wifi; ubus call network.wireless status | jsonfilter -e '@.*.interfaces.*.section' | sort; echo "#########"; qmp_get_wifi_devices
wlan0
wlan1
wlan1ap
#########
wlan0 wlan1 wlan1ap
root@qMp-b38c:~# wifi; ubus call network.wireless status | jsonfilter -e '@.*.interfaces.*.section' | sort; echo "#########"; qmp_get_wifi_devices
wlan0
wlan1
wlan1ap
#########
wlan1 wlan1ap #<== wlan0 missing!
while ubus seems to report it always on time. Therefore, ubus should [also] be used as the wifi devices list source in qmp_get_wifi devices. Finally, in 03cabbb736658bd501ed7e0a28694f142f2c752a .
Also available in: Atom
PDF