jedevnull 0 Posted ... I'm having zero success doing a simple login AirVPN Suite. I can login with eddie-cli, but I'd prefer a systemd service I can start at boot. Could someone please walk me through this? I read the README, edited the bluetit.rc file, tried goldcrest,etc. I'm sure it's obvious and I'm being stupid... Quote Share this post Link to post
Staff 10242 Posted ... @jedevnull Hello! Please make sure that the directives airusername and airpassword are correctly set in /etc/airvpn/bluetit.rc. Please check the manual: https://airvpn.org/suite/readme/#bluetit-configuration To have Bluetit start and connect during the system bootstrap, please see here: https://airvpn.org/suite/readme/#automatic-connection-at-boot-or-startup-time The AirVPN Suite User's Manual has been compiled with care and it's your friend. If you have already set all of the above and you still experience problems, please send us the Bluetit log too. Example: sudo journalctl | grep bluetit > bluetit.log Kind regards Quote Share this post Link to post
jedevnull 0 Posted ... (edited) In my bluetit.rc I added: airconnectatboot quick Combined with the unit file below for rtorrent: [Unit] Description=rtorrent (in tmux) After=network-online.target bluetit.service Requires=bluetit.service [Service] Type=forking User=jed ExecStartPre=/bin/bash -c 'for i in {1..10}; do [[ -e /sys/class/net/tun0 ]] && exit 0; sleep 2; done; exit 1' ExecStart=/usr/bin/tmux -2 new-session -d -s rtorrent rtorrent ExecStop=/usr/bin/tmux send-keys -t rtorrent:rtorrent C-q RemainAfterExit=no Restart=on-failure RestartSec=5s [Install] WantedBy=multi-user.target Everything starts at boot and seems to be ok. Edited ... by jedevnull Quote Share this post Link to post