This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Internet Monitoring Script for QMI Modem | |
# Modem: Quectel EG25-G | |
# Script inspired from conmon.sh in ROOter project. | |
# https://www.ofmodemsandmen.com/ | |
# What is most likely to happen in my experience is modem gets a new IP from ISP, randomly, and interface does not update, therefore outbound traffic stops | |
# This script will cover both scenarios |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# Bootloader configuration - config.txt | |
################################################################################ | |
################################################################################ | |
# For overclocking and various other settings, see: | |
# https://www.raspberrypi.org/documentation/configuration/config-txt/README.md | |
################################################################################ | |
# OpenWrt config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/config/privoxy | |
# replace username and password with proxy provided credentials | |
config privoxy 'privoxy' | |
option confdir '/etc/privoxy' | |
option logdir '/var/log' | |
option logfile 'privoxy.log' | |
list filterfile 'default.filter' | |
list actionsfile 'match-all.action' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/config/firewall | |
config defaults | |
option input 'ACCEPT' | |
option output 'ACCEPT' | |
option synflood_protect '1' | |
option forward 'REJECT' | |
config zone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/config/firewall | |
config defaults | |
option input 'ACCEPT' | |
option output 'ACCEPT' | |
option forward 'REJECT' | |
option synflood_protect '1' | |
config zone | |
option name 'lan' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# Bootloader configuration - config.txt | |
################################################################################ | |
################################################################################ | |
# For overclocking and various other settings, see: | |
# https://www.raspberrypi.org/documentation/configuration/config-txt/README.md | |
################################################################################ | |
# OpenWrt config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# Bootloader configuration - config.txt | |
################################################################################ | |
################################################################################ | |
# For overclocking and various other settings, see: | |
# https://www.raspberrypi.org/documentation/configuration/config-txt/README.md | |
################################################################################ | |
# OpenWrt config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# Bootloader configuration - config.txt | |
################################################################################ | |
################################################################################ | |
# For overclocking and various other settings, see: | |
# https://www.raspberrypi.org/documentation/configuration/config-txt/README.md | |
################################################################################ | |
# OpenWrt config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config interface 'loopback' | |
option device 'lo' | |
option proto 'static' | |
option ipaddr '127.0.0.1' | |
option netmask '255.0.0.0' | |
config globals 'globals' | |
option ula_prefix 'fdf7:1fbd:8cd0::/48' | |
config device |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# OpenWrt Configuration | |
# | |
CONFIG_MODULES=y | |
CONFIG_HAVE_DOT_CONFIG=y | |
# CONFIG_TARGET_sunxi is not set | |
# CONFIG_TARGET_apm821xx is not set | |
# CONFIG_TARGET_ath25 is not set | |
# CONFIG_TARGET_ath79 is not set |
NewerOlder