[GH-ISSUE #28] Add support for multiple modems #153

Closed
opened 2026-03-13 13:14:55 +03:00 by kerem · 17 comments
Owner

Originally created by @GektorUA on GitHub (Dec 18, 2022).
Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/28

Is there any chance that 3ginfo get support for multiple modems at one time?
I have system with 4 modems, mixed types (EP06-E, 3372 and etc), and to get information, i need every time change and save settings and go to information tab.
It will be good to make possibility to setup few configurations and make possible switch modems information with multiple tabs without need to change settings.

Originally created by @GektorUA on GitHub (Dec 18, 2022). Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/28 Is there any chance that 3ginfo get support for multiple modems at one time? I have system with 4 modems, mixed types (EP06-E, 3372 and etc), and to get information, i need every time change and save settings and go to information tab. It will be good to make possibility to setup few configurations and make possible switch modems information with multiple tabs without need to change settings.
kerem closed this issue 2026-03-13 13:15:00 +03:00
Author
Owner

@4IceG commented on GitHub (Dec 18, 2022):

I don't have a multimodem installation so I never thought about it and I didn't plan on it.
At the moment I want to rewrite the luci-app-sms-tool application to Luci JS. That's what I'd like to do in my free time.

<!-- gh-comment-id:1356869876 --> @4IceG commented on GitHub (Dec 18, 2022): I don't have a multimodem installation so I never thought about it and I didn't plan on it. At the moment I want to rewrite the luci-app-sms-tool application to Luci JS. That's what I'd like to do in my free time.
Author
Owner

@pedroo84 commented on GitHub (Jun 26, 2023):

I have a similar setup, would be awesome to have support for multiple modems at once.

<!-- gh-comment-id:1607960098 --> @pedroo84 commented on GitHub (Jun 26, 2023): I have a similar setup, would be awesome to have support for multiple modems at once.
Author
Owner

@4IceG commented on GitHub (Jun 27, 2023):

I'm planning to make a package that will make it easier to configure the modem(s).

The principle would be as follows, the user defines the modem/modems in the system and my other packages use that configuration.

dev

I'm just learning Javascript and LuCi JS, so I don't know if anything will come out of my concept. The idea seems good, it wouldn't be stupid if it can be described well in code.

<!-- gh-comment-id:1609835025 --> @4IceG commented on GitHub (Jun 27, 2023): I'm planning to make a package that will make it easier to configure the modem(s). The principle would be as follows, the user defines the modem/modems in the system and my other packages use that configuration. ![dev](https://github.com/4IceG/luci-app-3ginfo-lite/assets/59826889/f07d69a2-4e6a-44fe-b216-7ab6cc8f09f2) I'm just learning Javascript and LuCi JS, so I don't know if anything will come out of my concept. The idea seems good, it wouldn't be stupid if it can be described well in code.
Author
Owner

@4IceG commented on GitHub (Jul 4, 2023):

@GektorUA @pedroo84
I made something like this, I invite to test and feedback.
test.zip

<!-- gh-comment-id:1619852672 --> @4IceG commented on GitHub (Jul 4, 2023): @GektorUA @pedroo84 I made something like this, I invite to test and feedback. [test.zip](https://github.com/4IceG/luci-app-3ginfo-lite/files/11947335/test.zip)
Author
Owner

@pedroo84 commented on GitHub (Jul 4, 2023):

Hello @4IceG, thank you for that!

I'm testing it now, I've successfully installed and was able to navigate to the defined modems tab. There I was able to add two modems just fine.

I still have to go to 3Ginfo-Lite configuration page to add at least one of the modems in order to get to the status page and be able to switch between the two "defined modems"

But so far it looks very good.

I wonder if its possible to have a simpler tab with only the general information section for each modem, side by side, all together

Thanks again.

<!-- gh-comment-id:1620234303 --> @pedroo84 commented on GitHub (Jul 4, 2023): Hello @4IceG, thank you for that! I'm testing it now, I've successfully installed and was able to navigate to the defined modems tab. There I was able to add two modems just fine. I still have to go to 3Ginfo-Lite configuration page to add at least one of the modems in order to get to the status page and be able to switch between the two "defined modems" But so far it looks very good. I wonder if its possible to have a simpler tab with only the general information section for each modem, side by side, all together Thanks again.
Author
Owner

@4IceG commented on GitHub (Jul 5, 2023):

Hi @pedroo84

I still have to go to 3Ginfo-Lite configuration page to add at least one of the modems in order to get to the status page and be able to switch between the two "defined modems"

I will add it in the next version to make 3ginfo-lite search for the settings of the first defined modem at the start.

But so far it looks very good.

I wanted to add the simplest option to change the modem so that I don't have to rewrite the whole package again.

I wonder if its possible to have a simpler tab with only the general information section for each modem, side by side, all together

With modems defined, someone would have to write a completely new package with an extensive json object handling all the data. Good luck 😄

<!-- gh-comment-id:1621224368 --> @4IceG commented on GitHub (Jul 5, 2023): Hi @pedroo84 > I still have to go to 3Ginfo-Lite configuration page to add at least one of the modems in order to get to the status page and be able to switch between the two "defined modems" I will add it in the next version to make 3ginfo-lite search for the settings of the first defined modem at the start. > But so far it looks very good. I wanted to add the simplest option to change the modem so that I don't have to rewrite the whole package again. > I wonder if its possible to have a simpler tab with only the general information section for each modem, side by side, all together With modems defined, someone would have to write a completely new package with an extensive json object handling all the data. Good luck 😄
Author
Owner

@pedroo84 commented on GitHub (Aug 22, 2023):

Hello @4IceG how are you?

I'm trying to install 3ginfo-lite to a new system and I want the "defined modems" feature to be available, unfortunately I'm not able to use the "test" file you sent previously here, since now 3ginfo-lite is on a newer version than the "test" file.

Is there any ways I can downgrade to that particular version? or maybe you could incorporate "defined Modems" to the oficial releases? It was working great for me.

thanks

<!-- gh-comment-id:1688742655 --> @pedroo84 commented on GitHub (Aug 22, 2023): Hello @4IceG how are you? I'm trying to install 3ginfo-lite to a new system and I want the "defined modems" feature to be available, unfortunately I'm not able to use the "test" file you sent previously here, since now 3ginfo-lite is on a newer version than the "test" file. Is there any ways I can downgrade to that particular version? or maybe you could incorporate "defined Modems" to the oficial releases? It was working great for me. thanks
Author
Owner

@4IceG commented on GitHub (Aug 22, 2023):

Hi @pedroo84 ,
I'm just waiting for cooler days.

Install the latest versions of packages, someone has to test them, and if something does not work, I will fix it with a new version of the package.

<!-- gh-comment-id:1688888931 --> @4IceG commented on GitHub (Aug 22, 2023): Hi @pedroo84 , I'm just waiting for cooler days. Install the latest versions of packages, someone has to test them, and if something does not work, I will fix it with a new version of the package.
Author
Owner

@pedroo84 commented on GitHub (Aug 29, 2023):

Hello @4IceG Thanks for the reply.

I have installed the latest version using "opkg install luci-app-3ginfo-lite"

Screenshot 2023-08-29 at 14 29 47

But after installing I don't get the "defined modems" tab available on Luci, any idea how to solve this?

Screenshot 2023-08-29 at 14 28 23
<!-- gh-comment-id:1697867296 --> @pedroo84 commented on GitHub (Aug 29, 2023): Hello @4IceG Thanks for the reply. I have installed the latest version using "opkg install luci-app-3ginfo-lite" <img width="629" alt="Screenshot 2023-08-29 at 14 29 47" src="https://github.com/4IceG/luci-app-3ginfo-lite/assets/92762952/d97f8311-deb6-4833-ada6-d9e0c0b0eed2"> But after installing I don't get the "defined modems" tab available on Luci, any idea how to solve this? <img width="1076" alt="Screenshot 2023-08-29 at 14 28 23" src="https://github.com/4IceG/luci-app-3ginfo-lite/assets/92762952/4422b30b-17d3-41e4-be2d-88dba07681b2">
Author
Owner

@4IceG commented on GitHub (Aug 29, 2023):

Hi @pedroo84 ,
Install the latest versions of packages luci-app-modemdefine and luci-app-3ginfo-lite. If the package is not visible in the menu, log out and clear the browser cache.

<!-- gh-comment-id:1697877569 --> @4IceG commented on GitHub (Aug 29, 2023): Hi @pedroo84 , Install the latest versions of packages luci-app-modemdefine and luci-app-3ginfo-lite. If the package is not visible in the menu, log out and clear the browser cache.
Author
Owner

@pedroo84 commented on GitHub (Aug 29, 2023):

Hi @4IceG

I'm getting this error when trying to "opkg install luci-app-modemdefine"

Screenshot 2023-08-29 at 14 46 59

Maybe I shall remove everything and install again? just not sure how to proceed this.

thanks

<!-- gh-comment-id:1697885432 --> @pedroo84 commented on GitHub (Aug 29, 2023): Hi @4IceG I'm getting this error when trying to "opkg install luci-app-modemdefine" <img width="975" alt="Screenshot 2023-08-29 at 14 46 59" src="https://github.com/4IceG/luci-app-3ginfo-lite/assets/92762952/2fbea244-2ec8-4e58-9b80-e535c7f443f2"> Maybe I shall remove everything and install again? just not sure how to proceed this. thanks
Author
Owner

@4IceG commented on GitHub (Aug 29, 2023):

Yes, remove old packages before installing new ones. Configuration files are not compatible between these versions.

<!-- gh-comment-id:1697891481 --> @4IceG commented on GitHub (Aug 29, 2023): Yes, remove old packages before installing new ones. Configuration files are not compatible between these versions.
Author
Owner

@pedroo84 commented on GitHub (Aug 29, 2023):

Sorry @4IceG I'm really struggling here.
I've got it all removed, but when I install again I get this:
Screenshot 2023-08-29 at 15 10 06

Modem Information menu shows up, but defined modems won't show.

Any ideas?

<!-- gh-comment-id:1697915323 --> @pedroo84 commented on GitHub (Aug 29, 2023): Sorry @4IceG I'm really struggling here. I've got it all removed, but when I install again I get this: <img width="952" alt="Screenshot 2023-08-29 at 15 10 06" src="https://github.com/4IceG/luci-app-3ginfo-lite/assets/92762952/39a1d085-01e2-47b1-95ec-5a55577244a5"> Modem Information menu shows up, but defined modems won't show. Any ideas?
Author
Owner

@4IceG commented on GitHub (Aug 29, 2023):

Uninstall the packages again and execute commands in the console:

rm /etc/config/modemdefine
rm /etc/config/3ginfo

Install the packages again.

<!-- gh-comment-id:1697936803 --> @4IceG commented on GitHub (Aug 29, 2023): Uninstall the packages again and execute commands in the console: ``` rm /etc/config/modemdefine rm /etc/config/3ginfo ``` Install the packages again.
Author
Owner

@pedroo84 commented on GitHub (Aug 29, 2023):

Great, that worked. Thanks a lot

<!-- gh-comment-id:1697953100 --> @pedroo84 commented on GitHub (Aug 29, 2023): Great, that worked. Thanks a lot
Author
Owner

@4IceG commented on GitHub (Aug 29, 2023):

So I already know that the management of configuration files needs to be improved in the next version of the packages.

<!-- gh-comment-id:1697960130 --> @4IceG commented on GitHub (Aug 29, 2023): So I already know that the management of configuration files needs to be improved in the next version of the packages.
Author
Owner

@riccardoferti commented on GitHub (Dec 28, 2023):

Would you like to add support for Foxconn T99W175 also known as Dell DW5930e?
Device connected to board with PCI MHI and AT port available at /dev/wwan0at0, MBIM at /dev/wwan0mbim0 and QCDM at /dev/wwan0qcdm0

AT Commands available here:
https://www.codico.com/media/productattach/m/v/mv31_w_atc_v00058_2111538_1.pdf

by now only this info are shown
image

<!-- gh-comment-id:1871015490 --> @riccardoferti commented on GitHub (Dec 28, 2023): Would you like to add support for Foxconn T99W175 also known as Dell DW5930e? Device connected to board with PCI MHI and AT port available at /dev/wwan0at0, MBIM at /dev/wwan0mbim0 and QCDM at /dev/wwan0qcdm0 AT Commands available here: https://www.codico.com/media/productattach/m/v/mv31_w_atc_v00058_2111538_1.pdf by now only this info are shown ![image](https://github.com/4IceG/luci-app-3ginfo-lite/assets/38254169/5c52580c-42ff-4fdd-a157-eeb21f194cd2)
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-3ginfo-lite#153
No description provided.