[GH-ISSUE #43] hide b5gsa and b5gnsa tabs for 4G only modems #38

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

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

Hi Rafał,
is it possible to hide the two tabs in case the modem can't support 5G tecnology (i.e. quectel EP06)? This will improve layout for a cleaner interface. In the actual version, in case of 4G only modem the tabs are rendered as following:

http://192.168.1.1/cgi-bin/luci/admin/modem/luci-app-modemband/b5gnsa
5G NSA Bands Configuration
Configuration modem frequency bands. More information about the modemband application on the eko.one.pl forum.
5G bands cannot be read. Check if your modem supports this technology and if it is in the list of supported modems.

http://192.168.1.1/cgi-bin/luci/admin/modem/luci-app-modemband/b5gsa
TypeError
undefined is not an object (evaluating 'menu.childNodes[selected].classList')

thanks for your hard work

Originally created by @giorez on GitHub (Sep 6, 2025). Original GitHub issue: https://github.com/4IceG/luci-app-modemband/issues/43 Hi Rafał, is it possible to hide the two tabs in case the modem can't support 5G tecnology (i.e. quectel EP06)? This will improve layout for a cleaner interface. In the actual version, in case of 4G only modem the tabs are rendered as following: http://192.168.1.1/cgi-bin/luci/admin/modem/luci-app-modemband/b5gnsa 5G NSA Bands Configuration Configuration modem frequency bands. More information about the modemband application on the [eko.one.pl forum](https://eko.one.pl/?p=openwrt-modemband). 5G bands cannot be read. Check if your modem supports this technology and if it is in the list of supported modems. http://192.168.1.1/cgi-bin/luci/admin/modem/luci-app-modemband/b5gsa TypeError undefined is not an object (evaluating 'menu.childNodes[selected].classList') thanks for your hard work
kerem closed this issue 2026-03-04 12:06:54 +03:00
Author
Owner

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

Hi,
These tabs (pages) are described here:
https://github.com/4IceG/luci-app-modemband/blob/main/luci-app-modemband/root/usr/share/luci/menu.d/luci-app-modemband.json
I do not generate them dynamically depending on the modem. I would have to write a new package to be able to control this.

Edit:
What version of OpenWrt do you have that you're having so many problems with my packages? There are always some errors.

I'll start up my ZTE MF286D and check it again.

<!-- gh-comment-id:3262192527 --> @4IceG commented on GitHub (Sep 6, 2025): Hi, These tabs (pages) are described here: `https://github.com/4IceG/luci-app-modemband/blob/main/luci-app-modemband/root/usr/share/luci/menu.d/luci-app-modemband.json` I do not generate them dynamically depending on the modem. I would have to write a new package to be able to control this. Edit: What version of OpenWrt do you have that you're having so many problems with my packages? There are always some errors. I'll start up my ZTE MF286D and check it again.
Author
Owner

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

I see. I thought it was just about an "hide function" with "if statement" for 4G only modem in /root/usr/share/luci/menu.d/luci-app-modemband.json file:
line 33 "admin/modem/luci-app-modemband/b5gsa": {
line 42 "admin/modem/luci-app-modemband/b5gnsa": {

thanks anyway

What version of OpenWrt do you have that you're having so many problems with my packages? There are always some errors.

I'm actually using:
ztb wg1602, openwrt 24.10.2, quectel EP06
zbt z8102ax, zbt snapshot 21.0.2, quectel RM520N-GL
(I will also try on my RM551E-GL with embedded snapshot 22.0.3)

No problem for those small errors, I'm happy with your packages. I hope you keep sharing your skills. I'm not expert at all, but feel free to ask for testing or translating your packages into italian language.

<!-- gh-comment-id:3262209072 --> @giorez commented on GitHub (Sep 6, 2025): I see. I thought it was just about an "hide function" with "if statement" for 4G only modem in /root/usr/share/luci/menu.d/luci-app-modemband.json file: line 33 "admin/modem/luci-app-modemband/b5gsa": { line 42 "admin/modem/luci-app-modemband/b5gnsa": { thanks anyway > What version of OpenWrt do you have that you're having so many problems with my packages? There are always some errors. I'm actually using: ztb wg1602, openwrt 24.10.2, quectel EP06 zbt z8102ax, zbt snapshot 21.0.2, quectel RM520N-GL (I will also try on my RM551E-GL with embedded snapshot 22.0.3) No problem for those small errors, I'm happy with your packages. I hope you keep sharing your skills. I'm not expert at all, but feel free to ask for testing or translating your packages into italian language.
Author
Owner

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

I'm actually using:
ztb wg1602, openwrt 24.10.2, quectel EP06
zbt z8102ax, zbt snapshot 21.0.2, quectel RM520N-GL
(I will also try on my RM551E-GL with embedded snapshot 22.0.3)

And errors are on every device?

I try to test packages before releasing them (on ZTE MF286D openwrt 24.10.0 - ipk) to ensure there are no bugs.
There are too many changes in software/hardware for me to prepare a package for everything.

No problem for those small errors, I'm happy with your packages. I hope you keep sharing your skills.

I have ideas for new packages, but I just don't want to fight with users anymore. Errors appearing out of nowhere, constant suggestions from users that package should have this or that. Sometimes I feel like deleting my GitHub account.

<!-- gh-comment-id:3262456285 --> @4IceG commented on GitHub (Sep 6, 2025): > I'm actually using: > ztb wg1602, openwrt 24.10.2, quectel EP06 > zbt z8102ax, zbt snapshot 21.0.2, quectel RM520N-GL > (I will also try on my RM551E-GL with embedded snapshot 22.0.3) And errors are on every device? I try to test packages before releasing them (on ZTE MF286D openwrt 24.10.0 - ipk) to ensure there are no bugs. There are too many changes in software/hardware for me to prepare a package for everything. > No problem for those small errors, I'm happy with your packages. I hope you keep sharing your skills. I have ideas for new packages, but I just don't want to fight with users anymore. Errors appearing out of nowhere, constant suggestions from users that package should have this or that. Sometimes I feel like deleting my GitHub account.
Author
Owner

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

I can't check at the moment, I will reply to you in a couple of days.
Never give up... ✌️

sent from aipad

On 6 Sep 2025, at 17:47, Rafał Wabik @.***> wrote:



4IceG
left a comment
(4IceG/luci-app-modemband#43)
I'm actually using:
ztb wg1602, openwrt 24.10.2, quectel EP06
zbt z8102ax, zbt snapshot 21.0.2, quectel RM520N-GL
(I will also try on my RM551E-GL with embedded snapshot 22.0.3)

And errors are on every device?

I try to test packages before releasing them (on ZTE MF286D openwrt 24.10.0 - ipk) to ensure there are no bugs.
There are too many changes in software/hardware for me to prepare a package for everything.

No problem for those small errors, I'm happy with your packages. I hope you keep sharing your skills.

I have ideas for new packages, but I just don't want to fight with users anymore. Errors appearing out of nowhere, constant suggestions from users that package should have this or that. Sometimes I feel like deleting my GitHub account.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

<!-- gh-comment-id:3262644617 --> @giorez commented on GitHub (Sep 6, 2025): I can't check at the moment, I will reply to you in a couple of days. Never give up... ✌️ sent from aipad > On 6 Sep 2025, at 17:47, Rafał Wabik ***@***.***> wrote: > >  > > 4IceG > left a comment > (4IceG/luci-app-modemband#43) > I'm actually using: > ztb wg1602, openwrt 24.10.2, quectel EP06 > zbt z8102ax, zbt snapshot 21.0.2, quectel RM520N-GL > (I will also try on my RM551E-GL with embedded snapshot 22.0.3) > > And errors are on every device? > > I try to test packages before releasing them (on ZTE MF286D openwrt 24.10.0 - ipk) to ensure there are no bugs. > There are too many changes in software/hardware for me to prepare a package for everything. > > No problem for those small errors, I'm happy with your packages. I hope you keep sharing your skills. > > I have ideas for new packages, but I just don't want to fight with users anymore. Errors appearing out of nowhere, constant suggestions from users that package should have this or that. Sometimes I feel like deleting my GitHub account. > > — > Reply to this email directly, view it on GitHub, or unsubscribe. > You are receiving this because you authored the thread.
Author
Owner

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

And errors are on every device?

this is the error I get on zbt wg1602, openwrt 24.10.2, quectel EP06 (4G only modem)

page
http://192.168.1.1/cgi-bin/luci/admin/modem/luci-app-modemband/b5gsa
TypeError. undefined is not an object (evaluating 'menu.childNodes[selected].classList')
The page also keeps showing the loading symbol until it is quitted

Image

page
http://192.168.1.1/cgi-bin/luci/admin/modem/luci-app-modemband/b5gnsa
5G NSA Bands Configuration
Configuration modem frequency bands. More information about the modemband application on the eko.one.pl forum.
5G bands cannot be read. Check if your modem supports this technology and if it is in the list of supported modems.

Image
<!-- gh-comment-id:3275873596 --> @giorez commented on GitHub (Sep 10, 2025): > And errors are on every device? this is the error I get on zbt wg1602, openwrt 24.10.2, quectel EP06 (4G only modem) page http://192.168.1.1/cgi-bin/luci/admin/modem/luci-app-modemband/b5gsa TypeError. undefined is not an object (evaluating 'menu.childNodes[selected].classList') The page also keeps showing the loading symbol until it is quitted <img width="2048" height="1536" alt="Image" src="https://github.com/user-attachments/assets/832b50ce-9ca9-430b-a594-a02076f90b9a" /> page http://192.168.1.1/cgi-bin/luci/admin/modem/luci-app-modemband/b5gnsa 5G NSA Bands Configuration Configuration modem frequency bands. More information about the modemband application on the [eko.one.pl forum](https://eko.one.pl/?p=openwrt-modemband). 5G bands cannot be read. Check if your modem supports this technology and if it is in the list of supported modems. <img width="2048" height="1536" alt="Image" src="https://github.com/user-attachments/assets/d8b51d76-7d9a-47cc-8642-5daaf7659162" />
Author
Owner

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

I'll check it out this weekend, I need to find a 4G modem.

<!-- gh-comment-id:3276389524 --> @4IceG commented on GitHub (Sep 10, 2025): I'll check it out this weekend, I need to find a 4G modem.
Author
Owner

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

thanks of update your modules on ztb wg1602, openwrt 24.10.2, quectel EP06 the issue about NSA tab error is solved. now it shows the same warning of SA tab.

<!-- gh-comment-id:3314748850 --> @giorez commented on GitHub (Sep 20, 2025): thanks of update your modules on ztb wg1602, openwrt 24.10.2, quectel EP06 the issue about NSA tab error is solved. now it shows the same warning of SA tab.
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-modemband#38
No description provided.