Skip to content

Instantly share code, notes, and snippets.

View deivisonmoraes's full-sized avatar

Deivison Moraes deivisonmoraes

View GitHub Profile
@deivisonmoraes
deivisonmoraes / gist:4047211a4dd42baa3dd750ea03362635
Created December 29, 2021 20:59
Full log for opennds problem kernel error
root@OpenWrt:~# logread -f -e opennds
Wed Dec 29 20:52:16 2021 daemon.debug opennds[18606]: client access: GET /generate_204
Wed Dec 29 20:52:16 2021 daemon.debug opennds[18606]: client ip address is [ 192.168.1.147 ]
Wed Dec 29 20:52:16 2021 daemon.debug opennds[18606]: Executing command: /usr/lib/opennds/libopennds.sh get_interface_by_ip "192.168.1.147"
Wed Dec 29 20:52:16 2021 daemon.debug opennds[18606]: Setting default SIGCHLD handler SIG_DFL
Wed Dec 29 20:52:16 2021 daemon.debug opennds[18606]: Reading command output
Wed Dec 29 20:52:16 2021 daemon.debug opennds[18606]: command output: [br-lan]
Wed Dec 29 20:52:16 2021 daemon.debug opennds[18606]: Interface used to route ip [192.168.1.147] is [br-lan]
Wed Dec 29 20:52:16 2021 daemon.debug opennds[18606]: Gateway Interface is [br-lan]
Wed Dec 29 20:52:16 2021 daemon.debug opennds[18606]: Client ip address [192.168.1.147] is on our subnet using interface [br-lan]
Compiling error
Error: Command failed: /bin/sh -c /home/deivison/arduino/arduino /home/deivison/Arduino-cods/Codigos/reboot_system2/reboot_system2.ino --verify
Picked up JAVA_TOOL_OPTIONS:
Loading configuration...
Inicializando pacotes...
Preparando placas...
Verificando...
AVISO: A categoria '' na biblioteca UIPEthernet é invalida. Definindo para 'Uncategorized'
AVISO: A categoria '' na biblioteca UIPEthernet é invalida. Definindo para 'Uncategorized'
reboot_system2:13: error: conversion from 'int' to 'UIPClient' is ambiguous
@deivisonmoraes
deivisonmoraes / gist:973255eb55946f9d7f4d
Created September 1, 2015 10:59
Script para envio de SMS GoIP
<?php
/* Envia sms passando parametros por linha de comando
*
* Deivison Moraes
*/
$pid = pcntl_fork();
posix_setsid();
if ($pid == -1) {
@deivisonmoraes
deivisonmoraes / gist:7cd8d7f312e32cf1c9ab
Created May 20, 2015 12:44
Config with openvpn - Not build a bin file. ./scripts/diffconfig.sh
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_TLWR740=y
# CONFIG_FEED_luci is not set
# CONFIG_FEED_management is not set
# CONFIG_FEED_packages is not set
# CONFIG_FEED_routing is not set
# CONFIG_FEED_targets is not set
# CONFIG_FEED_telephony is not set
CONFIG_OPENSSL_WITH_EC=y
@deivisonmoraes
deivisonmoraes / gist:d77174e4c564a13c01f5
Last active August 29, 2015 14:21
Config Openwrt works ./scripts/diffconfig.sh
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_TLWR740=y
# CONFIG_FEED_luci is not set
# CONFIG_FEED_management is not set
# CONFIG_FEED_packages is not set
# CONFIG_FEED_routing is not set
# CONFIG_FEED_targets is not set
# CONFIG_FEED_telephony is not set
CONFIG_OPENSSL_WITH_EC=y