watchping floods logs when WAN is down
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- linux, shell
- Domain
- networking
Research direction
The warning comes from the ping call at line 53 of packages/watchping/files/usr/bin/watchping, which runs while the WAN interface is down and has no IP. Read the loop around that line to see how the interface is chosen and how often it retries. Done when the script skips the ping while the interface is down, and no warning is logged in that state.
Written by the indexing model from the issue text.
Description
Testing LibreMesh compiled on OpenWrt 25.12, I observed the following message several times in logread:
Mon Nov 23 12:10:07 2026 daemon.err watchping[5998]: ping: Warning: source address might be selected on device other than: wan
Apparently, this originates from this line:
when the WAN interface is down (no ethernet cable connected to it) and does not have any IP.
A solution could be to check if the interface is up before trying to use it for ping.
- Dominant language
- Lua
- Stars
- 338
- Forks
- 113
- Avg merge
- 8d 3h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from libremesh/lime-packages
-
drop dependencies of lime-debug and shared-state on iputils-pingPossibly taken @jay23606 claimed this 6 days ago. Openeasy to solve good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
libremesh/lime-packages#1279 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
libremesh/lime-packages#1304 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
libremesh/lime-packages#1303 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 49/100
libremesh/lime-packages#1295 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 22/100
libremesh/lime-packages#1290 · 1 comment ·
All issues in libremesh/lime-packages
Similar issues
-
[Fix Package]: gladPossibly taken @luadebug claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
xmake-io/xmake-repo#11342 ·
Maintainers usually reply within 1 day
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
MalloyTheDev/aseprite-mcp#279 ·
Maintainers usually reply within 1 day
-
Scan progress and ETC undercount retransmissions since 7.99x (stuck at 99.99% with --max-retries 0)Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
zigbeefordomoticz/wiki#391 ·
Maintainers usually reply within 1 day
-
help wanted in-game-client needs-game-copy
Difficulty 1/5 Under an hour Newbie friendliness 70/100
CodingRule/SixM#1 ·