Skip to content

Instantly share code, notes, and snippets.

1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 34, base_baud = 31250000) is a OCTEON���ۺ����������}ʪ羻����
Jun 11 12:18:15 zima kernel: re1: link state changed to UP
Jun 11 12:18:23 zima kernel: re1: watchdog timeout
Jun 11 12:18:23 zima kernel: re1: link state changed to DOWN
Jun 11 12:18:27 zima kernel: re1: link state changed to UP
Jun 11 12:18:37 zima kernel: re1: watchdog timeout
Jun 11 12:18:37 zima kernel: re1: link state changed to DOWN
Jun 11 12:18:41 zima kernel: re1: link state changed to UP
Jun 11 12:18:49 zima kernel: re1: watchdog timeout
Jun 11 12:18:49 zima kernel: re1: link state changed to DOWN
Jun 11 12:18:53 zima kernel: re1: link state changed to UP
linux_enable=YES
vm_dir="zfs:zroot/vm"
vm_enable=YES
hostname=zima.netcrave.local
avahi_daemon_enable=NO
dnsmasq_enable=NO
dbus_enable=NO
pf_enable=YES
clear_tmp_enable=YES
wpa_supplicant_enable=YES
@paigeadelethompson
paigeadelethompson / racoon.host1.conf
Last active May 21, 2025 16:01
All of my IPSEC VPN setup (Racoon & StrongSWAN)
path certificate "/usr/local/etc/racoon/certs";
remote 192.168.1.128 {
exchange_mode main;
my_identifier asn1dn;
peers_identifier asn1dn;
certificate_type x509 "zima.netcrave.io.crt" "zima.netcrave.io.key";
peers_certfile x509 "stelleri.netcrave.io.crt";
ca_type x509 "ca.crt";
verify_cert on;
(MNDM?NE MRSE-N-S-M-?NARE)
TFRNE NPTNSE NPRSE RCBNSE NPRSE INC
PRSE NMRSE DPRE HLD WLD NCBE (TFXL*C* TCXL NCBE)
AL-PRPPIT XLYPPIY NCBE MGKSE WLD RCBRNSE PRSE
WLD RCBRNSE NT*S*SNE NTXE-CRSLE-CLTRSE WLD NCBE
AL WLD NCBE TSME LRSE RLSE URGLSNE ASN WLD NCBE
(NOPFSE NLSRE NCBE) NTE GDDMNSE NCURE RCBRNE
(TENE TFRNE NCBRTSE NCBE INC)
(FLRSE PRSE ONDE 71 NCBE)
(CDNSE PRSE ONSDE 74 NCBE)
@paigeadelethompson
paigeadelethompson / if_vrf.c
Created May 7, 2025 19:23
VRF experiment for FreeBSD
/*
* Copyright (c) 2023 Your Name
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
@paigeadelethompson
paigeadelethompson / create_freebsd_vm.sh
Last active April 23, 2025 21:13
dependencies: bhyve-vm, lldpd
#!/usr/bin/env bash
set -e
# Function to handle cleanup on exit
cleanup() {
local exit_code=$?
echo "Cleaning up..."
# First try to exit chroot if we're in it
❯ sudo ifconfig
ix0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4e53fbb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_UCAST,WOL_MCAST,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG>
ether 98:b7:85:1e:de:4d
media: Ethernet autoselect
status: no carrier
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ix1: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=4e53fbb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_UCAST,WOL_MCAST,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG>
ether 98:b7:85:1e:de:4e
chronyd_enable=YES
dnsmasq_enable=YES
sshd_enable=YES
hostname=stelleri.netcrave.network
powerd_enable=YES
moused_nondefault_enable=NO
dumpdev=NO
zfs_enable=YES
gateway_enable=YES
ipv6_gateway_enable=YES
@paigeadelethompson
paigeadelethompson / create_9p_bhyve.sh
Created April 18, 2025 01:49
Create BHyve VM with bhyve-vm with FIB network/virtual routers and 9P filesystem
#!/usr/bin/env bash
set -e
# Function to handle cleanup on exit
cleanup() {
local exit_code=$?
echo "Cleaning up..."
# First try to exit chroot if we're in it