This file contains hidden or 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
Apr 10 09:52:59 ubuntu kamailio: INFO: <core> [sctp_core.c:74]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module | |
Apr 10 09:52:59 ubuntu kamailio: WARNING: <core> [socket_info.c:1371]: fix_hostname(): could not rev. resolve 10.0.2.15 | |
Apr 10 09:52:59 ubuntu kamailio: WARNING: <core> [socket_info.c:1371]: fix_hostname(): could not rev. resolve 10.0.2.15 | |
Apr 10 09:52:59 ubuntu kamailio: INFO: <core> [tcp_main.c:4656]: init_tcp(): using epoll_lt as the io watch method (auto detected) | |
Apr 10 09:52:59 ubuntu kamailio[5805]: loading modules under config path: /usr/lib/x86_64-linux-gnu/kamailio/modules/ | |
Apr 10 09:52:59 ubuntu kamailio[5805]: Listening on | |
Apr 10 09:52:59 ubuntu kamailio[5805]: udp: 127.0.0.1:5060 | |
Apr 10 09:52:59 ubuntu kamailio[5805]: udp: 10.0.2.15:5060 | |
Apr 10 09:52:59 ubuntu kamailio[5805]: tcp: 127.0.0.1:5060 | |
Apr 10 09:52:59 ubuntu kamailio[5805]: tcp: 10.0.2.15:5060 |
This file contains hidden or 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
$ ./cooker --profiles=ar71xx/generic | |
make: Entering directory '/home/nicopace/projects/redlibre/altermundi/librestack/lime-sdk-nico/lime-sdk/17.01.1/ar71xx/generic/ib' | |
/home/nicopace/projects/redlibre/altermundi/librestack/lime-sdk-nico/lime-sdk/17.01.1/ar71xx/generic/ib/scripts/target-metadata.pl profile_mk .targetinfo 'ar71xx/generic' > .profiles.mk | |
Current Target: "ar71xx (Generic)" | |
Default Packages: base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools uclient-fetch logd kmod-gpio-button-hotplug swconfig kmod-ath9k wpad-mini uboot-envtools dnsmasq iptables ip6tables ppp ppp-mod-pppoe firewall odhcpd odhcp6c | |
Available Profiles: | |
Default: | |
Default Profile (all drivers) | |
Packages: kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport |
This file contains hidden or 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 | |
# This will convert any text passed through stdin to a JSON-valid string | |
# Based on https://stackoverflow.com/a/11495576/2399665 | |
JSON_TOPIC_RAW=`cat` | |
JSON_TOPIC_RAW=${JSON_TOPIC_RAW//\\/\\\\} # \ | |
JSON_TOPIC_RAW=${JSON_TOPIC_RAW//\//\\\/} # / | |
JSON_TOPIC_RAW=${JSON_TOPIC_RAW//\'/\\\'} # ' (not strictly needed ?) | |
JSON_TOPIC_RAW=${JSON_TOPIC_RAW//\"/\\\"} # " |
This file contains hidden or 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
make[3]: Entering directory '/home/nicopace/projects/redlibre/altermundi/librestack/spectrum-analyzer-packages/spectrum-scan-manager' | |
CFLAGS="-Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap /home/nicopace/projects/redlibre/altermundi/librestack/lime-sdk/17.01.2/x86/generic/sdk/build_dir/target-i386_pentium4_musl-1.1.16/spectrum-scan-manager-2017-07-03-1499091983:spectrum-scan-manager-2017-07-03-1499091983 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/nicopace/projects/redlibre/altermundi/librestack/lime-sdk/17.01.2/x86/generic/sdk/staging_dir/target-i386_pentium4_musl-1.1.16/usr/include -I/home/nicopace/projects/redlibre/altermundi/librestack/lime-sdk/17.01.2/x86/generic/sdk/staging_dir/target-i386_pentium4_musl-1.1.16/include -I/home/nicopace/projects/redlibre/altermundi/librestack/lime-sdk/17.01.2/x86/generic/sdk/staging_dir/toolchain-i386_pentium4_gcc-5.4.0_musl- |
This file contains hidden or 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
* IPFS on OpenWRT | |
* LibreMesh for Raspberry PI | |
* |
This file contains hidden or 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
diff --git a/hna.c b/hna.c | |
index cc3ad77..26fd8a9 100644 | |
--- a/hna.c | |
+++ b/hna.c | |
@@ -34,7 +34,7 @@ | |
//#include <linux/if_tun.h> /* TUNSETPERSIST, ... */ | |
//#include <linux/if.h> /* ifr_if, ifr_tun */ | |
#include <fcntl.h> /* open(), O_RDWR */ | |
-#include <netinet/ip.h> | |
+#include <linux/ip.h> |
This file contains hidden or 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
#!/usr/bin/env lua | |
require "ubus" | |
require "uloop" | |
uloop.init() | |
local conn = ubus.connect() | |
if not conn then | |
error("Failed to connect to ubus") |
This file contains hidden or 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
k$ ./cooker -b ar71xx/generic --clean --no-update | |
+ '[' -f options.conf.local ']' | |
+ . options.conf | |
++ release=lede | |
++ base_url=https://downloads.lede-project.org/snapshots/targets/ | |
++ communities_git=https://github.com/libremesh/network-profiles.git | |
++ communities_dir=communities | |
++ tmp_dir=tmp | |
++ feeds_default_file=feeds.conf.default | |
++ feeds_file=feeds.conf |
This file contains hidden or 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
https://github.com/Microsoft/Recognizers-Text/pull/20/files | |
set /p commitId=<commitId.txt | |
set username=%1 | |
set token=%2 | |
set owner=%3 | |
set repo=%4 | |
set state=%5 | |
set target_url=%6 |
This file contains hidden or 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
local iwinfo = require("iwinfo") | |
networks = iwinfo.wext.scanlist("wlan0") | |
--[[ | |
... | |
{ | |
bssid = "C0:61:18:FB:B0:A0", | |
channel = 11, | |
encryption = { | |
auth_algs = { }, auth_suites = { }, description = "None" | |
enabled = false, group_ciphers = { }, pair_ciphers = { } |