Hello,
..maybe someone can help me with a strange problem I'm
experiencing with pppd 2.3.5 under Linux 2.2.5:
(same problem with pppd 2.2.x)
When called, pppd complains via syslog that it can't find out
about its interface and then terminates:
paradis pppd[869]: ioctl(PPPIOCGUNIT): Operation not permitted(1)
This results from the following code in .../pppd/sys-linux.c, function
establish_ppp:
/*
* Find out which interface we were given.
*/
if (ioctl(ppp_fd, PPPIOCGUNIT, &x) < 0)
{
if ( ! ok_error (errno))
{
syslog(LOG_ERR, "ioctl(PPPIOCGUNIT): %m(%d)", errno);
die(1);
}
}
The problem occurs only on my Linux 2.2.5 machine and is not
dependant on configuration, i.e. you can call pppd with no options
and an empty /etc/ppp/options file and still get this behaviour.
Ipppd runs fine on the same machine.
Could it be that kernel support for normal ppp and ISDN-syncppp
interfere when both are built as modules?
Thank you for any hint,
--Andreas