Menu

Archive for Computer Stuff

additional postfix filter for fail2ban

June 18, 2017 |  by  |  Computer Stuff, Doku  |  No Comments

My fail2ban-setup was missing a filter for a certain type of attack which has a different “_daemon”-string

 

send an email when a user su’s to root

May 8, 2017 |  by  |  Computer Stuff, Doku  |  No Comments

put this into /root/.bashrc:

 

Barracuda offers a new — and free — alternative to Spamhaus

March 31, 2017 |  by  |  Computer Stuff, Doku  |  No Comments

Now a new, free alternative to Spamhaus has arrived: the Barracuda Reputation Block List (BRBL), provided by well-known, open source-based Barracuda Networks. And Barracuda CEO Dean Drako says the company has no plans to charge for the service in the future. He says that BRBL (pronounced “barbell”) “does cost us a little bit of money to run, but we think that the goodwill, the reputation and the understanding that Barracuda is providing the service will do us well in the long run.”

Source: Barracuda offers a new — and free — alternative to Spamhaus

Synergy, Ubuntu MATE, Raspberry Pi 3… and a Windows workstation

March 22, 2017 |  by  |  Computer Stuff, Doku  |  No Comments

Synergy is available from https://symless.com/synergy.

My Raspberry is running Ubuntu MATE but this should work with Raspbian too. It is working on Kubuntu 16.10.

Sources:

  • https://www.raspberrypi.org/forums/viewtopic.php?t=165146&p=1065116
  • https://wiki.archlinux.org/index.php/synergy#Clients_configuration
  • https://neverendingsecurity.wordpress.com/2015/04/13/how-to-configure-synergy-on-linux/
  • https://wiki.ubuntuusers.de/Synergy/
  • https://ubuntu-mate.community/t/auto-login-to-the-desktop/60

Install newest version of Synergy client on Raspberry Pi 3

Install the necessary tools, get the source code, build, deploy and configure the Synergy client

Create a script to start Synergy client

Create the necessary Synergy client config file for encryption

Configure lightdm for auto login

To configure lightdm to auto login,  add the directive autologin-user, specifying a user name, to /etc/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf.

raspberry pi 3 with ubuntu mate – important information

March 13, 2017 |  by  |  Computer Stuff, Doku  |  No Comments

Weil es hier besser aufgehoben ist…

Upgrades

Please do not attempt to upgrade your raspberry pi to a newer version of the distribution (for instance, from 15.04 to 15.10) as the underlying kernel is not designed to do this. This process will take a very long time to complete while potentially filling up your SD card to a point where there is no more free space.

It is safer to back up all your data you wish to keep and re-flash the card with the new image. Attempting to upgrade may corrupt the SD card, prevent your installation from booting, or cause severe glitches.

You can, however, install regular updates via the Software Updater utility for your installed software.

Kernel Updates

The same kernel provided by the Raspberry Pi foundation is used in this edition of Ubuntu MATE. As this kernel is delivered like a “firmware” blob, updates are not distributed via the Software Updater or apt-get.

Instead, to update the kernel, open a terminal and run:

Hardware Acceleration

Currently, Hardware accelerated applications are not supported unlike Raspbian. Applicationsthat depend on OpenGL ES libraries or require the GPU will fail to start.

For playing videos, the application omxplayer will be able to do this and is pre-installed. If you are looking to play MPEG-2 or VC-1 video files then you will need MPEG-2 and/or VC-1 licenses from the Raspberry Pi Store.

Enable/Disable X11

For users who are looking to create their own headless “server” using Ubuntu MATE, there is a utility for toggling the graphical environment.

To disable X11 and login via the console:

To enable X11 to restore the Ubuntu MATE desktop:

Changes take effect after a reboot.