Raspberry cross-compiling


Posted: agosto 9th, 2014 | Author: | Filed under: English, Guide, Linux, Programmazione | Tags: , , , , , , , , , , , | No Comments »


I want to cross-compile some stuff for my Raspberry, this is a (memo for me) tutorial to do that. Read the rest of this entry »


Fail2Ban to protect various server types from intrusions


Posted: settembre 24th, 2013 | Author: | Filed under: Administration, English, Guide, Howto, recensione | Tags: , , , , , , , , , | No Comments »


It’s quite normal to see some ip addresses that try to connect to my ssh server with bruteforce attacks. Fail2Ban is the solution to block these attacks.

Setup it’s very easy:

aptitude install fail2ban
cd /etc/fail2ban
sudo cp jail.conf jail.local

now we can edit jail.local to change the default configuration.

to enable email notifications, we have to change the line:

action = %(action_)s

with

action = %(action_mw)s

everything is configured right now, you will receive an email notification for each attack blocked.

 


simulate keyboard/mouse input


Posted: settembre 23rd, 2013 | Author: | Filed under: English, Guide, Howto | Tags: , , , , , , , , | No Comments »


The program that you have to use to do what’s in the subject is: xdotool

eg. xdotool key –clearmodifiers –window `(xdotool search –classname Navigator | head -1)` ctrl+alt+p


Debian Jessie 64 bit and Skype 4.2 problems


Posted: settembre 20th, 2013 | Author: | Filed under: Bug, English | Tags: , , , , , , , , , , | No Comments »


Does skype glitch, skip or do you hear cracklings?

Edit /etc/pulse/default.pa and turn the Timer-based scheduler off, changing the line:

load-module module-udev-detect

to

load-module module-udev-detect tsched=0

 


OMG I’ve deleted a system directory! How do I recover it?


Posted: febbraio 20th, 2013 | Author: | Filed under: English, Guide, Howto | Tags: , , , , , , , , , , | No Comments »


Ok, a little introduction first. I was working on an uninstall target of a Makefile for a system library. For a very unlucky case (or maybe for my stupidity) I’ve deleted (fortunately not all) my /usr directory :)

And now?

As I said before not every files and binaries were deleted because I realized quickly what I was doing and I pressed ctrl-c to stop it before it was late.

Let’s start with the trick.
Read the rest of this entry »


  • Articoli Recenti:

  • Tag

  • Categorie

  • Meta

  • Licenza Creative Commons

    Copyright © 2017, | ldlabs.org – Blog is proudly powered by WordPress All rights Reserved | Theme by Ryan McNair modified By Francesco Apollonio

    Smilla Magazine Il Bloggatore iwinuxfeed.altervista.org Feedelissimo - tecnologia WebShake - tecnologia