openwrt / openwrt/packages

miniupnpd edgerouter 4 won't start

Open
#17,523 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale
Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Maintainer:
Environment: openwrt snapshot r18468-4a2cca7824 on Ubiquiti Edgerouter 4
Description: I recently got openwrt up and running on my edgerouter 4 and it seems like miniupnpd doesn't play well. Setting it up through luci gives the following error:

miniupnpd[7332]: Error: Option -a missing and listening_ip is not set in config file

And I tried running it in the console as well by pointing miniupnpd to the config file (made by luci) with the listening IP set to the eth that goes to my switch it starts but checking the log shows this:

Fri Jan  7 15:56:34 2022 daemon.err miniupnpd[7544]: send_batch: mnl_cb_run returned -1
Fri Jan  7 15:56:34 2022 daemon.err miniupnpd[7544]: table_op(0, 1, miniupnpd) send_batch failed -4
Fri Jan  7 15:56:34 2022 daemon.err miniupnpd[7544]: Failed to init redirection engine. EXITING

Everything in the config file seems to be configured according to miniupnpd's docs so I'm not sure why it's crashing. My openwrt knowledge is limited (at the moment!) but I would be happy to test things where possible.

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the failure on the reported OpenWrt snapshot and inspect the LuCI-generated miniupnpd configuration, especially the listening IP setting. Compare the startup messages with the redirection-engine errors and determine the configuration or package change needed for miniupnpd to start successfully; done means the service starts without either error.

Written by the indexing model from the issue text.

Assessment

Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.