Windows shares no longer mounting on Linux

I use autofs to mount a windows share on my router, this stopped working with “mount error(112): Host is down”. Looks like it was due to some arch linux update, as per dmesg: [ 5986.858242] No dialect specified on mount. Default has changed to a more secure dialect, SMB3 (vers=3.0), from CIFS (SMB1). To use …

Continue reading ‘Windows shares no longer mounting on Linux’ »

Installing variety wallpaper changer on Fedora 25

The rpm-sphere rpm doesn’t work for me. First install some packages, you may need more, these worked for me: dnf install libindicator-gtk3 libdbusmenu-gtk3 libappindicator-gtk3 python-appindicator \ webkitgtk3 intltool Then create a python virtualenv & activate it. mkvirtualenv –system-site-packages -p $(which python2) utils Download the variety & python-distutils-extra tarballs & untar. Install both packages into your …

Continue reading ‘Installing variety wallpaper changer on Fedora 25’ »

nrpe systemd socket activation

If you’re using nrpe socket activation and don’t have a template file, try this in /etc/systemd/system/nrpe@.service : [Unit] Description=nrpe socket service Requires=nrpe.socket [Service] User=nrpe ExecStart=-/usr/bin/nrpe -c /etc/nrpe/nrpe.cfg –inetd StandardInput=socket StandardOutput=inherit StandardError=journal [Install] WantedBy=multi-user.target You’ll also need /etc/systemd/system/nrpe.socket : [Unit] Description=Nagios Remote Plugin Executor Documentation=http://www.nagios.org/documentation Before=nrpe.service Conflicts=nrpe.service [Socket] ListenStream=5666 Accept=yes [Install] WantedBy=sockets.target Then systemctl start nrpe.socket