Establish a PPP connection on boot
Solution 1
Found an issue with the ppp/peers/provider file
Removing updetach
from the provider file fixed it.
updetach With this option, pppd will detach from its controlling terminal once it has successfully established the ppp connection (to the point where the first network control protocol, usually the IP control protocol, has come up).
Can anyone explain why this fixed my problem :)? Solved it but not 100% sure why this worked.
Solution 2
Edit the /etc/network/interfaces
file, and add:
auto tunnel
iface tunnel inet ppp
provider verizon
Helpful read: http://pptpclient.sourceforge.net/howto-debian.phtml
Related videos on Youtube
matt99eo
Updated on September 18, 2022Comments
-
matt99eo almost 2 years
Trying to automate making a ppp connection on boot. I have a cell modem (skywire LE910 SVG) that I have working manually using pon. My ppp/peers/isp is configured and the corresponding chatscript is working. After my device boots (beaglebone black running 3.8.13 Debian wheezy) I can run pon verizon (name of isp) and then see my established ppp0 via ifconfig.
How do I make this happen on boot?
-
matt99eo over 8 yearsMore perplexing is that fact that
pon verizon
orpppd call verizon
works fine yet if put this command in a simple bash script#!/bin/bash pppd call verizon
try to establish connection disconnects at the end of execution andppp0
is never listed as a connection when Iifconfig
-
-
Jan over 8 yearsIf you're unsure if
ppp
is what you actually want, then why did you writeTrying to automate making a ppp connection on boot
?