My Tech Note's

Mês: Maio 2015

Compile iDeviceRestore on Linux

This is a guide to compiling iDeviceRestore by @p0sixninja on debian linux. It has been tested on Ubuntu 12.04 (and even the raspberry pi on raspbian!) and is working.

  1. Do any required upgrades on apt.
    sudo apt-get update
    sudo apt-get upgrade
  2. First, we need to get the dependencies
    sudo apt-get install build-essential automake cmake \
    libreadline6 autotools-dev libcurl4-openssl-dev autoconf \
    libplist1 libplist-utils libplist-dev libplist++-dev \
    libzip-dev git curl libgnutls-dev libreadline-dev libusb-dev \
    libtool libusb-1.0-0-dev libusbmuxd-dev libglib2.0-dev libimobiledevice-dev
  3. Install libirecovery
    mkdir ~/idevicerestore
    cd ~/idevicerestore
    git clone
    cd libirecovery
    make && sudo make install
  4. Finally to get idevicerestore
    cd ~/idevicerestore
    git clone git://
    cd idevicerestore
    make && sudo make install
    sudo ldconfig
  5. Also, you might want iDeviceactivate, to activate after you have restored
    cd ~/idevicerestore
    git clone
    cd ideviceactivate



Using raspberrypi as a DLNA Media Server

I have a  Samsung TV. So the whole explanation below is based on this TV. I guess that it will also work for the other TV’s.

The solution given below is done with MediaTomb DLNA server.

$ sudo apt-get install mediatomb

$ vim /etc/mediatomb/config.xml

remove the comment tags around the <custom-http-headers> section and make that section look like this:

<add header=” Streaming”/>
<add header=” DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=017000 00000000000000000000000000″/>

Under <mappings>, add

<map from=”avi” to=”video/mpeg”/>

<map from=”mkv” to=”video/mpeg”/>

save and close config.xml and restart mediatomb

$ vim /etc/default/mediatomb

Add additional option

OPTIONS=” –port 49152 “

$ /etc/init.d/mediatomb restart

And now, open with firefox http://ip_raspberrypi:49152 and tell it where to start looking for files.

NGINX Plus Release 6 with Enhanced Load Balancing, High Availability, and Monitoring Features

I can’t afford a NGINX Plus yet! :)
I might need to have one in one year of thing work out like I want!

NGINX Plus looks hot!


New “Least Time” Load-Balancing Algorithm


Full-Featured TCP Load Balancing


High Availability



© 2020 Sec&Stuff&Others

Theme by Anders NorenUp ↑