question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing support for displaying physical port status on the web interface on DSA devices

See original GitHub issue

Before the DSA switchover, the link status of physical ports is displayed on the switch page, which is not present on DSA devices anymore. Currently, as far as I can tell, there is no way to acquire this information on LuCI anymore. image

Now that #4307 has been merged, please consider making these basic info available on the web interface as well. The carrier status, duplex mode and speed can be simply acquired from sysfs:

/sys/class/net/eth0/carrier
/sys/class/net/eth0/duplex
/sys/class/net/eth0/speed

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:5
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
dengqf6commented, Mar 20, 2021

a) add a new section to the main status page which simply displays all DSA ports with their related link and speed state (basically just the "Port status: " row)

This should be applied to all ethernet ports, not just DSA. Would be useful for routers that have multiple NICs.

1reaction
jow-commented, Jul 27, 2022

It is open.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Architecture
the “dsa” port(s) are just conduits between two or more switches, and as such cannot really be used as proper network interfaces either,...
Read more >
swconfig
The main difference between swconfig and DSA is that DSA-supported switches show one network interface per port, whereas swconfig-configured ...
Read more >
Port Status and Configuration
Viewing port status and configuring port parameters. Connecting transceivers to fixed-configuration devices. If the switch either fails to show a link ...
Read more >
Cisco ME 1200 Series Carrier Ethernet Access Device ...
Cisco ME 1200 Series Carrier Ethernet Access Device Web Interface User Guide, ... Physical Port Configuration and Status, page 7.
Read more >
Physical Ports Missing from ip link show Output - switchd ...
ip link show displays only the loopback and management (ethX) ports. Physical switch ports — the interfaces starting with swp — are not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found