mirror of
https://github.com/gSpotx2f/luci-app-internet-detector.git
synced 2025-12-06 03:26:50 +03:00
mod_led_control: added netdev trigger, more options for timer trigger.
This commit is contained in:
37
README.md
37
README.md
@@ -8,6 +8,7 @@ Internet-detector is an application for checking the availability of the Interne
|
||||

|
||||
- Performing actions when connecting and disconnecting the Internet: rebooting device, restarting network or modem (internet-detector-mod-modem-restart), executing custom shell scripts.
|
||||
- Sending email notification when Internet access is restored (internet-detector-mod-email).
|
||||
- Sending telegtam notification when Internet access is restored (internet-detector-mod-telegram).
|
||||
- The daemon is written entirely in Lua using the luaposix library.
|
||||
|
||||
**OpenWrt >= 21.02.**
|
||||
@@ -19,22 +20,22 @@ Internet-detector is an application for checking the availability of the Interne
|
||||
## Installation notes:
|
||||
|
||||
opkg update
|
||||
wget --no-check-certificate -O /tmp/internet-detector_1.6.1-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector_1.6.1-r1_all.ipk
|
||||
opkg install /tmp/internet-detector_1.6.1-r1_all.ipk
|
||||
rm /tmp/internet-detector_1.6.1-r1_all.ipk
|
||||
wget --no-check-certificate -O /tmp/internet-detector_1.6.2-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector_1.6.2-r1_all.ipk
|
||||
opkg install /tmp/internet-detector_1.6.2-r1_all.ipk
|
||||
rm /tmp/internet-detector_1.6.2-r1_all.ipk
|
||||
service internet-detector start
|
||||
service internet-detector enable
|
||||
|
||||
wget --no-check-certificate -O /tmp/luci-app-internet-detector_1.6.1-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-internet-detector_1.6.1-r1_all.ipk
|
||||
opkg install /tmp/luci-app-internet-detector_1.6.1-r1_all.ipk
|
||||
rm /tmp/luci-app-internet-detector_1.6.1-r1_all.ipk
|
||||
wget --no-check-certificate -O /tmp/luci-app-internet-detector_1.6.2-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-internet-detector_1.6.2-r1_all.ipk
|
||||
opkg install /tmp/luci-app-internet-detector_1.6.2-r1_all.ipk
|
||||
rm /tmp/luci-app-internet-detector_1.6.2-r1_all.ipk
|
||||
service rpcd restart
|
||||
|
||||
i18n-ru:
|
||||
|
||||
wget --no-check-certificate -O /tmp/luci-i18n-internet-detector-ru_1.6.1-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-i18n-internet-detector-ru_1.6.1-r1_all.ipk
|
||||
opkg install /tmp/luci-i18n-internet-detector-ru_1.6.1-r1_all.ipk
|
||||
rm /tmp/luci-i18n-internet-detector-ru_1.6.1-r1_all.ipk
|
||||
wget --no-check-certificate -O /tmp/luci-i18n-internet-detector-ru_1.6.2-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-i18n-internet-detector-ru_1.6.2-r1_all.ipk
|
||||
opkg install /tmp/luci-i18n-internet-detector-ru_1.6.2-r1_all.ipk
|
||||
rm /tmp/luci-i18n-internet-detector-ru_1.6.2-r1_all.ipk
|
||||
|
||||
## Screenshots:
|
||||
|
||||
@@ -46,9 +47,9 @@ i18n-ru:
|
||||
|
||||
**Dependences:** modemmanager.
|
||||
|
||||
wget --no-check-certificate -O /tmp/internet-detector-mod-modem-restart_1.6.1-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector-mod-modem-restart_1.6.1-r1_all.ipk
|
||||
opkg install /tmp/internet-detector-mod-modem-restart_1.6.1-r1_all.ipk
|
||||
rm /tmp/internet-detector-mod-modem-restart_1.6.1-r1_all.ipk
|
||||
wget --no-check-certificate -O /tmp/internet-detector-mod-modem-restart_1.6.2-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector-mod-modem-restart_1.6.2-r1_all.ipk
|
||||
opkg install /tmp/internet-detector-mod-modem-restart_1.6.2-r1_all.ipk
|
||||
rm /tmp/internet-detector-mod-modem-restart_1.6.2-r1_all.ipk
|
||||
service internet-detector restart
|
||||
|
||||

|
||||
@@ -57,9 +58,9 @@ i18n-ru:
|
||||
|
||||
**Dependences:** mailsend.
|
||||
|
||||
wget --no-check-certificate -O /tmp/internet-detector-mod-email_1.6.1-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector-mod-email_1.6.1-r1_all.ipk
|
||||
opkg install /tmp/internet-detector-mod-email_1.6.1-r1_all.ipk
|
||||
rm /tmp/internet-detector-mod-email_1.6.1-r1_all.ipk
|
||||
wget --no-check-certificate -O /tmp/internet-detector-mod-email_1.6.2-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector-mod-email_1.6.2-r1_all.ipk
|
||||
opkg install /tmp/internet-detector-mod-email_1.6.2-r1_all.ipk
|
||||
rm /tmp/internet-detector-mod-email_1.6.2-r1_all.ipk
|
||||
service internet-detector restart
|
||||
|
||||

|
||||
@@ -68,9 +69,9 @@ i18n-ru:
|
||||
|
||||
**Dependences:** curl.
|
||||
|
||||
wget --no-check-certificate -O /tmp/internet-detector-mod-telegram_1.6.1-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector-mod-telegram_1.6.1-r1_all.ipk
|
||||
opkg install /tmp/internet-detector-mod-telegram_1.6.1-r1_all.ipk
|
||||
rm /tmp/internet-detector-mod-telegram_1.6.1-r1_all.ipk
|
||||
wget --no-check-certificate -O /tmp/internet-detector-mod-telegram_1.6.2-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector-mod-telegram_1.6.2-r1_all.ipk
|
||||
opkg install /tmp/internet-detector-mod-telegram_1.6.2-r1_all.ipk
|
||||
rm /tmp/internet-detector-mod-telegram_1.6.2-r1_all.ipk
|
||||
service internet-detector restart
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user