Skip to content

Instantly share code, notes, and snippets.

/*
*
* Original code by Miononno
* https://www.youtube.com/watch?v=1kanq1w2DA0
*
* Enhanced by unknown @ lteforum.at
*
*/
console.log("Loading ZTE Script v" + "2024-03-29-#1");
javascript: ftb();
siginfo =
"lte_ca_scell_present,lte_ca_scell_ca_activated,lte_ca_scell_earfcn,lte_ca_scell_pci," +
"lte_ca_scell_rsrp,lte_ca_scell_rsrq,lte_ca_scell_serv_rssnr," +
"rssi_1,rssi_2,rssi_3,rssi_4,rscp_1,ecio_1,rscp_2,ecio_2,rscp_3,ecio_3,rscp_4,ecio_4," +
"evdo_sinr,tx_power,wan_csq,wan_lte_ca_dl_channel,tx_power,Z5g_rsrp,Z5g_rsrq,Z5g_SINR," +
"wan_lte_ca_sinr,lte_rsrp_1,lte_rsrp_2,lte_rsrp_3,lte_rsrp_4," +
"lte_snr_1,lte_snr_2,lte_snr_3,lte_snr_4,5g_rx0_rsrp,5g_rx1_rsrp," +
"lte_pci,lte_pci_lock,lte_earfcn_lock,wan_ipaddr,wan_apn,pm_sensor_mdm,pm_modem_5g," +
@ishad0w
ishad0w / sources.list
Created April 30, 2020 16:55
Ubuntu 20.04 LTS (Focal Fossa) -- Full sources.list
deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
@aslafy-z
aslafy-z / _huawei-sms-forwarder.md
Last active November 1, 2023 22:59
Forward SMS from Huawei LTE router to another number

Forward SMS from Huawei LTE router to another number

Dependencies

Usage

export HUAWEI_ROUTER_IP_ADDRESS="" # Router IP address
@marfillaster
marfillaster / dual.cfg
Last active March 28, 2024 06:32
Mikrotik dual/triple dhcp wan recursive failover w/ pcc load balancing
/interface bridge add name=bridge
/interface bridge port
add bridge=bridge interface=ether3
add bridge=bridge interface=ether2
add bridge=bridge interface=ether1
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
@gabriel-v
gabriel-v / how_to_wireguard.sh
Last active February 4, 2024 22:20
Wireguard configuration for dummies
# install
firefox https://www.wireguard.com/install/
# for macOS use the brew/ports version, not the app
# be root
sudo -i
mkdir /etc/wireguard || true
cd /etc/wireguard
# create keys
@bmatthewshea
bmatthewshea / show_ssl_expire
Last active March 1, 2023 22:13
Retrieve/Check SSL certificate expiration date(s)
#!/bin/bash
# By B Shea Dec2018 & Mar2020
# https://www.holylinux.net
# Test for OpenSSL - if not installed stop here.
if ! [[ -x $(which openssl) ]]; then
printf "\nOpenSSL not found or not executable.\nPlease install OpenSSL before proceeding.\n\n"
exit 1
fi
@jarek-przygodzki
jarek-przygodzki / node_exporter-as-systemd-service.md
Last active December 13, 2023 07:26
Installing node_exporter as systemd serivice
sudo useradd --system --shell /bin/false node_exporter
curl -fsSL https://github.com/prometheus/node_exporter/releases/download/v1.3.1/node_exporter-1.3.1.linux-amd64.tar.gz \
  | sudo tar -zxvf - -C /usr/local/bin --strip-components=1 node_exporter-1.3.1.linux-amd64/node_exporter \
  && sudo chown node_exporter:node_exporter /usr/local/bin/node_exporter
@lukpueh
lukpueh / say_lte.py
Created May 24, 2018 10:38
Script to help me position my `Alcatel Linkhub HH40v` LTE modem for the best signal strength
#!/usr/bin/env python
"""
<Program Name>
say_lte.py
<Author>
Lukas Puehringer <luk.puehringer@gmail.com>
<Purpose>
Script to help me position my `Alcatel Linkhub HH40v` LTE modem for the
@jaddison
jaddison / suprnova_check.sh
Created January 10, 2018 03:59
Suprnova JSON API hash/share rate & balance script
#!/bin/bash
if [[ ! -v SUPRNOVA_KEY ]]
then
echo -e "SUPRNOVA_KEY environment variable isn't set.\n\nThis should be the API key from your Suprnova account."
exit 1
fi
if [[ ! -v SUPRNOVA_TARGET ]]
then
echo -e "SUPRNOVA_TARGET environment variable isn't set.\n\nThis should be 'zcl' if you are connecting to 'zcl.suprnova.cc'"