Babel interfaces not added dynamically after creating new WiFi radio interfaces

Open
#1,243 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
lua
Domain
networking

Research direction

Start by tracing how lime-config writes /etc/config/babeld and how babeld receives interface updates when WiFi radios appear; the report mentions lime-apply and the ubus call babeld add_interface commands as investigation points. Check the OpenWrt hotplug path and reproduce the first boot sequence where radios are configured after lime-config. Done means newly created mesh interfaces are added to babeld without restarting the service.

Written by the indexing model from the issue text.

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.

Dominant language
Lua
Stars
338
Forks
113
Avg merge
8d 3h
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from libremesh/lime-packages

All issues in libremesh/lime-packages

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.