Skip to content

Instantly share code, notes, and snippets.

@bartprokop
bartprokop / orb.md
Last active September 7, 2025 19:02
Installing Orb on OpenWRT

Notes from installing Orb on OpenWRT

How I have installed Orb.

root@rt-mro:~# wget -qO- https://pkgs.orb.net/install.sh | sh
Installing Orb for openwrt 24, using method opkg
Found opkg config at /etc/opkg/customfeeds.conf
Found opkg keys directory at /etc/opkg/keys
@bartprokop
bartprokop / orb.md
Last active August 10, 2025 18:16
Getting Obr Speedtest on my Docker

ORB

docker run -d --network=ipvlan17 --ip=192.168.17.66 --name orb-sensor -v /mnt/docker/orb-data:/root/.config/orb orbforge/orb:latest

docker exec -it orb-sensor /app/orb link
@bartprokop
bartprokop / wireguard.md
Last active July 6, 2025 10:37
Home to Home with Wireguard
@bartprokop
bartprokop / README.md
Last active June 28, 2025 20:28
umdns on OpenWRT

opkg update opkg install umdns

mkdir /etc/umdns

SSH advertisemnt comes from dropbear. Add following to afvertise LUCI:

ubus call umdns update ubus call umdns browse

@bartprokop
bartprokop / unifi.md
Last active June 20, 2025 15:53
Unifi in Docker

Running UniFi Controller on Docker

One time setup

I prefer to run UniFi controller in my DMZ network zone, instead of doing Docker port forward. So I just created VLAN aware Docker network.

docker network create --driver=ipvlan --subnet=192.168.17.0/24 --gateway=192.168.17.1 --ip-range=192.168.17.64/28 -o parent=enp1s0 ipvlan17
@bartprokop
bartprokop / aquiss.md
Last active May 1, 2025 21:13
How to setup OpenWRT with Aquiss ISP

Aquiss OpenReach configuration with OpenWRT

Updates to /etc/config/network should include the following:

# on the eth1 interface that is wired to ONT, we want to enable baby jumbo frame
# this will allow pppoe client to set MTU of 1500 matching ethernet MTU on lan interface
config device
        option name 'eth1'
 option mtu '1508'
@bartprokop
bartprokop / neofetch.md
Last active April 30, 2025 19:11
How to have neofetch in OpenWrt?

neofetch on OpenWRT

Commands below install bash, which is required to run neofetch

opkg update
opkg install curl bash

curl -s https://raw.githubusercontent.com/dylanaraps/neofetch/master/neofetch > /usr/bin/neofetch
chmod +x /usr/bin/neofetch
@bartprokop
bartprokop / arch-docker.sh
Last active July 4, 2024 07:43
Arch Linux Docker install with BTRFS
# Install Docker first
pacman -S docker
# Create subvolume for Docker images
cd /mnt/t20root
btrfs subvolume create svols/docker
# Create subvolume 'svols/docker'
btrfs subvolume list .
# ID 256 gen 1349 top level 5 path svols/root
@bartprokop
bartprokop / oneprovider.com-arch-dedi.sh
Last active June 29, 2024 17:09
Getting Arch Linux on Low End Box from oneprovider.com
# Generate initial login password for installation
tr -dc A-Za-z0-9 </dev/urandom | head -c 15 ; echo ''
# Clear known SSH key after (re-) installing OS on bare metal:
ssh-keygen -R 195.154.112.70
# # Host 195.154.112.70 found: line 52
# /c/Users/proko/.ssh/known_hosts updated.
# Original contents retained as /c/Users/proko/.ssh/known_hosts.old
# Try to SSH to new server using username and password from server properties.