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
Ha Ha!(triumphant)
I think I’ve found it.
from the syslogd I get the following message:
Jan 01 00:51:26 nto pppd[32782-1]: open(/dev/socket/config): No such file or
directory
Looking in the /dev/socket map - there is indeed no config file.
Also checking in the cvs repository development branch for PPPD I can see
that
if this file write failes - pppd will not detach from console.
The strange thing is that it does not exit with an error code!!?!
cya,
Jerker
“jerker christopherson” <jerker.christopherson@mecel.se> wrote in message
news:a5kpfg$en9$1@inn.qnx.com…
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
I Think I spoke too soon.
the /dev/socket/config does not seem to affect weather the main pppd process
forks or not.
sorry about that.
Running the tiny stack I don’t seem to get the /dev/socket/config. I assume
that it’s still alright.
does anyone have an explanation to why the process are now named pppd.rel
rather than pppd?
“jerker christopherson” <jerker.christopherson@mecel.se> wrote in message
news:a5l56n$mpb$1@inn.qnx.com…
Ha Ha!(triumphant)
I think I’ve found it.
from the syslogd I get the following message:
Jan 01 00:51:26 nto pppd[32782-1]: open(/dev/socket/config): No such file
or
directory
Looking in the /dev/socket map - there is indeed no config file.
Also checking in the cvs repository development branch for PPPD I can see
that
if this file write failes - pppd will not detach from console.
The strange thing is that it does not exit with an error code!!?!
cya,
Jerker
“jerker christopherson” <> jerker.christopherson@mecel.se> > wrote in message
news:a5kpfg$en9$> 1@inn.qnx.com> …
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
\