the network information is not fetched correctly, shows up as "W: (? at ?)"
- Dominant language
- C
- Stars
- 653
- Forks
- 254
- PR merge metrics
- No merged PRs in 30d
Description
I also asked this on /r/i3wm ([Link](https://www.reddit.com/r/i3wm/comments/i5acba/i3bar_does_not_display_the_correct_network/?ref=share&ref_source=link)), but it might be more fitting here.
I'm successfully connected to a wifi network via a USB network adapter. However, the network information is not being read correctly, showing up as `W: (? at ?) 192.168.1.199`.
The network information is, on the other hand, read correctly by `nmcli dev`.
I'm using a standard `i3status` configuration: the relevant lines in my config file are
bar {
status_command i3status
}
I should also note that the status bar worked fine until yesterday, but I had to change USB network adapter, and with this one I'm seeing the problem, although I can connect to networks fine.
In case this information might be useful, the device I'm using, as given by `lsusb`, is
Bus 003 Device 003: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
The corresponding driver in use, as reported by `dmesg`, is `r8188eu`, which `modinfo` confirms I have installed.
I also just updated `i3` and `i3status` from `https://debian.sur5r.net/i3/`. I have `i3 version 4.18 (2020-02-17)` and `i3status 2.13`.
A Reddit user also pointed me to [this section of the source](https://github.com/i3/i3status/blob/master/src/print_wireless_info.c#L289) being responsible for fetching the relevant information, but I still can't tell exactly how `i3status` is trying to get the network info.
Contributor guide
Assessment
This issue has not been assessed yet.