Having trouble connecting


#1

I am not sure if I tweaked something since my last successful connection when executing:

sudo hologram network connect

But I am having trouble connecting now. This is what I am seeing in my syslog:

Jan 26 15:55:40 beaglebone pppd[7745]: Serial connection established.
Jan 26 15:55:40 beaglebone connmand[892]: ppp0 {create} index 19 type 512 <PPP>
Jan 26 15:55:40 beaglebone connmand[892]: ppp0 {update} flags 4240 <DOWN>
Jan 26 15:55:40 beaglebone connmand[892]: ppp0 {newlink} index 19 address 00:00:00:00:00:00 mtu 1500
Jan 26 15:55:40 beaglebone connmand[892]: ppp0 {newlink} index 19 operstate 2 <DOWN>
Jan 26 15:55:40 beaglebone connmand[892]: ppp0 {update} flags 69841 <UP,RUNNING,LOWER_UP>
Jan 26 15:55:40 beaglebone connmand[892]: ppp0 {newlink} index 19 address 00:00:00:00:00:00 mtu 1500
Jan 26 15:55:40 beaglebone connmand[892]: ppp0 {newlink} index 19 operstate 0 <UNKNOWN>
Jan 26 15:55:40 beaglebone pppd[7745]: Using interface ppp0
Jan 26 15:55:40 beaglebone pppd[7745]: Connect: ppp0 <--> /dev/ttyUSB2
Jan 26 15:55:40 beaglebone dhcpcd[6052]: ppp0: soliciting an IPv6 router
Jan 26 15:55:40 beaglebone dhcpcd[6052]: ppp0: waiting for 3rd party to configure IP address
Jan 26 15:55:41 beaglebone pppd[7745]: PAP authentication succeeded
Jan 26 15:56:11 beaglebone pppd[7745]: IPCP: timeout sending Config-Requests
Jan 26 15:56:17 beaglebone pppd[7745]: Connection terminated.
Jan 26 15:56:17 beaglebone dhcpcd[6052]: ppp0: carrier lost
Jan 26 15:56:17 beaglebone dhcpcd[6052]: ppp0: removing interface
Jan 26 15:56:17 beaglebone connmand[892]: (null) {RX} 0 packets 0 bytes
Jan 26 15:56:17 beaglebone connmand[892]: (null) {TX} 11 packets 295 bytes
Jan 26 15:56:17 beaglebone connmand[892]: (null) {update} flags 4240 <DOWN>
Jan 26 15:56:17 beaglebone connmand[892]: ppp0 {newlink} index 19 address 00:00:00:00:00:00 mtu 1500
Jan 26 15:56:17 beaglebone connmand[892]: ppp0 {newlink} index 19 operstate 2 <DOWN>
Jan 26 15:56:17 beaglebone connmand[892]: ppp0 {dellink} index 19 operstate 2 <DOWN>
Jan 26 15:56:17 beaglebone connmand[892]: (null) {RX} 0 packets 0 bytes
Jan 26 15:56:17 beaglebone connmand[892]: (null) {TX} 11 packets 295 bytes
Jan 26 15:56:17 beaglebone connmand[892]: (null) {remove} index 19
Jan 26 15:56:17 beaglebone avahi-daemon[820]: Withdrawing workstation service for ppp0.
Jan 26 15:56:18 beaglebone pppd[7745]: Modem hangup
Jan 26 15:56:19 beaglebone pppd[7745]: Terminating on signal 15
Jan 26 15:56:19 beaglebone pppd[7745]: Exit.

I just want to cross off the possibility that the issue is on hologram/my account side before I wreck my head any longer on my device configurations. I can send do hologram send "Hello World" and see that in my console fine.


#2

Disregard…it was an issue on my side. I was passing the wrong ttyUSB in my startup script.

EDIT: While I can get the ppp session to start up, sudo hologram network connect, and can temporarily ping 8.8.8.8, the session does not last long.

Jan 27 04:13:56 beaglebone pppd[2122]: No response to 4 echo-requests
Jan 27 04:13:56 beaglebone pppd[2122]: Serial link appears to be disconnected.
Jan 27 04:13:56 beaglebone rsyslogd-2007: action 'action 17' suspended, next retry is Sun Jan 27 04:14:26 2019 [try http://www.rsyslog.com/e/2007 ]
Jan 27 04:13:56 beaglebone pppd[2122]: Connect time 3.5 minutes.
Jan 27 04:13:57 beaglebone pppd[2122]: Sent 5164 bytes, received 1497 bytes.
Jan 27 04:13:57 beaglebone connmand[814]: ppp0 {RX} 22 packets 1559 bytes
Jan 27 04:13:57 beaglebone connmand[814]: ppp0 {TX} 72 packets 5265 bytes
Jan 27 04:13:57 beaglebone connmand[814]: ppp0 {update} flags 4240 <DOWN>
Jan 27 04:13:57 beaglebone connmand[814]: ppp0 {newlink} index 7 address 00:00:00:00:00:00 mtu 1500
Jan 27 04:13:57 beaglebone connmand[814]: ppp0 {newlink} index 7 operstate 2 <DOWN>
Jan 27 04:13:57 beaglebone connmand[814]: ppp0 {del} address 10.171.13.216/32 label ppp0
Jan 27 04:13:59 beaglebone systemd-timesyncd[657]: Timed out waiting for reply from 84.2.46.19:123 (1.debian.pool.ntp.org).
Jan 27 04:14:03 beaglebone pppd[2122]: Connection terminated.
Jan 27 04:14:03 beaglebone connmand[814]: ppp0 {dellink} index 7 operstate 2 <DOWN>
Jan 27 04:14:03 beaglebone connmand[814]: (null) {RX} 22 packets 1559 bytes
Jan 27 04:14:03 beaglebone connmand[814]: (null) {TX} 72 packets 5265 bytes
Jan 27 04:14:03 beaglebone connmand[814]: (null) {remove} index 7
Jan 27 04:14:03 beaglebone avahi-daemon[848]: Withdrawing workstation service for ppp0.
Jan 27 04:14:04 beaglebone pppd[2122]: Modem hangup

Any ideas why I am seeing this behavior? It is the same between two Nova devices I have.


#3

Which Nova is this?


#4

Also why were you passing in a serial port at all? The hologram script should autodetect it


#5

Cat-M1 & NB-IoT.

That is a good question about the UART specification when starting up…I think somewhere along all of my trials and testing I came across a script that I thought I had to use…

At this point I am strictly using sudo hologram network connect to get up and running. I still get disconnected after a period of inactivity, but I am trying to figure out what that timeout period is so that I can specify a “heartbeat” to keep alive. Based on what I have been reading it sounds like that time value may be dictated by the carrier.


closed #6

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.