Pat,
I have one more issue concerning ppp. I started with a fresh linux build, same as I was using before, but now I am getting an error when running the hologram network connect
command…
root@beaglebone:~# hologram network connect
No handlers could be found for logger "pyroute2.netlink.rtnl.tcmsg.common"
Exception in thread Thread-1:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 801, in __bootstrap_inner
self.run()
File “/usr/lib/python2.7/threading.py”, line 754, in run
self.__target(*self.__args, **self.__kwargs)
File “/usr/lib/python2.7/site-packages/Hologram/Network/Modem/ModemMode/pppd.py”, line 111, in connectThreadedFunc
raise PPPConnectionError(self.proc.returncode, self.output)
PPPConnectionError: (4, “Couldn’t open the /dev/ppp device: No such file or directory\n/usr/sbin/pppd: You need to create the /dev/ppp device node by\nexecuting the following command as root:\n\tmknod /dev/ppp c 108 0\n\n”)
So I ran this:
root@beaglebone:~# mknod /dev/ppp c 108 0
root@beaglebone:~# hologram network connect
No handlers could be found for logger "pyroute2.netlink.rtnl.tcmsg.common"
Exception in thread Thread-1:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 801, in __bootstrap_inner
self.run()
File “/usr/lib/python2.7/threading.py”, line 754, in run
self.__target(*self.__args, **self.__kwargs)
File “/usr/lib/python2.7/site-packages/Hologram/Network/Modem/ModemMode/pppd.py”, line 111, in connectThreadedFunc
raise PPPConnectionError(self.proc.returncode, self.output)
PPPConnectionError: (4, “Couldn’t open the /dev/ppp device: No such device or address\n/usr/sbin/pppd: Please load the ppp_generic kernel module.\n\n”)
So, I am not sure what it means by load the ppp_generic module…
Here are some other outputs you may be interested in:
root@beaglebone:~# lsmod | grep ppp
root@beaglebone:~# dpkg -l | grep ppp
ii ppp 2.4.7-r0 armhf Point-to-Point Protocol (PPP) support
root@beaglebone:~# pppd --help
pppd version 2.4.7
Usage: pppd [ options ], where options are:
Communicate over the named device
Set the baud rate to
: Set the local and/or remote interface IP
addresses. Either one may be omitted.
asyncmap Set the desired async map to hex
auth Require authentication from peer
connect
Invoke shell command
to set up the serial line
crtscts Use hardware RTS/CTS flow control
defaultroute Add default route through interface
file Take options from file
modem Use modem control lines
mru Set MRU value to for negotiation
See pppd(8) for more options.
So, the modem works when sending data to the cloud/sms, etc. but I can’t establish a ppp link, any insight?
Regards,