You are not logged in.

#1 2018-08-24 01:22:05

bradsk88
Member
Registered: 2015-12-16
Posts: 23

Trouble with systemd: openvpn/dhcpcd/wpa_supplicant/transmission

I'm trying to use the 4 services mentioned in the title to run a torrent seed box.

It's running fine.  But every few days, it loses the ability to connect to the internet.
I'm trying to figure out what's going on, but I'm not sure where to look.

Below are all the things I've checked so far.

I know that it lost connection about 35 hours ago, so I'm boxing these logs to that time range.

# journalctl --since "40 hours ago" --until "30 hours ago"
-- Logs begin at Sun 2018-08-12 21:07:21 CST, end at Thu 2018-08-23 18:51:20 CST. --
Aug 22 03:50:41 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 04:50:39 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 04:50:39 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 05:50:36 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 05:50:37 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 06:50:36 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 07:50:35 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 07:50:35 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 08:50:33 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 08:50:34 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 09:50:32 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 09:50:33 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 10:50:31 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 11:38:41 ZEROTWO systemd[1]: Starting Cleanup of Temporary Directories...
Aug 22 11:38:42 ZEROTWO systemd[1]: Started Cleanup of Temporary Directories.
Aug 22 11:50:30 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 11:50:30 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 12:50:28 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
Aug 22 12:50:29 ZEROTWO wpa_supplicant[329]: wlp2s0: WPA: Group rekeying completed with 60:a4:4c:66:bb:8e [GTK=CCMP]
# systemctl status 
* ZEROTWO
    State: running
     Jobs: 0 queued
   Failed: 0 units
    Since: Sat 2018-08-18 11:23:40 CST; 5 days ago
   CGroup: /
           |-217 [none]
           |-user.slice
           | `-user-1000.slice
           |   |-user@1000.service
           |   | `-init.scope
           |   |   |-23632 /usr/lib/systemd/systemd --user
           |   |   `-23633 (sd-pam)
           |   `-session-8.scope
           |     |-23628 sshd: seed [priv]
           |     |-23638 sshd: seed@pts/0
           |     |-23639 -bash
           |     |-23643 su
           |     |-23644 bash
           |     |-23758 systemctl status
           |     `-23759 less
           |-init.scope
           | `-1 /sbin/init splash
           `-system.slice
             |-systemd-udevd.service
             | `-220 /usr/lib/systemd/systemd-udevd
             |-system-wpa_supplicant.slice
             | `-wpa_supplicant@wlp2s0.service
             |   `-329 /usr/bin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wlp2s0.conf -iwlp2s0
             |-systemd-journald.service
             | `-207 /usr/lib/systemd/systemd-journald
             |-sshd.service
             | `-343 /usr/bin/sshd -D
             |-system-openvpn\x2dserver.slice
             | `-openvpn-server@newyork.service
             |   `-342 /usr/bin/openvpn --status /run/openvpn-server/status-newyork.log --status-version 2 --suppress-timestamps --config newyork.conf
             |-rsyncd.service
             | `-344 /usr/bin/rsync --daemon --no-detach
             |-dhcpcd.service
             | `-334 /usr/bin/dhcpcd -q -b
             |-lvm2-lvmetad.service
             | `-221 /usr/bin/lvmetad -f
             |-dbus.service
             | `-328 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
             |-system-getty.slice
             | `-getty@tty1.service
             |   `-346 /sbin/agetty -o -p -- \u --noclear tty1 linux
             |-systemd-logind.service
             | `-330 /usr/lib/systemd/systemd-logind
             `-transmission.service
               `-345 /usr/bin/transmission-daemon -f --log-error

Rebooting seems to fix it.  But that's less than ideal.

If anyone can recommend some other places to check, please do!

Offline

#2 2018-08-24 01:26:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Trouble with systemd: openvpn/dhcpcd/wpa_supplicant/transmission

I would bet it is your VPN that is going down.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-08-24 01:29:18

bradsk88
Member
Registered: 2015-12-16
Posts: 23

Re: Trouble with systemd: openvpn/dhcpcd/wpa_supplicant/transmission

I should mention that I AM able to SSH into this box on my local networking.
So that rules out wpa and dhpcpd in my opinion.

Offline

#4 2018-08-24 01:31:59

bradsk88
Member
Registered: 2015-12-16
Posts: 23

Re: Trouble with systemd: openvpn/dhcpcd/wpa_supplicant/transmission

jasonwryan wrote:

I would bet it is your VPN that is going down.

Makes sense.  Is there a standard way of making openvpn automatically reconnect on Arch?

Edit: Should have tried this, but restarting the openvpn service brought me back up.

Last edited by bradsk88 (2018-08-24 01:35:16)

Offline

Board footer

Powered by FluxBB