Wireguard vpn connection doesn't show on the waybar in Hyprland

Hi.

I use a vpn service with the following setting:
provider Proton vpn.

  1. I download the conf file.

  2. copy the file to “/etc/wireguard” folder

sudo cp wguk121t.conf /etc/wireguard/
  1. enable and start the service
sudo systemctl enable wg-quick@wguk121t && systemctl start wg-quick@wguk121t

I have working internet connections with VPN, but on the waybar click on the wifi icon under the VPN doesn’t show up like i have VPN connection.

If i remember good on my first Hyprland install was show there and also the yellow wifi icon change to red. Now not.
Am i remember wrong? Should be show there and change the icon to red?

VPN status output:

sudo systemctl status [email protected]
[sudo] password for robi:      
● [email protected] - WireGuard via wg-quick(8) for wguk121t
     Loaded: loaded (/usr/lib/systemd/system/[email protected]; enabled; preset: disabled)
     Active: active (exited) since Wed 2024-01-24 13:47:06 GMT; 30min ago
       Docs: man:wg-quick(8)
             man:wg(8)
             https://www.wireguard.com/
             https://www.wireguard.com/quickstart/
             https://git.zx2c4.com/wireguard-tools/about/src/man/wg-quick.8
             https://git.zx2c4.com/wireguard-tools/about/src/man/wg.8
    Process: 1382 ExecStart=/usr/bin/wg-quick up wguk121t (code=exited, status=0/SUCCESS)
   Main PID: 1382 (code=exited, status=0/SUCCESS)
        CPU: 20ms

Jan 24 13:47:06 vostro-garuda systemd[1]: Starting WireGuard via wg-quick(8) for wguk121t...
Jan 24 13:47:06 vostro-garuda wg-quick[1382]: [#] ip link add wguk121t type wireguard
Jan 24 13:47:06 vostro-garuda wg-quick[1382]: [#] wg setconf wguk121t /dev/fd/63
Jan 24 13:47:06 vostro-garuda wg-quick[1382]: [#] ip link set mtu 1420 up dev wguk121t
Jan 24 13:47:06 vostro-garuda systemd[1]: Finished WireGuard via wg-quick(8) for wguk121t.

Garuda-inxi:

garuda-inxi
System:
  Kernel: 6.7.0-zen3-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=095c9f1d-4e23-42b2-aa42-36402880711e rw rootflags=subvol=@
    quiet resume=UUID=4b8a0d61-7df0-445b-9329-0c5cf2f2c346 loglevel=3 ibt=off
  Desktop: Hyprland info: waybar vt: 1 dm: SDDM Distro: Garuda Linux
    base: Arch Linux
Machine:
  Type: Laptop System: Dell product: Vostro 3580 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0PMTCG v: A00 serial: <superuser required> UEFI: Dell
    v: 1.27.0 date: 11/16/2023
Battery:
  ID-1: BAT0 charge: 29.3 Wh (100.0%) condition: 29.3/42.0 Wh (69.8%)
    volts: 12.7 min: 11.4 model: BYD DELL 1VX1H97 type: Li-ion serial: <filter>
    status: full
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: Intel Core i5-8265U bits: 64 type: MT MCP
    arch: Comet/Whiskey Lake note: check gen: core 8 level: v3 note: check
    built: 2018 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 0xC (12) microcode: 0xF8
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 710 high: 784 min/max: 400/3900 scaling:
    driver: intel_pstate governor: powersave cores: 1: 700 2: 784 3: 700 4: 700
    5: 700 6: 700 7: 700 8: 700 bogomips: 28800
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: Dell
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: HDMI-A-1,eDP-1 empty: DP-1,HDMI-A-2 bus-ID: 0000:00:02.0
    chip-ID: 8086:3ea0 class-ID: 0300
  Device-2: Sunplus Innovation Integrated_Webcam_HD driver: uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:3
    chip-ID: 1bcf:2b98 class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: Hyprland driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 d-rect: 4480x1080
    display-ID: 1
  Monitor-1: HDMI-A-1 pos: right model: LG (GoldStar) ULTRAWIDE
    serial: <filter> built: 2014 res: 2560x1080 hz: 60 dpi: 112 gamma: 1.2
    scale: 1 size: 677x290mm (26.65x11.42") diag: 628mm (24.7") modes:
    max: 2560x1080 min: 720x400
  Monitor-2: eDP-1 pos: primary,left model: AU Optronics 0x38ed built: 2015
    res: 1920x1080 hz: 60 dpi: 142 gamma: 1.2 scale: 1
    size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9
    modes: 1920x1080
  API: Vulkan v: 1.3.274 layers: 3 device: 0 type: integrated-gpu name: Intel
    UHD Graphics 620 (WHL GT2) driver: mesa intel v: 23.3.3-arch1.1
    device-ID: 8086:3ea0 surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
    v: 23.3.3-arch1.1 (LLVM 16.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl
    bus-ID: 0000:00:1f.3 chip-ID: 8086:9dc8 class-ID: 0403
  API: ALSA v: k6.7.0-zen3-1-zen status: kernel-api tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.1 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Dell driver: r8169 v: kernel port: 3000 bus-ID: 0000:01:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp1s0 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
    vendor: Dell driver: ath10k_pci v: kernel bus-ID: 0000:02:00.0
    chip-ID: 168c:0042 class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
  IF-ID-1: wguk121t state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth:
  Device-1: Qualcomm Atheros driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-10:4 chip-ID: 0cf3:e009
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 4.2 lmp-v: 8
    status: discoverable: no pairing: no
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode]
    driver: intel_nvme_remap v: N/A port: 4060 bus-ID: 0000:00:17.0
    chip-ID: 8086:282a rev: N/A class-ID: 0104
Drives:
  Local Storage: total: 1.36 TiB used: 10.78 GiB (0.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba
    model: KBG40ZNS256G NVMe 256GB size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B tech: SSD serial: <filter> fw-rev: 10410106 temp: 24.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: A-Data model: SU630 size: 223.57 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD
    serial: <filter> fw-rev: 3R17 scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Samsung model: ST1000LM 024 HN-M101M
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B type: USB
    rev: 3.0 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: 2AR2 scheme: MBR
Partition:
  ID-1: / raw-size: 60 GiB size: 60 GiB (100.00%) used: 9.12 GiB (15.2%)
    fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-3: /home raw-size: 162.16 GiB size: 162.16 GiB (100.00%)
    used: 1.66 GiB (1.0%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
  ID-4: /var/log raw-size: 60 GiB size: 60 GiB (100.00%)
    used: 9.12 GiB (15.2%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-5: /var/tmp raw-size: 60 GiB size: 60 GiB (100.00%)
    used: 9.12 GiB (15.2%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 16.01 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: swap-2 type: zram size: 7.63 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 66.0 C pch: 65.0 C mobo: 40.0 C
  Fan Speeds (rpm): cpu: 0
Info:
  Processes: 280 Uptime: 31m wakeups: 0 Memory: total: 8 GiB
  available: 7.63 GiB used: 4.61 GiB (60.4%) Init: systemd v: 255
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
  pm: pacman pkgs: 1410 libs: 411 tools: paru Shell: fish v: 3.7.0
  running-in: foot inxi: 3.3.31
Garuda (2.6.22-1):
  System install date:     2024-01-21
  Last full system update: 2024-01-23
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:            

Thank you.

1 Like

This problem is solved by me.

Probably was not correct the conf file what i download from the proton vpn.

I created a new, download it and setting up again with the new conf file. Now is working how should be.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.