[GH-ISSUE #9] modempreview shows removed modem #4

Closed
opened 2026-03-04 12:06:50 +03:00 by kerem · 4 comments
Owner

Originally created by @giorez on GitHub (Sep 10, 2025).
Original GitHub issue: https://github.com/4IceG/luci-app-modemdata/issues/9

hello,
I have configured two modems at http://192.168.1.1/cgi-bin/luci/admin/modem/modemdata/modemdefine

Modem(s)
1 Quectel RM520N-GL serial /dev/ttyUSB2 4g: [Ethernet Adapter: "usb0"]
2 Quectel RM551E-GL serial /dev/ttyUSB2 4g: [Ethernet Adapter: "usb1"]

Than I phisycally removed the second one (RM551E-GL). But the page http://192.168.1.1/cgi-bin/luci/admin/modem/modemdata/modempreview still shows the "RM551E-GL" tab with data coming from "RM520N-GL" modem

Originally created by @giorez on GitHub (Sep 10, 2025). Original GitHub issue: https://github.com/4IceG/luci-app-modemdata/issues/9 hello, I have configured two modems at http://192.168.1.1/cgi-bin/luci/admin/modem/modemdata/modemdefine Modem(s) 1 Quectel RM520N-GL serial /dev/ttyUSB2 4g: [Ethernet Adapter: "usb0"] 2 Quectel RM551E-GL serial /dev/ttyUSB2 4g: [Ethernet Adapter: "usb1"] Than I phisycally removed the second one (RM551E-GL). But the page http://192.168.1.1/cgi-bin/luci/admin/modem/modemdata/modempreview still shows the "RM551E-GL" tab with data coming from "RM520N-GL" modem
kerem closed this issue 2026-03-04 12:06:50 +03:00
Author
Owner

@4IceG commented on GitHub (Sep 10, 2025):

Hi,
Clear settings to zero in the modem configuration tab.

<!-- gh-comment-id:3276241060 --> @4IceG commented on GitHub (Sep 10, 2025): Hi, Clear settings to zero in the modem configuration tab.
Author
Owner

@giorez commented on GitHub (Sep 10, 2025):

modem configuration tab doesn't show any CLEAR function. On my zbt z8102ax, I just have this theme (material).

Image
<!-- gh-comment-id:3276581416 --> @giorez commented on GitHub (Sep 10, 2025): modem configuration tab doesn't show any CLEAR function. On my zbt z8102ax, I just have this theme (material). <img width="999" height="953" alt="Image" src="https://github.com/user-attachments/assets/fccc7f9e-1d8d-492b-affc-f4250123bf7e" />
Author
Owner

@4IceG commented on GitHub (Sep 10, 2025):

There is no “magic button”, you simply need to adjust the configuration to your hardware.

Image

Another thing is that package does not check modems, because why would it.. The entire configuration is performed by the user.
Quectel has several ports for reading data, and the ones you currently have set up may be assigned to modem 1 and 2. The system should set this up and iterate the ports when modems are detected. It's not a package bug, you haven't changed the configuration.

By the way, I found a bug, but without another modem I can't check it and fix it.

<!-- gh-comment-id:3276624570 --> @4IceG commented on GitHub (Sep 10, 2025): There is no “magic button”, you simply need to adjust the configuration to your hardware. <img width="999" height="953" alt="Image" src="https://github.com/user-attachments/assets/e6e3af4d-f5ce-4415-a38f-d85428193e89" /> Another thing is that package does not check modems, because why would it.. The entire configuration is performed by the user. Quectel has several ports for reading data, and the ones you currently have set up may be assigned to modem 1 and 2. The system should set this up and iterate the ports when modems are detected. It's not a package bug, you haven't changed the configuration. By the way, I found a bug, but without another modem I can't check it and fix it.
Author
Owner

@giorez commented on GitHub (Sep 11, 2025):

@4IceG great, thanks!

<!-- gh-comment-id:3280306698 --> @giorez commented on GitHub (Sep 11, 2025): @4IceG great, thanks!
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/luci-app-modemdata#4
No description provided.