Skip to content

Instantly share code, notes, and snippets.

View Cnly's full-sized avatar
🍩
Absorbing donuts...

Cnly

🍩
Absorbing donuts...
View GitHub Profile
@Cnly
Cnly / my.vpnc
Created December 17, 2020 07:52
#! /bin/bash
INTERNAL_IP4_NETMASK=255.0.0.0
INTERNAL_IP4_NETMASKLEN=8
INTERNAL_IP4_NETADDR=10.0.0.0
shopt -s expand_aliases
alias set_default_route=disabled
alias reset_default_route=disabled
@Cnly
Cnly / rpi-mptcp-build.sh
Last active June 9, 2022 17:53
Automatically fetch and [cross] compile MPTCP for Raspberry Pi, yielding an easy-to-use install script.
#! /usr/bin/env bash
RPI_BRANCH=rpi-4.14.y
MPTCP_BRANCH=mptcp_v0.94
# For Pi 1, Pi 0, Pi 0 W, or Compute Module:
#KERNEL=kernel
#DEFCONFIG=bcmrpi_defconfig
# Or, for Pi 2, Pi 3, or Compute Module 3:
KERNEL=kernel7