Error #481
closedLAN bridge consistently gets 169.254.185.1 address during qmp_autoconf
Description
Instead of 172.30.22.1, it gets 169.254.185.1.
Updated by Roger Pueyo Centelles over 4 years ago
- 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'
Updated by Roger Pueyo Centelles over 4 years ago
- % 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.
Updated by Roger Pueyo Centelles over 4 years ago
- Status changed from Nou to Tancat
- % Done changed from 20 to 100
Aplicat en el conjunt de canvis b45499e1dc4ef962120a9f5970be99a7d19f8cef.
Updated by Roger Pueyo Centelles over 4 years ago
Fixed by the following commits:
- 507d2adbfbcaca22896c177093ad9de7b90f8bc2
- 6c5212f16880ac84359532fdebd518b26cede3e3
- b45499e1dc4ef962120a9f5970be99a7d19f8cef
Tested on a Nexx WT3020-8M
Updated by Roger Pueyo Centelles over 4 years ago
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 .