Skip to content

Instantly share code, notes, and snippets.

@papertigers
papertigers / how-to.md
Last active November 15, 2023 00:22
illumos boringtun (wireguard) guide

This port of boringtun works on any illumos box that has the tuntap device. SmartOS comes with this device by deafult. You can install this device on OmniOS by running pkg install tuntap. Currently the userland daemon will drop as many privileges(5) as it can after setting up the tunnel etc. The daemon is also currently using epoll/signalfd unil I find time to wire up the event port interface.

Clone the following repo and checkout the illumos branch.

git clone git@github.com:papertigers/boringtun.git
@smagiera
smagiera / gist:5c05853fd28bd9749511ec7fa956f486
Created January 18, 2019 10:09
modem config using networkd
# First, mask NetworkManager (if not done already)
systemctl mask NetworkManager
# Unmask, enable and start ModemManager
systemctl unmask ModemManager
systemctl enable ModemManager
systemctl start ModemManager
# Add a .network file for your modem network interface:
cat /etc/systemd/network/wwp0s20u6c2i12.network:
@Juul
Juul / lte_mbim_from_scratch.md
Last active May 4, 2024 16:40
How to use 4G LTE modems like the MC7455 on both Debian/Ubuntu and OpenWRT using MBIM

The purpose of this document is to get you familiar with the concepts and command line tools involved with connecting to the internet using modern 4G LTE modems on both Debian/Ubuntu and OpenWRT.

This writeup is based on my experiences with the Sierra Wireless AirPrime MC7455 modem and a Calyx (Sprint) SIM card, but it should apply to most modern 4G LTE modems.

High level overview

These are the steps required:

  • Physically connect antennas