OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: zeigerpuppy on April 18, 2007, 08:02:34 pm

Title: Starting Ppp From Command Line
Post by: zeigerpuppy on April 18, 2007, 08:02:34 pm
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  
Title: Starting Ppp From Command Line
Post by: daniel3000 on April 19, 2007, 04:52:22 am
Quote
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 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159249\"][{POST_SNAPBACK}][/a][/div]

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