-
-
Notifications
You must be signed in to change notification settings - Fork 113
Babel interfaces not added dynamically after creating new WiFi radio interfaces #1243
Description
When I was configuring a new LibreMesh node, i could not make libremesh detect the radios in first boot automatically. if lime-config is run before WiFi interfaces exist babeld starts without any mesh interfaces.
After configuring the WiFi radios and running lime-config again, the interfaces are correctly added to /etc/config/babeld, but babeld doesn't pick them up until the service is restarted or the interfaces are manually added. A node reboot will also make the job done.
I think that WiFi mesh interfaces should be automatically added to babeld when they come up, without requiring a service restart. Do we need another hotplug script ? lime-apply seems very outdated bytw.
what i did was :
ubus call babeld add_interface '{"ifname":"wlan0-mesh_17"}'
ubus call babeld add_interface '{"ifname":"wlan1-mesh_17"}'/etc/init.d/babeld restart or just reboot fixes the problem.