Category Archives: UNIX/Linux

Arch Linux: OpenVPN – resolv.conf is not updated

2 March 2019
 

 On an Arch Linux setup – local resolv.conf not updated after connection to OpenVPN AS. As far as I know – the problem is specific to Arch Linux and its “child’s” like Manjaro Linux installations. Local openvpn installed via pacman – see the OpenVPN: OpenVPN Access Server set up and AWS VPC peering configuration post for… Read More »

Linux: systemd-unit files edit, restart on failure and email notifications

1 March 2019
 

 We have a RabbitMQ service which sometimes can go down. So need to: restart it if is exited with the failure send an email notification Let’s do it via RabbitMQ’s systemd service (though there are various options, e.g. using the monit, check the Monit: мониторинг и перезапуск NGINX post). Will use two options here: RestartSec=: delay… Read More »

Linux: ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave

28 February 2019
 

 Have a fresh Arch Linux system setup. After some Viber’s fixes (see the Viber: no connection – qt.network.ssl: Incompatible version of OpenSSL post) – sound system sometimes stops working. It looks like next: run qmmp, press Play and: [simterm] … DecoderMAD: Fixed rate detected DecoderMAD: Total time: 297900 ReplayGain: disabled Dithering: disabled ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable… Read More »

Viber: no connection – qt.network.ssl: Incompatible version of OpenSSL

27 February 2019
 

 On a fresh Arch Linux setup – Viber starting, but during authorization – can’t connect to the network. In general – Viber’s desktop version is really limited but anyway it’s better then use it from a cell. Tried to google few times as I didn’t found the error in messages to use exactly in google’s… Read More »

World of Tanks: installing and running on Arch Linux

25 February 2019
 

 Didn’t think it will work, but it did 🙂 Used guide of the 2017 year from here>>>, and after everything was done – found another one here>>>. Not sure if it will work on the nouveau drivers – I did with nvidia. Enable the Multilib repo. Update packages: [simterm] [setevoy@setevoy-arch-pc ~]$ sudo pacman -Syu [/simterm]… Read More »

Arch Linux: installing with EFI and Windows dual-boot

24 February 2019
 

 The goal is to set up a new Arch Linux and Windows (just for some games) on my new PC and use dual-boot using GRUB. Disks Currently disks layout is next: [simterm] [root@archiso ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 476.7M 1 loop /run/archiso/sfs/airootfs sda 8:0 0 223.6G 0 disk… Read More »

Arch Linux: grub-mkconfig hangs on the /boot/grub/grub.cfg config generation

23 February 2019
 

  During new Arch Linux set up grub-mkconfig suddenly hangs on creating new /boot/grub/grub.cfg. No warnings, no errors. Thanks to this>>> googled discussion – it worked for me. So the issue looks like next: [simterm] [root@archiso boot]# grub-mkconfig -o /boot/grub/grub.cfg ^C [/simterm] Check the /usr/bin/grub-mkconfig script for every /dev/null redirects: [simterm] [root@archiso boot]# cat /usr/bin/grub-mkconfig… Read More »

OpenVPN: OpenVPN Access Server set up and AWS VPC peering configuration

21 February 2019
 

 OpenVPN Access Server is ready to use OpenVPN server which requires minimal configuration. The free version allows you to have two clients. If you need more – you can buy additional licenses. Infrastructure description Currently to access our resources such as Jenkins, Nexus etc we are using Allow Rules in AWS Security Groups where each user… Read More »