Commit 66fc1345 authored by David Mondou's avatar David Mondou
Browse files

Add quectel-ppp-scripts

parent c5b26546
ABORT "BUSY"
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
TIMEOUT 30
'' AT
OK ATE0
OK ATI;+CSUB;+CSQ;+CPIN?;+COPS?;+CGREG?;&D2
OK AT+CGDCONT=1,"IP","3gnet",,0,0
OK ATD*99#
CONNECT ''
ABORT "ERROR"
ABORT "NO DIALTONE"
SAY "\nSending break to the modem\n"
"" +++
"" +++
"" +++
SAY "\nGoodbay\n"
/dev/ttymxc6
115200
user ""
password ""
connect 'chat -s -v -f /etc/ppp/peers/quectel-chat-connect'
disconnect 'chat -s -v -f /etc/ppp/peers/quectel-chat-disconnect'
hide-password
crtscts
noauth
debug
defaultroute
noipdefault
SUMMARY = "Quectel modem startup scripts"
DESCRIPTION = "Startup scripts to be used with the Quectel Cellular modem card"
SECTION = "base"
LICENSE = "CLOSED"
SRC_URI = "file://quectel-ppp \
file://quectel-chat-connect \
file://quectel-chat-disconnect \
"
S = "${WORKDIR}"
do_install() {
install -d ${D}${sysconfdir}/ppp/peers
install -m 0755 quectel-ppp ${D}${sysconfdir}/ppp/peers
install -m 0755 quectel-chat-connect ${D}${sysconfdir}/ppp/peers
install -m 0755 quectel-chat-disconnect ${D}${sysconfdir}/ppp/peers
}
COMPATIBLE_MACHINE = "(vesta|imx6ul)"
......@@ -19,6 +19,7 @@ IMAGE_INSTALL_append += " \
openssh \
packagegroup-base-wifi \
ppp \
quectel-scripts \
resolvconf \
rigtools \
rng-tools \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment