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 Apr 19 '14

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?

1 answer

Sort by » oldest newest most voted
0

answered Apr 19 '14

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.

Comments

1

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

bobbyblues gravatar imagebobbyblues (Apr 19 '14)edit

Question Tools

Stats

Asked: Apr 19 '14

Seen: 1,284 times

Last updated: Apr 19 '14