Help - Search - Members - Calendar
Full Version: Starting Ppp From Command Line
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
zeigerpuppy
I have a query regarding using suspend/resume mechanism in pdaXrom.

How do I start a ppp connection from the command line instead of using the ppp dailer?
I am wanting the zaurus to connect automatically via my mobile phone when it resumes.

I now it's going to be a bit of a battery hog but it seems that I always connect when resuming anyway blink.gif
daniel3000
QUOTE(zeigerpuppy @ Apr 19 2007, 02:02 AM)
I have a query regarding using suspend/resume mechanism in pdaXrom.

How do I start a ppp connection from the command line instead of using the ppp dailer?
I am wanting the zaurus to connect automatically via my mobile phone when it resumes.

I now it's going to be a bit of a battery hog but it seems that I always connect when resuming anyway  blink.gif
*


you need to put the required commands into a script in the script directory
/etc/apm/scripts.d
Use /etc/apm/scripts.d/template as a template)

and then link that script into the directory
/etc/apm/resume.d
with a number as the prefix, which determines the order in which the lined scripts in resume.d are executed.
(Just like the rc scripts in /etc/rc.d/...)


daniel
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.