ip-up / ip-down fails always when calling pppd

Hello,

i use pppd on a QNX 6.2.1 system on ppc box to establish a GPRS
connection. All works well but i get always errors when ip-up or ip-down
gets called from pppd.


Clipping from console log: (during pppd start)

Script /etc/ppp/ip-up started (pid 888859)
Script /etc/ppp/ip-up finished (pid 888859), status = 0xff00

Script /etc/ppp/ip-down started (pid 897051)
Script /etc/ppp/ip-down finished (pid 897051), status = 0xff00

I already tried scripts as well as binary executables as ip-up/down
files. I was every time able to call these scripts/binaries directly
from command line, but they failed consequently when getting called from
pppd.

Any help.

Are you sure these are errors ?

These are always logged, if you said “debug” on your pppd command line.
I think the status 0xff00 showes this is a normal exit.

-xtang

Simon Kirchmann <kirchman@nospam.de.ibm.com> wrote in message
news:bog3a9$lju$1@inn.qnx.com

Hello,

i use pppd on a QNX 6.2.1 system on ppc box to establish a GPRS
connection. All works well but i get always errors when ip-up or ip-down
gets called from pppd.


Clipping from console log: (during pppd start)

Script /etc/ppp/ip-up started (pid 888859)
Script /etc/ppp/ip-up finished (pid 888859), status = 0xff00

Script /etc/ppp/ip-down started (pid 897051)
Script /etc/ppp/ip-down finished (pid 897051), status = 0xff00

I already tried scripts as well as binary executables as ip-up/down
files. I was every time able to call these scripts/binaries directly
from command line, but they failed consequently when getting called from
pppd.

Any help.

Xiaodan Tang wrote:

Are you sure these are errors ?

These are always logged, if you said “debug” on your pppd command line.
I think the status 0xff00 showes this is a normal exit.

-xtang

Simon Kirchmann <> kirchman@nospam.de.ibm.com> > wrote in message
news:bog3a9$lju$> 1@inn.qnx.com> …

Hello,

i use pppd on a QNX 6.2.1 system on ppc box to establish a GPRS
connection. All works well but i get always errors when ip-up or ip-down
gets called from pppd.


Clipping from console log: (during pppd start)

Script /etc/ppp/ip-up started (pid 888859)
Script /etc/ppp/ip-up finished (pid 888859), status = 0xff00

Script /etc/ppp/ip-down started (pid 897051)
Script /etc/ppp/ip-down finished (pid 897051), status = 0xff00

I already tried scripts as well as binary executables as ip-up/down
files. I was every time able to call these scripts/binaries directly
from command line, but they failed consequently when getting called from
pppd.

Any help.




Yes, i am sure.

I tried to execute a simple “ls”, “echo” and some kind of UDP messaging
in the ip-up script, but none of them seems to be executed and in that
case i got also different return codes like 0x0400.