Skip to content

Instantly share code, notes, and snippets.

View rafaelagp's full-sized avatar

Rafael A. G. Pereira rafaelagp

  • Rio de Janeiro, Brazil
View GitHub Profile

For my reference in the future I will record here the steps that I had to follow in order to install Openwrt on the tp-link router EX220. This was done using a Windows 11 machine.

Disclaimer: Use this tutorial at your own risk. We are not responsible for any damage/harms done to your device using the information from this tutorial.

Steps to install OpenWRT on EX220 router

OEM installation using the serial + TFTP method

These are the steps provided at the official https://openwrt.org/toh/tp-link/ex220_v1 page:

@jorijn
jorijn / docker-compose.yml
Created October 19, 2019 07:37
Docker Compose file to be used in combination with https://gist.github.com/Jorijn/141f49dd0c69901f28215893d5900bca. Place this in the cloned root of the blockbook project and run `docker-compose up -d`. Configuration sample: https://gist.github.com/Jorijn/c0f5d3daf6ab6d35ac25b47c2a5be331
version: "3"
services:
blockbook:
container_name: blockbook
restart: always
build: .
entrypoint:
- /go/src/blockbook/blockbook
- -sync
- -blockchaincfg=/home/blockbook/cfg/cfg.json
{
"coin_name": "Bitcoin",
"coin_shortcut": "BTC",
"coin_label": "Bitcoin",
"rpc_url": "http://somehost:8332",
"rpc_user": "someuser",
"rpc_pass": "somepassword",
"rpc_timeout": 25,
"parse": true,
"message_queue_binding": "tcp://somehost:zmqpubrawblockport",
@jorijn
jorijn / Dockerfile
Last active April 14, 2021 04:33
A Dockerfile for running the Trezor backend (blockbook) in Docker, this should be placed in the cloned git repository of https://github.com/trezor/blockbook. Configurationfile: https://gist.github.com/Jorijn/c0f5d3daf6ab6d35ac25b47c2a5be331 Docker Compose file: https://gist.github.com/Jorijn/7e1d3e7a241a98680558302a7b41586c
# initialize from the image
FROM debian:9
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y build-essential git wget pkg-config lxc-dev libzmq3-dev \
libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev \
liblz4-dev graphviz && \
apt-get clean
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active September 17, 2024 08:31
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096