PPPD updetach not working?

Hi Thomas,
Could you please have someone respond to this issue?

-Laxman.

Subject: PPPD updetach not working? (was: Now I have more problems with
PPPD)
Date: Thu, 28 Feb 2002 09:34:51 +0100
From: “jerker christopherson” <jerker.christopherson@mecel.se>
Organization: QNX Developers Network (inn.qnx.com)
Newsgroups: qdn.public.qnxrtp.embedded



Hi again all!


Sorry to go on about my PPPD problems but I can’t seem to fix them.
platform: ASPEN SH4 and all that

When running PPPD with the updetach flag set - PPPD is supposed to fork
and
exit the main process
(As far as I can tell anyway).

This does not happen. Looking in the syslog i can find that PPPD is
connected and has acquired a DNS.
The PPPD main process never exits however and since I have a program
waitpiding on PPPD It’s not released until I slay PPPD.

Note: When checking pidin the process names are no longer pppd (as in
previous versions) but pppd.rel.
Also: When trying in a different console - I can ping an IP address but
no
URL. I’m thinking that pppd has not been able to update a config file
somewhere.

I’m running on an embedded system with no other writeable memory than
/dev/shmem.
To work around this I created a resolv.conf file in /dev/shmem. I then
symlinked the resolv.conf to /etc/resolv.conf.
I also mapped /dev/shmem to /var/run which is where pppd will write it’s
pid
(in the file ppp0.pid)

Is there some other thing that can prevent/block the main pppd process
from
exiting on a system level (like the writeable files above)?

Thanx,
Jerker

Laxman Kapaleshwari <laxman@eng.delcoelect.com> wrote:
: Hi Thomas,
: Could you please have someone respond to this issue?

: -Laxman.


I’m not sure that Thomas reads this group. If this is somehow
related to you, please have the reporter post in your group.

\

John

: Subject: PPPD updetach not working? (was: Now I have more problems with
: PPPD)
: Date: Thu, 28 Feb 2002 09:34:51 +0100
: From: “jerker christopherson” <jerker.christopherson@mecel.se>
: Organization: QNX Developers Network (inn.qnx.com)
: Newsgroups: qdn.public.qnxrtp.embedded



: Hi again all!


: Sorry to go on about my PPPD problems but I can’t seem to fix them.
: platform: ASPEN SH4 and all that

: When running PPPD with the updetach flag set - PPPD is supposed to fork
: and
: exit the main process
: (As far as I can tell anyway).

: This does not happen. Looking in the syslog i can find that PPPD is
: connected and has acquired a DNS.
: The PPPD main process never exits however and since I have a program
: waitpiding on PPPD It’s not released until I slay PPPD.

: Note: When checking pidin the process names are no longer pppd (as in
: previous versions) but pppd.rel.
: Also: When trying in a different console - I can ping an IP address but
: no
: URL. I’m thinking that pppd has not been able to update a config file
: somewhere.

: I’m running on an embedded system with no other writeable memory than
: /dev/shmem.
: To work around this I created a resolv.conf file in /dev/shmem. I then
: symlinked the resolv.conf to /etc/resolv.conf.
: I also mapped /dev/shmem to /var/run which is where pppd will write it’s
: pid
: (in the file ppp0.pid)

: Is there some other thing that can prevent/block the main pppd process
: from
: exiting on a system level (like the writeable files above)?

: Thanx,
: Jerker


John Wall
QSSL
Custom Engineering Group (R&D)