The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

i3status not showing network information

asked 2014-04-19 22:20:03 +0000

bobbyblues gravatar image

Hi,

I just installed i3 on a new laptop and I can get i3status to show the network status.

Using the default configuration file, I see:

no IPv6 | 31,2 GiB | DHCP: no | VPN: no | W: down | E: down | FULL 101,56% | 0,60 | 2014-04-19 18:04:15

However, when running ifconfig, I see that my network cards are not known as wlan0 and eth0. Instead ifconfig gives me wlp6s0 for the wifi card, and enp5s0f2 for the ethernet card. So I modify i3status config file to have:

wireless wlp6s0 {
    format_up = "W: (%quality at %essid) %ip"
    format_down = "W: down"
}

ethernet enp5s0f2 {
    # if you use %speed, i3status requires root privileges
    format_up = "E: %ip (%speed)"
    format_down = "E: down"
}

However, when running i3status after that, no network information shows:

no IPv6 | 31,2 GiB | DHCP: no | VPN: no | | | FULL 101,56% | 0,60 | 2014-04-19 18:09:32

I also tried running i3status as root, but that did not change anything. Did I miss something in the configuration?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2014-04-19 22:58:56 +0000

Michael gravatar image

Yes, you missed the “order” directives which also contain the network interface name. You need to replace eth0 by enp5s0f2 there, too. Just search for all occurences in the file.

edit flag offensive delete link more

Comments

1

Arf, I feel stupid. Thanks a lot, that solved it!

bobbyblues gravatar imagebobbyblues ( 2014-04-19 23:01:34 +0000 )edit

Question Tools

Stats

Asked: 2014-04-19 22:20:03 +0000

Seen: 1,284 times

Last updated: Apr 19 '14