Skip to content

Instantly share code, notes, and snippets.

@mandarjog
Last active December 27, 2015 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mandarjog/7360787 to your computer and use it in GitHub Desktop.
Save mandarjog/7360787 to your computer and use it in GitHub Desktop.
Janus Error Message
# cd /opt/demo400ap/scripts/# python ./demoMenu.py
400AP Demonstration (v2.1)
1)Edit demo configuration file (nano)
2)Open terminal to send AT commands (microcom)
3)Start GPS demo (demoGps.py)
4)Start a PPP connection (demoPPP.py start)
5)Stop a PPP connection (demoPPP.py stop)
6)Start router (demoRouter.py start)
7)Stop router (demoRouter.py stop)
x)Exit
Selection: Executing Script: /opt/demo400ap/scripts/demoRouter.py start
eth0: link down
eth0: link up (100/Full)
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (955 buckets, 3820 max)
PRODUCTION=True
CGMM=GE865
CGMR=12.00.003
ENS=1
APN=a105.2way.net
IP=12.237.120.180
PORT=9999
PROTOCOL=UDP
SMSD=+16305550100
USERNAME=
PASSWORD=
INTERVAL = 15
VERBOSE = True
CONF_STATUS = 0
Plug-in Terminus is off
Powering On
Waiting for power state to change
Plug-in Terminus is on
SIM Verification Cycle
Sending AT Command: AT+CPBS?
Waiting for AT Command Response
ERROR
SIM busy! ....waiting!
Sending AT Command: AT+CPBS?
Waiting for AT Command Response
ERROR
Sending AT Command: AT+CPBS?
Waiting for AT Command Response
ERROR
Sending AT Command: AT+CPBS?
Waiting for AT Command Response
ERROR
Sending AT Command: AT+CPBS?
Waiting for AT Command Response
ERROR
Sending AT Command: AT+CPBS?
Waiting for AT Command Response
ERROR
Sending AT Command: AT+CPBS?
Waiting for AT Command Response
ERROR
Sending AT Command: AT+CPBS?
Waiting for AT Command Response
ERROR
Sending AT Command: AT+CPBS?
Waiting for AT Command Response
ERROR
Sending AT Command: AT+CPBS?
Waiting for AT Command Response
ERROR
Sending AT Command: AT+CPBS?
Waiting for AT Command Response
ERROR
Sending AT Command: AT+CPBS?
Waiting for AT Command Response
ERROR
Sending AT Command: AT+CPBS?
Waiting for AT Command Response
+CPBS: "SM",0,250
SIM ready
Sending AT Command: AT+CGMM
Waiting for AT Command Response
GE865
Sending AT Command: AT#GAUTH=0
Waiting for AT Command Response
OK
Sending AT Command: AT#SELINT?
Waiting for AT Command Response
#SELINT: 2
Sending AT Command: AT#ENS?
Waiting for AT Command Response
#ENS: 1
Sending AT Command: AT+CGDCONT=1,"IP","a105.2way.net","0.0.0.0",0,0
Waiting for AT Command Response
OK
Sending AT Command: AT#DSTO=10
Waiting for AT Command Response
OK
Sending AT Command: ATS12=40
Waiting for AT Command Response
OK
Sending AT Command: AT#SKIPESC=1
Waiting for AT Command Response
OK
Sending AT Command: AT#SCFG=1,1,1500,600,100,10
Waiting for AT Command Response
OK
Sending AT Command: AT#SCFGEXT=1,2,0,30,0,0
Waiting for AT Command Response
OK
Sending AT Command: AT+CREG?
Waiting for AT Command Response
+CREG: 0,1
pppd options in effect:
-d # (from command line)
-detach # (from command line)
persist # (from /etc/ppp/peers/modem_gsm865cf)
dump # (from /etc/ppp/peers/modem_gsm865cf)
noauth # (from /etc/ppp/peers/modem_gsm865cf)
/dev/ttyS1 # (from /etc/ppp/peers/modem_gsm865cf)
115200 # (from /etc/ppp/peers/modem_gsm865cf)
lock # (from /etc/ppp/peers/modem_gsm865cf)
connect /usr/sbin/chat -v -f /etc/ppp/chatscripts/modem_connect_gsm # (from /etc/ppp/peers/modem_gsm865cf)
crtscts # (from /etc/ppp/peers/modem_gsm865cf)
noaccomp # (from /etc/ppp/peers/modem_gsm865cf)
nopcomp # (from /etc/ppp/peers/modem_gsm865cf)
lcp-echo-failure 3 # (from /etc/ppp/peers/modem_gsm865cf)
lcp-echo-interval 3 # (from /etc/ppp/peers/modem_gsm865cf)
show-password # (from /etc/ppp/peers/modem_gsm865cf)
novj # (from /etc/ppp/peers/modem_gsm865cf)
novjccomp # (from /etc/ppp/peers/modem_gsm865cf)
ipcp-accept-local # (from /etc/ppp/peers/modem_gsm865cf)
ipcp-accept-remote # (from /etc/ppp/peers/modem_gsm865cf)
noipdefault # (from /etc/ppp/peers/modem_gsm865cf)
defaultroute # (from /etc/ppp/peers/modem_gsm865cf)
usepeerdns # (from /etc/ppp/peers/modem_gsm865cf)
noccp # (from /etc/ppp/peers/modem_gsm865cf)
nobsdcomp # (from /etc/ppp/peers/modem_gsm865cf)
# Script /usr/sbin/chat -v -f /etc/ppp/chatscripts/modem_connect_gsm finished (pid 559), status = 0x0
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x731e14ee>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x731e14ee>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xfe480000> <pcomp> <accomp>]
sent [LCP ConfRej id=0x1 <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x15490000>]
sent [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x15490000>]
sent [LCP EchoReq id=0x0 magic=0x731e14ee]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfReq id=0x2 <addr 192.168.202.0>]
sent [IPCP ConfAck id=0x2 <addr 192.168.202.0>]
rcvd [LCP EchoRep id=0x0 magic=0x2c490000]
rcvd [IPCP ConfNak id=0x1 <addr 10.17.79.249> <ms-dns1 63.84.143.13> <ms-dns2 63.84.143.14>]
sent [IPCP ConfReq id=0x2 <addr 10.17.79.249> <ms-dns1 63.84.143.13> <ms-dns2 63.84.143.14>]
rcvd [IPCP ConfAck id=0x2 <addr 10.17.79.249> <ms-dns1 63.84.143.13> <ms-dns2 63.84.143.14>]
local IP address 10.17.79.249
remote IP address 192.168.202.0
primary DNS address 63.84.143.13
secondary DNS address 63.84.143.14
eth0: link down
eth0: link up (100/Full)
eth0: link down
eth0: link up (100/Full)
eth0: link down
eth0: link up (100/Full)
eth0: link down
eth0: link up (100/Full)
eth0: link down
eth0: link up (100/Full)
eth0: link down
eth0: link up (100/Full)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment