summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2019-02-25 13:33:33 -0600
committerJeff Hatch <jhatch@multitech.com>2019-02-25 13:33:33 -0600
commit8f44c4bbd8ae8d0de128d416ec84dcd667444e1f (patch)
treec3f5aa30bfecedfcac4db49f829e842f6bce3dea
parentf465d38b18d02ef7dd0d5ac03fcf6d5cd2927fe4 (diff)
parent4c64c8cb9c53d3180a4f43f4a5d15896591cb8ce (diff)
downloadmeta-mlinux-8f44c4bbd8ae8d0de128d416ec84dcd667444e1f.tar.gz
meta-mlinux-8f44c4bbd8ae8d0de128d416ec84dcd667444e1f.tar.bz2
meta-mlinux-8f44c4bbd8ae8d0de128d416ec84dcd667444e1f.zip
Merge branch 'master' of gitlab.multitech.net:mirrors/meta-mlinux
-rw-r--r--recipes-connectivity/lora/lora-network-server_2.2.12.bb (renamed from recipes-connectivity/lora/lora-network-server_2.1.5.bb)6
-rw-r--r--recipes-core/multitech/config/ppp/peers/lap311
-rw-r--r--recipes-core/multitech/config/ppp/peers/lap3_chat19
3 files changed, 33 insertions, 3 deletions
diff --git a/recipes-connectivity/lora/lora-network-server_2.1.5.bb b/recipes-connectivity/lora/lora-network-server_2.2.12.bb
index 37f5328..2c60c73 100644
--- a/recipes-connectivity/lora/lora-network-server_2.1.5.bb
+++ b/recipes-connectivity/lora/lora-network-server_2.2.12.bb
@@ -5,7 +5,7 @@ LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ae2ad602b723a163cd33ca5ee991fbcd"
DEPENDS = "jsoncpp libmts mosquitto sqlite3 curl gnutls"
RDEPENDS_${PN} += "lora-packet-forwarder logrotate bash lora-logging"
-PR = "r5"
+PR = "r8"
CONFFILES_${PN} += "${sysconfdir}/default/lora-network-server ${sysconfdir}/init.d/lora-network-server"
SRC_URI = "http://multitech.net/downloads/lora-network-server_${TUNE_PKGARCH}_${PV}.tar.gz \
@@ -13,8 +13,8 @@ SRC_URI = "http://multitech.net/downloads/lora-network-server_${TUNE_PKGARCH}_${
file://lora-network-server.default \
"
-SRC_URI[md5sum] = "c4701d75dccdf6b0413302da52e14172"
-SRC_URI[sha256sum] = "f3f695d9ff99136158281c7d9057d29769ed756456cd4ae62ac282f4dfb86aab"
+SRC_URI[md5sum] = "2cbbcaef66c43a90a2e6f7578a4bfc02"
+SRC_URI[sha256sum] = "f54968b87571fa99f031322f97c24688ce23a27d7f1e0f62693a4d8945a57b35"
# binaries are already stripped, so suppress warning
INSANE_SKIP_${PN} = "already-stripped"
diff --git a/recipes-core/multitech/config/ppp/peers/lap3 b/recipes-core/multitech/config/ppp/peers/lap3
new file mode 100644
index 0000000..bac08a1
--- /dev/null
+++ b/recipes-core/multitech/config/ppp/peers/lap3
@@ -0,0 +1,11 @@
+linkname ppp0
+230400
+defaultroute
+replacedefaultroute
+usepeerdns
+ipcp-max-failure 10
+ipcp-restart 10
+noauth
+crtscts
+novj
+connect '/usr/sbin/chat -v -t 90 -f /etc/ppp/peers/lap3_chat'
diff --git a/recipes-core/multitech/config/ppp/peers/lap3_chat b/recipes-core/multitech/config/ppp/peers/lap3_chat
new file mode 100644
index 0000000..bc5ebcf
--- /dev/null
+++ b/recipes-core/multitech/config/ppp/peers/lap3_chat
@@ -0,0 +1,19 @@
+SAY "LSP3 chat\n"
+ECHO OFF
+ABORT 'NO DIAL TONE'
+ABORT 'NO DIALTONE'
+ABORT 'NO ANSWER'
+ABORT 'NO CARRIER'
+ABORT 'DELAYED'
+ABORT 'VOICE'
+ABORT 'BUSY'
+'' 'AT'
+OK 'ATZ'
+OK 'AT+CSQ'
+OK 'AT+CGDCONT?'
+SAY "Dialing...\n"
+OK 'ATD*99***1#'
+SAY "Waiting for CONNECT...\n"
+TIMEOUT 120
+CONNECT ''
+SAY "Connected\n"