I have the ppp and network-manager packages installed on my Debian-based BeagleBone and I'm trying to reliably connect it to a GPRS modem over serial.
I'm using an Adafruit FONA which works like a charm with the recommended configuration script using pon fona and poff fona. This creates a ppp0 device once a network connection is granted.
Now I want NetworkManager to be able to connect and disconnect my FONA without me needing to manually turn on the device with pon fona (which can fail).
I'm just using the terminal for NetworkManager with nmcli. Before you ask, I have not added ppp0 to /etc/network/interfaces.
I was originally using ConnMan but since the documentation was so poor I abandoned trying to get it to work.
This is what I have at the minute when I run nmcli device status:
DEVICE TYPE STATE CONNECTION
wlan0 wifi connected MyHomeWiFi
eth0 ethernet unavailable --
usb0 ethernet unmanaged --
lo loopback unmanaged --
Obviously there's no ppp0 in here. As I mentioned, if I manually run pppd with pon fona then it'll appear. The type is unknown though and I would have expected something like
DEVICE TYPE STATE CONNECTION
ppp0 unknown connected ppp0
wlan0 wifi connected MyHomeWiFi
eth0 ethernet unavailable --
usb0 ethernet unmanaged --
lo loopback unmanaged --
How do I get it to play nicely?