Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Net Block placeholder issue #2062

Open
kagaroth opened this issue Jun 13, 2024 · 0 comments
Open

Net Block placeholder issue #2062

kagaroth opened this issue Jun 13, 2024 · 0 comments

Comments

@kagaroth
Copy link

I don't know what , when or how this happened but the net block refuses to pick up L3 information from point to point interfaces. It used to work, hell, 3 days ago it was fine, but now if I use eth0 and a router all is a okay with this block but if I pull the router out the equation and just use the PPPoE connection on my laptop then I have a wonderful "NetIFs error" where the net block should be. So I just looked around and I see that it shows the IPv6LL of my eth0 instead of ppp0 so that is the reason why it gives an error because there is no IP on eth0 since I have a PPPoE connection.
Can something be done to solve this issue or I have to look, once again, for another app to replace i3status-rust? The net and weather block of i3status-rust are what made me use it for a few years now so I would like to keep using it if I can.
My net block definition:

[[block]]
block = "net"
format_alt = " {$ssid $signal_strength ($frequency)|Wired connection} via $device "
interval = 1
missing_format = " $icon $device "
error_format=" NetIFs error "
#if_command="ping -c1 -i.2 -4 -w1 google.com > /dev/null 2>&1"
[block.format]
full = " $ip {$ipv6|} "
#full = " $ip {$ipv6|} ^icon_net_down$speed_down.eng(w:4,u:b) ^icon_net_up $speed_up.eng(w:4,u:b) "
short = " ^icon_net_down $speed_down.eng(w:4,u:b) ^icon_net_up $speed_up.eng(w:4,u:b) "
[block.theme_overrides]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant