4IceG / luci-app-lite-watchdog

Simple internet connection monitor. Connection tester based on the method of testing pings to a given address. (LuCI JS) | OpenWrt >= 21.02
MIT License
14 stars 2 forks source link

luci-app-lite-watchdog

GitHub release (latest by date) GitHub stars GitHub forks GitHub All Releases

Luci-app-lite-watchdog is connection tester based on the method of testing pings to a given address.
The connection monitor is a conversion of the monitor known from the easyconfig package.

What You Should Know / Co powinieneś wiedzieć

My package will not work if you are using ModemManager.
Preferred version OpenWrt >= 21.02.

Mój pakiet nie będzie działać jeżeli uzywasz ModemManager-a.
Preferowana wersja OpenWrt >= 21.02.

Installation / Instalacja

Pokaż | Show me #### Package dependencies for conventional modems. Modem drivers are required for proper operation. ``` bash opkg install kmod-usb-serial kmod-usb-serial-option sms-tool ``` The sms-tool package is available in the OpenWrt Master repository. #### Step 1a. Install sms-tool from Master (Only the current snapshot image). ``` bash opkg update opkg install sms-tool ``` #### Step 1b. Download the sms-tool package and install manualy (For older stable version images). #### To install the sms-tool package, we need to know the architecture name for router.
Pokaż jak znaleźć architekturę routera | Show how to find a router architecture. > For example, we are looking for sms-tool for Zbtlink router ZBT-WE3526. #### Step 1. > We go to the page and enter the name of our router. https://firmware-selector.openwrt.org/ #### Step 2. > Click on the folder icon and go to the image download page. ![](https://github.com/4IceG/Personal_data/blob/master/OpenWrt%20Firmware%20Selector.png?raw=true) > It should take us to a page https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/ #### Step 3. > Then go into the "packages" folder at the bottom of the page. https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/ > We check what the architecture name is for our router. All packets have names ending in mipsel_24kc.ipk, so the architecture we are looking for is mipsel_24kc.
#### Example of sms-tool installation using the command line. > In the link below, replace ```*architecture*``` with the architecture of your router, e.g. arm_cortex-a7_neon-vfpv4, mipsel_24kc. ``` bash wget https://downloads.openwrt.org/snapshots/packages/*architecture*/packages/sms-tool_2022-03-21-f07699ab-1_*architecture*.ipk -O /tmp/sms-tool_2022-03-21.ipk opkg install /tmp/sms-tool_2022-03-21.ipk ``` #### Another way is to download the package manually. > To do this, we go to the page. https://downloads.openwrt.org/snapshots/packages/ > We choose our architecture, e.g. arm_cortex-a7_neon-vfpv4, mipsel_24kc. https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/ > Go to the "packages" folder. https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/ > Looking for "sms-tool_2022-03-21". We can use search by using Ctr + F and typing "sms-tool". Save the package to your computer for further installation on the router. #### Step 2. Add my repository (https://github.com/4IceG/Modem-extras) to the image and follow the commands. ``` bash opkg update opkg install luci-app-lite-watchdog ``` For images downloaded from eko.one.pl. Installation procedure is similar, only there is no need to manually download the sms-tool package.

User compilation / Kompilacja przez użytkownika

Pokaż | Show me ``` bash #The package can be added to Openwrt sources in two ways: cd feeds/luci/applications/ git clone https://github.com/4IceG/luci-app-lite-watchdog.git cd ../../.. ./scripts feeds update -a; ./scripts/feeds install -a make menuconfig or e.g. cd packages/ git clone https://github.com/4IceG/luci-app-lite-watchdog.git git pull make package/symlinks make menuconfig You may need to correct the file paths and the number of folders to look like this: feeds/luci/applications/luci-app-lite-watchdog/Makefile or packages/luci-app-lite-watchdog/Makefile Then you can compile the packages one by one, an example command: make V=s -j1 feeds/luci/applications/luci-app-lite-watchdog/compile ```

Preview / Podgląd

"Monitor" window / Okno "Monitora połączenia":

"Activity log" window / Okno "Dziennika aktywności":

"Configuration" window / Okno "Konfiguracji":

Thanks to / Podziękowania dla