shdown / luastatus

universal status bar content generator
GNU General Public License v3.0
295 stars 12 forks source link

[request] display ethernet network's name #47

Closed lieux closed 5 years ago

lieux commented 5 years ago

Like a wifi's SSID.

shdown commented 5 years ago

My guess is that it’s specific to the tool you use to configure your ethernet connection. Which one do you use?

lieux commented 5 years ago

Which one do you use?

I use systemd-networkd.

lieux commented 5 years ago

I misclicked.

shdown commented 5 years ago

OK, but what “name”, exactly, do you want to see? Is it the name of the .network file currently active? Is it the Description= field specified in it?

E.g. do you have a shell command that would output the desired “name”?

lieux commented 5 years ago

Looking at the network-linux plugin, what I'm trying to say is I'd like to have an ethernet option like the one from the wifi table which has an ssid entry. Currently, the ethernet table has only the speed entry. And the name that I'm referring to is the one configured from a network modem.

shdown commented 5 years ago

Can you provide a command that outputs the desired name?

lieux commented 5 years ago

I don't have any. I pressume that by only using the Linux kernel headers, you can take out the SSID of any WiFi network. I just thought if you could do the same for ethernet networks.

shdown commented 5 years ago

As far as I know, there’s no such thing as SSID/“network name” equivalent for Ethernet connection.

lieux commented 5 years ago

Yeah. I thought there is. Thanks anyway. Closing.