[Comm] kppp callback
Timur Batyrshin
=?iso-8859-1?q?batyrshin_=CE=C1_ieml=2Eru?=
Ср Окт 3 09:37:28 MSD 2007
Timur Batyrshin (Wed, 3 Oct 2007 09:33:04 +0400):
> > Если нужно передавать номер по cbcp - хуже.
> > https://bugzilla.altlinux.org/show_bug.cgi?id=11110
>
> Вот в логах -- те же сообщения, что в самом первом комментарии к этой
> баге вылезает -- относящиеся к tcgetattr и tcsetattr.
Хотя, не совсем. Вот логи:
[timur на localhost ppp]$ kppp
Opener: received SetSecret
Opener: received OpenLock
Opener: received OpenDevice
Opener: received ExecPPPDaemon
In parent: pppd pid 7925
Couldn't find interface ppp0: Нет такого устройства
Kernel supports ppp alright.
It was pppd that died
pppd exited with return value 1
Sending 7870 a SIGUSR1
Opener: received RemoveSecret
Opener: received RemoveSecret
Opener: received OpenResolv
Opener: received OpenResolv
Opener: received RemoveLock
Opener: received PPPDExitStatus
А это в /var/log/messages :
Oct 2 00:01:49 localhost pppd[7925]: pppd 2.4.4 started by timur, uid
500 Oct 2 00:01:49 localhost pppd[7925]: Using interface ppp0
Oct 2 00:01:49 localhost pppd[7925]: Connect: ppp0 <--> /dev/ttyS0
Oct 2 00:01:50 localhost pppd[7925]: PAP authentication succeeded
Oct 2 00:01:50 localhost pppd[7925]: Connection terminated.
Oct 2 00:01:50 localhost pppd[7925]: tcflush failed: Bad file
descriptor Oct 2 00:01:50 localhost pppd[7925]: Callback with
</etc/ppp/callback-client 0> Oct 2 00:01:50 localhost pppd[7925]:
tcgetattr: Bad file descriptor (line 947) Oct 2 00:01:50 localhost
pppd[7925]: Exit.
Как уже, говорил, /etc/ppp/callback-client реально не вызывается --
проверял добавив в самое его начало строчку:
echo "123" >> /tmp/callback-test
и убедившись в отсутствии этого файла после выполнения kppp
Подробная информация о списке рассылки community