enricorossi.org

Enrico Rossi


Articles tagged with linux

Rsyslog with remote log and rotation by date

Tags: debian, howto, linux, log, rsyslog

How to configure a debian (Wheezy) rsyslog daemon to receive logs from remote system, store them in a separate directory/file and the daily rotate these files with date-like extension.

What we want:

/var/log/
 ├── alternatives.log
 ├── alternatives.log.1
 .
 .
 .
 ├── remote
    ├── remote1_host_IP
       ├── remote1_host.log
       ├── remote1_host.log-20141202.gz
       ├── remote1_host.log …
Read more...

fake SMTP client and server

Tags: howto, linux, mail, server, tips

This is a quick tips to simulate a fake mailserver useful if you want to test and application which send emails.

You need netcat (nc) software installed and no email server active on the port 25.

In order to open the privilege port 25 I use the root user. The …

Read more...

Flash nokia n770

Tags: embedded, linux, nokia

On newer system you may have to remove a module which auto-load himself when nokia 770 is plugged.

modprobe -r cdc_phonet

then

  • download the firmware
  • download flasher utility

Flash the firmware to the 770 keeping home button pressed while powering on and usb-connected to Linux

sudo ./flasher-3.0.amd64 --fiasco …
Read more...
← Previous Page 1 / 5 Next →