Ethernet port icons on OpenWrt

I opened a pull request here so that people can try it out on their devices. If the feedback is positive, I'll merge it in a few days.

4 Likes

How I can try it on on 21.03? Need to build new image?

I don't think jow will entertain backport requests at this point. I just tried on 22.03 and it doesn't work there, this is meant to be tested on master.

Is there any possibility of it being included in final 22.03 or 22.03rc7(if there is one)

The delta between 22.03 and master should be smaller, that's for sure.

Is this included in 22.03?

No it is not.

Did not work with snapshot dated Thu Sep 8 on D-Link DIR-878 rev.A

No icons at all in the Status > Overview page.


Entered the following via SSH

opkg update
opkg install luci-mod-status

I got this on the software page in 21.02

It is not merged yet, neither in master nor 22.03

1 Like

Thanks jow.
How do I go about trying it out/installing it please?

Is it not just opkg update, opkg install luci-mod-status for snapshots?

Do I need to install all eight packages listed by KOA?

You can't install it via opkg yet, it's just unmerged code in a pull request at the moment.

Oke, doke.

Apply the PR to the LuCI codebase and compile the package, then install it through opkg if you can't wait.

1 Like

Thanks.
I'm liable to bungle it, so will wait. :slight_smile:

I have successfully displayed the interface status in 21.02, but the interface status is displayed on the left. How can I make it displayed in the center?

{
	"model": {
		"id": "default-string-default-string",
		"name": "Default string Default string"
	},
	"network": {
		"lan": {
			"device": "eth0",
			"protocol": "static"
		},
		"wan": {
			"device": "eth3",
			"protocol": "pppoe"
		}
	}
}

Only two interfaces can be displayed

with a bit of tweaking here and there, I managed to display one port in the status page, but no matter what I try, I can't view more than one

{
	"model": {
		"id": "xiaomi,mi-router-4a-gigabit",
		"name": "Xiaomi Mi Router 4A Gigabit Edition"
	},
	"network": {
		"lan": {
			"protocol": "static",
			"port": "eth0"		
			
		},
		"wan": {
			"protocol": "static",
			"device": "wan"
		}
		
	},
	"system": {
		"compat_version": "1.1"
	}
}

as soon as I add another port, it either throws me an error or doesn't show anything at all. what am I doing wrong here?

please note that I am on 21.02.07

Is there a blocker for this pr? I read somewhere tangentially about this PR but that was in ref to another problem.

It's merged now, with an additional change to disable the port view if swconfig is present.

7 Likes