This modem is also sold as a MegaFon M150-2 USB dongle
Install the needed packages via opkg
tool
opkg update
arch: amd64 | |
cores: 2 | |
hostname: kodipriv | |
memory: 2048 | |
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=56:94:2A:9A:8E:1B,ip=dhcp,ip6=auto,type=veth | |
ostype: ubuntu | |
parent: before_first_boot | |
rootfs: encrypted_zfs:subvol-103-disk-0,size=8G | |
swap: 512 | |
lxc.cgroup2.devices.allow: c 226:* rwm |
# DO NOT EDIT THIS FILE | |
# | |
# Please edit /boot/armbianEnv.txt to set supported parameters | |
# | |
setenv load_addr "0x45000000" | |
setenv overlay_error "false" | |
# default values | |
setenv verbosity "1" | |
setenv console "both" |
#!/usr/bin/env python | |
""" | |
Runs "ip xfrm state" and outputs lines to be added to ~/.wireshark/esp_sa | |
This process must be run using sudo. | |
This allows Wireshark to decrypt ipsec traffic captured with 'sudo tcpdump -vni any -U -w /tmp/esp.pcap "ip proto 50"' | |
""" | |
import sys | |
import subprocess |
#!/bin/bash | |
# author jiyin@redhat.com | |
TEMP=`getopt -o vt: --long target -n 'example.bash' -- "$@"` | |
if [ $? != 0 ] ; then echo "getopt fail, terminating..." >&2 ; exit 1 ; fi | |
# Note the quotes around `$TEMP': they are essential! | |
eval set -- "$TEMP" | |
Usage() { |
#!/bin/sh | |
#### amf.yaml ausf.yaml nrf.yaml nssf.yaml pcf.yaml smf.yaml udm.yaml udr.yaml upf.yaml | |
NFLIST={amf,susf,nrf,nssf,pcf,smf,udm,udr,upf} | |
dostart() { | |
for nf in $NFLIST; do | |
echo systemctl start open5gs-${nf}d | |
done | |
} |
#!/bin/bash | |
#set -x | |
for drive in sd{a,b,c,d,e,f} | |
do | |
rdisk=$drive | |
## Warning: this will spin up the disk! | |
## TODO: just check for USB and or Vendor ID | |
if dd if=/dev/$rdisk bs=512 skip=0 count=1 status=none | grep -q BENNVENN ; then |
#!/bin/bash | |
CHROOTDIR=/opt/minichroot | |
mkdir -p ${CHROOTDIR}/bin | |
mkdir -p ${CHROOTDIR}/lib64 | |
mkdir -p ${CHROOTDIR}/etc/dropbear | |
mkdir -p ${CHROOTDIR}/dev | |
mkdir -p ${CHROOTDIR}/tmp |
#listener 1883 192.168.178.25 | |
listener 1883 | |
log_dest syslog | |
log_dest stdout | |
log_dest topic | |
log_type error | |
log_type warning | |
log_type notice | |
log_type information | |
connection_messages true |