I am using a Skywire LE910-SVG cellular modem with a BBB.
I have writting chatscripts and PPP/peers provider scripts that are working well. If I let the BBB boot up normaly I can ssh to the device and ‘pon verizon’ to establish a ppp connection manully. Everything works great.
The issue I am trying to resolve is automating this on boot. What is the best way to do this?
Tried adding it to /etc/network/interfaces with:
iface verizon inet ppp0
Does not seam to do anything.
Any solutions out there?
Another not here is that when if I simply put the pon verizon command in a shell script:
and execute the script see everthing connect but I it immediately terminates the connection as I can see in /var/messages after it gets its IP with a Hangup (SIGHUP)
pppd: PAP authentication succeeded
pppd: Could not determine remote IP address: defaulting to 10.64.64.64
pppd: local IP address 18.104.22.168
pppd: remote IP address 10.64.64.64
pppd: primary DNS address 22.214.171.124
pppd: secondary DNS address 126.96.36.199
pppd: Hangup (SIGHUP)
pppd: Modem hangup
pppd: Connect time 0.0 minutes.
pppd: Sent 0 bytes, received 0 bytes.
pppd: Connection terminated.