Hi,
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:
auto verizon
iface verizon inet ppp0
provider verizon
Does not seam to do anything.
Any solutions out there?
Kind Regards,
Matt
Another not here is that when if I simply put the pon verizon command in a shell script:
#!/bin/bash
pon verizon
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[1846]: PAP authentication succeeded
pppd[1846]: Could not determine remote IP address: defaulting to 10.64.64.64
pppd[1846]: local IP address 166.154.48.36
pppd[1846]: remote IP address 10.64.64.64
pppd[1846]: primary DNS address 198.224.173.135
pppd[1846]: secondary DNS address 198.224.174.135
pppd[1860]: Hangup (SIGHUP)
pppd[1860]: Modem hangup
pppd[1860]: Connect time 0.0 minutes.
pppd[1860]: Sent 0 bytes, received 0 bytes.
pppd[1860]: Connection terminated.