Skip to content

Instantly share code, notes, and snippets.

View abilbaotm's full-sized avatar

Asier Bilbao abilbaotm

View GitHub Profile
# Python3.5 (Raspbian 8 comes with Python3.4)
cd ~ #or somewhere
sudo apt-get purge python3
wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz
tar -xvf Python-3.5.2.tar.xz
cd Python-3.5.2
./configure
make
sudo make install
[03/06/2017 16:44:34] DHCP Server V2.5.2.3 started as Service
[03/06/2017 16:44:34] NetworkAdapter Initialization returns 0
[03/06/2017 16:44:34] Adapter 0 with IP address 172.20.0.1 found (pAdap=0x0025f6f0)
[03/06/2017 16:44:34] Adapter 1 with IP address 169.254.219.148 found but not used
[03/06/2017 16:44:34] Adapter 0 has recognized an incoming DHCP request
[03/06/2017 16:44:34] DHCP message = DHCPDISCOVER
[03/06/2017 16:44:34] requested options: 1 3 6 12 15 28 33 42 51 54 58 59 119 121
[03/06/2017 16:44:34] Lookup client data for physical address "B8-27-EB-C9-1E-19" / client_id "B8-27-EB-C9-1E-19"
[03/06/2017 16:44:34] Client B8-27-EB-C9-1E-19 is configured with the IP address 172.20.0.6
[03/06/2017 16:44:34] Response: offer the configured IP address (lease time = 86400)
@abilbaotm
abilbaotm / guide.md
Created November 30, 2016 09:33 — forked from mikkeloscar/guide.md
Setup armv7h chroot under x86_64 host (Archlinux/Archlinuxarm biased)

Setup armv7h chroot under x86_64 host (Archlinux/Archlinuxarm biased)

Simple way to setup an arm chroot for building packages for your arm devices. This is an alternative to cross-compiling where you are limited to only linking against the libs in your toolchain.

Setup chroot-fs

You can store the chroot wherever you like. I choose to store it in a disk-image which I mount to my filesystem.