Closed obluda closed 4 years ago
Sorry about that. Related part of the trace was elsewhere:
[pid 746] openat(AT_FDCWD, "/dev/ppp", O_RDWR|O_NONBLOCK) = 8 [pid 746] fcntl(8, F_GETFL) = 0x8802 (flags O_RDWR|O_NONBLOCK|O_LARGEFILE) [pid 746] fcntl(8, F_SETFL, O_RDWR|O_LARGEFILE) = 0 [pid 746] ioctl(8, TIOCMBIS, [TIOCM_DTR]) = -1 ENOTTY (Inappropriate ioctl for device) [pid 746] ioctl(8, TCGETS, 0x7fff80622830) = -1 ENOTTY (Inappropriate ioctl for device) [pid 746] getpid() = 746 [pid 746] sendto(3, "<27>Feb 10 21:22:15 pppd[746]: t"..., 83, MSG_NOSIGNAL, NULL, 0) = 83 [pid 746] write(1, "tcgetattr: Inappropriate ioctl f"..., 52) = 52 [pid 746] write(1, "\n", 1) = 1 [pid 746] ioctl(8, TIOCMBIC, [TIOCM_DTR]) = -1 ENOTTY (Inappropriate ioctl for device) [pid 746] nanosleep({tv_sec=1, tv_nsec=0}, <unfinished ...> [pid 734] <... select resumed> ) = 1 (in [5], left {tv_sec=0, tv_usec=844026}) [pid 734] read(5, "tcgetattr: Inappropriate ioctl f"..., 4096) = 54 [pid 734] read(5, 0x5652f1370324, 4096) = -1 EAGAIN (Resource temporarily unavailable) [pid 734] gettimeofday({tv_sec=1518297735, tv_usec=53508}, NULL) = 0 [pid 734] select(6, [3 4 5], NULL, NULL, {tv_sec=0, tv_usec=842904}
You have the word "ppp" in /etc/ppp/options.l2tpd. That makes pppd think you want to use /dev/ppp as the serial device, and that doesn't work. You actually mean to use /dev/pts/1. Take out the "ppp" word from /etc/ppp/options.l2tpd.
Closing as user error.
pppd and xl2tpd running under qemu. kernel 4.14.17-1. i don't know if it belongs to pppd or xl2tpd bug list.
content of /etc/ppp/options.l2tpd::
here are xl2tpd logs::
Thanks, Regards,