modemmanager: Modem connected but without internet

Open
#30,823 10 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reading the modemmanager package files in this repository and the issue’s report of the Huawei E3531s-2 losing internet while OpenWrt still shows it connected. Check whether the package or its reported settings handle a lost data connection and reconnection; the payload names no specific source file or test. Done means identifying why internet access is lost and whether modemmanager can restore it without rebooting the router.

Written by the indexing model from the issue text.

Description

bug
Package Name

modemmanager

Maintainer

openwrt

OpenWrt Version

25.12.5

OpenWrt Target/Subtarget

bmips/bcm63268

Steps to Reproduce

I have a 3g modem Huawei E3531s-2 (v21.318.35.00.00) connected to OpenWrt (v25.12.5 r33051-f5dae5ece4), I use modemmanger (1.24.0-r11) as protocol in wan interface to connect to ISP.

The problem is that after several hours (sometimes not even one hour) I lose internet and everyone in my home gets a message saying limited connectivity, the modem is still showing being connected in OpenWrt overview page but without internet, the only solution to fix it is to reboot the router.

I tried using watchcat to restart router or interface when internet is lost, but it introduced other racing bugs while booting and enter a loop of errors without fixing the problem.

Is there any setting which I don't know and should be enabled to keep modemmanager restarting connection with ISP when internet is lost, because I think ISP is redistributing IPs to connected devices at random intervals and modemmanager doesn't detect the changes.

Actual Behaviour

Only rebooting fixes the lost internet.

Confirmation Checklist
Dominant language
Makefile
Stars
4.7k
Forks
4k
Avg merge
2d 2h
Merged PRs (30d)
251

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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 openwrt/packages

All issues in openwrt/packages

Similar issues

More Networking issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.