Amedeo Baragiola

Android Development, Software Analysis, C, Linux and Electronics

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • My GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • Google+
  • About me
  • My Google Play Apps
  • English Literature
  • Downloads
  • University
    • Fundamentals of Computer Science
    • Math. analysis I
    • Geometry and Linear Algebra
    • Physics I
    • Electronics
    • Artificial Intelligence
  • My medium articles

Category Archives: linux

Post navigation

← Older posts

WRT1900ACS v2: OpenWRT and WiFi instability fix

Posted on 09/02/2019 by Amedeo Baragiola
Reply

I have recently bought a new router for my FTTH broadband here in Italy, the choice was obvious for me: the WRT1900ACSv2 was just perfect.

I have decided to throw the router my ISP (Fastweb) gave me in the bin for a number of reasons, the most important two being privacy and customizability.
(more…)

Posted in linux | Leave a reply

Setting up chroot in Apache2 with PHP-FPM

Posted on 11/05/2018 by Amedeo Baragiola
Reply

 chroot != security, but still chroots are one of the security measures commonly used on servers as a first-line defense.

Imagine an attacker manages to perform some sort of injection and gains write access to your web root, what damage can they do and to what extent? A question many server admins may find interesting…
(more…)

Posted in linux, web | Leave a reply

[Android] Cross-compiling kernel modules

Posted on 03/03/2018 by Amedeo Baragiola
Reply

 

This is a quick guide to cross-compile kernel modules for Android, with particular reference to the J3 2016 LineageOS kernel. The steps outlined work for other devices/kernels as well.

(more…)

Posted in android, c, linux | Leave a reply

[Android] [NDK] Cross-compiling iproute2

Posted on 01/03/2018 by Amedeo Baragiola
Reply

This is a short guide on how to cross-compile iproute2 on Android.

Where the sch_netem kernel module is available, tc – which comes with iproute2 – allows for traffic throttling/packet delay useful to test apps on slower internet connections.
(more…)

Posted in android, c, linux | Leave a reply

Lighttpd – rewrite .php scripts in a certain folder

Posted on 02/04/2017 by Amedeo Baragiola
Reply

This is how:

url.rewrite-once = (
“^/path/folder(\?.*)?$” => “/path/folder.php$1”
)

Posted in linux | Leave a reply

IPv6, Proxmox and OVH: A nightmare!

Posted on 29/12/2016 by Amedeo Baragiola
Reply

Today I pretty much spent my whole day trying to add IPv6 connectivity to my VMs and LXC containers hosted on an OVH (Soyoustart) server in France. This well-known ISP assigns you an entire /64 IPv6 subnet: great, one ‘d think, but there’s a glitch…
(more…)

Posted in linux | Leave a reply

I bought a stm32F103VEt6!

Posted on 09/09/2016 by Amedeo Baragiola
2

img_20141015_080142

Just brought this dev board from AliExpress: Click here

I’m very excited to learn all about it!

Here’s some docs and examples I found on the internet:

https://github.com/a-c-t-i-n-i-u-m/mb-stm32f103vet6-sample (more…)

Posted in c, electronics, linux | 2 Replies

Micronucleus compile – Archlinux

Posted on 09/09/2016 by Amedeo Baragiola
Reply

I’ve some compilation errors while trying to compile the Micronucleus V-USB bootloader in my ArchLinux machine.

To fix edit: micronucleus/commandline/library/micronucleus_lib.h and add:

#if defined WIN
(more…)

Posted in linux | Leave a reply

Rsync with rclone

Posted on 10/05/2016 by Amedeo Baragiola
Reply

Yesterday I found out this little utility to rsync a folder with Google Drive: http://rclone.org/

rclone config

run_rclone.sh

#!/bin/bash
rclone copy /mnt/data/Copy copy:Copy

and crontab -e (export EDITOR=/usr/bin/nano)
(more…)

Posted in linux | Leave a reply

PHP – Arduino Communication through socket

Posted on 24/04/2015 by Amedeo Baragiola
Reply

In this tutorial a demo project will be explained, communication is established between PHP and Arduino using a simple intermediate C program which runs as a Linux daemon.

The concept used here is Unix local Sockets, a fast and effective way to perform IPC (or Inter-Process Communication) on Unix based systems.
(more…)

Posted in arduino, c, development, linux | Leave a reply

Post navigation

← Older posts

Recent Posts

  • WRT1900ACS v2: OpenWRT and WiFi instability fix
  • web.archive.org downloader
  • My LED PWM Controller board
  • Setting up chroot in Apache2 with PHP-FPM
  • Borg: Backups!

Recent Comments

  • ingamedeo on I bought a stm32F103VEt6!
  • ingamedeo on How to Nine-Patch Android
  • Daniel S. Fowler on How to Nine-Patch Android
  • Daniel S. Fowler on I bought a stm32F103VEt6!
  • ingamedeo on ArchLinux ARM on Orange Pi One

Archives

  • February 2019
  • June 2018
  • May 2018
  • March 2018
  • December 2017
  • August 2017
  • April 2017
  • December 2016
  • September 2016
  • June 2016
  • May 2016
  • July 2015
  • May 2015
  • April 2015
  • August 2014
  • May 2014
  • April 2014
  • March 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013

Categories

  • android
  • app
  • archlinux
  • arduino
  • backup
  • c
  • car
  • development
  • dgn2200v4
  • electronics
  • elementary
  • GitHub
  • gson
  • java
  • linux
  • music
  • netgear
  • nsa
  • openbox
  • pantheon
  • pi
  • python
  • python2
  • qt
  • raspberry
  • sql
  • SQLite
  • Uncategorized
  • web
  • xkcd
  • youtube

RSS Amo Il Web, Non ricambiato

  • L’irrisolutore.
    Senti, ti invio un file pdf per email: dimmi se è ok!
  • Non l’hai mica capito.
    ...e ora? E ora mandiamo questa e-mail. Lei cosa usa per mandare le e-mail?
  • RTFM
    Ehi, mi sai dire come si fa a fare questa cosa?
  • Era qui un attimo fa.
    Chiedo scusa, non trovo Internet!
  • Mi rubo.
    Scusa, ma ancora non ho capito bene alcune cose della mia pagina Facebook...
  • Spunta la mamma.
    Caro, vieni un attimo, scusa... Dimmi tutto, mamma!
  • Sballo potenziale.
    Ciao, mi sono accorto che la home è potenzialmente "malata".
  • Obbligo d’acquisto.
    Senti, stavo riguardando le grafiche per il nostro nuovo e-commerce...
Proudly powered by WordPress
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Read More
Privacy & Cookies Policy