Skip to content

raspinfo: do not assume network interfaces names#194

Open
macmpi wants to merge 1 commit into
raspberrypi:masterfrom
macmpi:iface
Open

raspinfo: do not assume network interfaces names#194
macmpi wants to merge 1 commit into
raspberrypi:masterfrom
macmpi:iface

Conversation

@macmpi
Copy link
Copy Markdown
Contributor

@macmpi macmpi commented May 28, 2026

Keep same tests with discovered interface names.

@macmpi
Copy link
Copy Markdown
Contributor Author

macmpi commented May 28, 2026

we could tweak (and simplify) tests to have ethtool -i and -S for any interfaces in fact: brings useful info anyway.
Thoughts?

Comment thread raspinfo/raspinfo Outdated
Comment thread raspinfo/raspinfo Outdated
Comment thread raspinfo/raspinfo Outdated
Comment thread raspinfo/raspinfo
Comment thread raspinfo/raspinfo
@macmpi
Copy link
Copy Markdown
Contributor Author

macmpi commented May 29, 2026

pushed an update with tentative resolutions: let me know if ok or more tweaks needed.

@pelwell
Copy link
Copy Markdown
Collaborator

pelwell commented May 29, 2026

That looks about right. Perhaps a blank line after the interface name. Alternatively, how about running ifconfig within the loop, so that everything except the rfkill and /proc/net/wireless output is grouped by interface, and the ifconfig output for the interface becomes the header?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants