rebonjour,
Je me réponds a moi meme. Ils sont maintenant dans le plugin, par contre, chaque foi que je lance une commande, le daemon se desactive.
Le demon est ok et apres il est NoOk
voici le log:
192.168.31
Usage:
kill [options] <pid> [...]
Options:
<pid> [...] send signal to every <pid> listed
-<signal>, -s, --signal <signal>
specify the <signal> to be sent
-l, --list=[<signal>] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table
-h, --help display this help and exit
-V, --version output version information and exit
For more details see kill(1).
deviceip crée ici :
/var/www/html/plugins/ewejee/resources/lan
Création à
/var/www/html/plugins/ewejee/resources/lan
Suppression des fichier arp et deviceip
*************************** LS ***************************
devices-cache.json
getIP.sh
lan.sh
lanmode.txt
lib
working.txt
*************************** LS ***************************
Recherche d équipement sur le réseau local pendant 30 secondes ...
Si plusieurs reseaux :
192.168.31
Réseau utilisé par défaut :
192.168.31
Wake up devices...
192.168.31
[cache.js]
/var/www/html/plugins/ewejee/core/js/cache.js:10
(
^
TypeError: console.log(...) is not a function
at Object.<anonymous> (/var/www/html/plugins/ewejee/core/js/cache.js:10:1)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
+;eth0;IPv4;eWeLink_1000354c6d;_ewelink._tcp;local
+;eth0;IPv4;eWeLink_100033adec;_ewelink._tcp;local
+;eth0;IPv4;eWeLink_100044a3d7;_ewelink._tcp;local
+;eth0;IPv4;eWeLink_1000b8fcfa;_ewelink._tcp;local
+;eth0;IPv4;eWeLink_10005a4e7c;_ewelink._tcp;local
+;eth0;IPv4;eWeLink_10003e2cef;_ewelink._tcp;local
+;eth0;IPv4;eWeLink_1000dc1f75;_ewelink._tcp;local
Wait for devices to respond...
PING 192.168.31.190 (192.168.31.190) 56(84) bytes of data.
64 bytes from 192.168.31.190: icmp_seq=1 ttl=128 time=273 ms
--- 192.168.31.190 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 273.168/273.168/273.168/0.000 ms
PING 192.168.31.35 (192.168.31.35) 56(84) bytes of data.
64 bytes from 192.168.31.35: icmp_seq=1 ttl=128 time=15.4 ms
--- 192.168.31.35 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 15.431/15.431/15.431/0.000 ms
PING 192.168.31.36 (192.168.31.36) 56(84) bytes of data.
64 bytes from 192.168.31.36: icmp_seq=1 ttl=128 time=2.48 ms
--- 192.168.31.36 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 2.483/2.483/2.483/0.000 ms
PING 192.168.31.37 (192.168.31.37) 56(84) bytes of data.
64 bytes from 192.168.31.37: icmp_seq=1 ttl=128 time=625 ms
--- 192.168.31.37 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 625.345/625.345/625.345/0.000 ms
PING 192.168.31.38 (192.168.31.38) 56(84) bytes of data.
64 bytes from 192.168.31.38: icmp_seq=1 ttl=128 time=12.6 ms
--- 192.168.31.38 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 12.563/12.563/12.563/0.000 ms
PING 192.168.31.40 (192.168.31.40) 56(84) bytes of data.
64 bytes from 192.168.31.40: icmp_seq=1 ttl=128 time=2.36 ms
--- 192.168.31.40 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 2.364/2.364/2.364/0.000 ms
PING 192.168.31.80 (192.168.31.80) 56(84) bytes of data.
64 bytes from 192.168.31.80: icmp_seq=1 ttl=255 time=2.28 ms
--- 192.168.31.80 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 2.275/2.275/2.275/0.000 ms
/var/www/html/plugins/ewejee/resources/lan
Recherche d équipement sur le réseau local terminé ...
Usage:
kill [options] <pid> [...]
Options:
<pid> [...] send signal to every <pid> listed
-<signal>, -s, --signal <signal>
specify the <signal> to be sent
-l, --list=[<signal>] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table
-h, --help display this help and exit
-V, --version output version information and exit
For more details see kill(1).
http://169.254.30.172:80 SSL ? non LANMode
Serveur LAN correctement lancé sur http://localhost:6006 Le Fri Nov 27 2020 15:59:54 GMT+0000 (Greenwich Mean Time)
[cache.js]
/var/www/html/plugins/ewejee/core/js/cache.js:10
(
^
TypeError: console.log(...) is not a function
at Object.<anonymous> (/var/www/html/plugins/ewejee/core/js/cache.js:10:1)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47