Skip to content

tun interface with network module does not recognize IP #1877

@Dzordzu

Description

@Dzordzu

Issue

Network module with tunneling interface shows as connected, but does NOT recognize IP (local_ip)

To Reproduce (example)

  1. Connect to VPN
  2. Use module
type = internal/network
interface = tun0
format-connected = <label-connected>
label-connected = %{F#fcfaa7}vpn: %local_ip% 
label-connected-margin-left = 3

Polybar Log

No errors and warnings

Screenshots

image

Environment:

  • WM: i3
  • Distro: Arch
  • Output of polybar -vvv:
Polybar launched...
polybar 3.4.0

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions