lain
lain copied to clipboard
net widgets and iface arrays
I'm having trouble with the netup/down and different interfaces. With the default, it never detects any network unless I'm on tun0 (vpn). When I manually configure it, I have the following behaviour:
The array doesn't seem to work.
If I insert iface = "wlp2s0", under local netupinfo = lain.widgets.net({
it correctly collects information on that interface.
But if I instead insert:
iface = { "enp0s25", "tun0", "wlp2s0" },
then it will not collect information on wlp2s0. Though (as far as I can tell) it always correctly collects info on tun0. enp0s25 seems to behave similarly.
enp0s25seems to behave similarly
To what? tun0 or wlp2s0?
Please, paste me a snapshot of these files:
statistics/{tx_bytes,rx_bytes}carrieroperstate
from each of your iface folders (/sys/class/net/{enp0s25,tun0,wlp2s0}/).
@emacsomancer Ping.
Snapshotted here: https://mega.nz/#!NOBHCChb!65ZcRGnf4pemMj_IdgXR6GbldN8afnJ_mnLHXN0EjI8
This is on my laptop, and it's not connected to ethernet, so nothing will be there for that interface.
I meant that enp0s25 behaves like wlp2s0 in not displaying traffic with the default or grouped interface setting, but only when it is specified as a singleton.
I have exactly the same behaviour with respect to these interfaces on my desktops, so it's not specific to a particular machine.
Hello.
I solved this issue by enabling WEXT compatibility in the kernel. See WiFi - Gentoo Wiki for details.
It's not a fundamental solution...
It's not a fundamental solution...
@a7p11t If you intended to say that fundamentally it is not a solution, then how do you think we can solve it?