[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian secretary wont work with pon.



Hello,





thanks for the help, now xringd is working all right. But i have
problems using it with pon.

My /etc/xringd.conf file:
-a cat /home/filsin/ring.au > /dev/audio
R 1-5 R 10 : pon


It is supposted that when i let the phone line make 2 rings, after 10
sec. pon should be executed by xrind, isnit?
Well it doesnot.




So probably the problem is with pon.


When is xringd working??     You can see:

When doing nothing with pon, xringd works (it play the audio file.)
When putting pon in a terminal, linux stay there, so i must press ctrl-c
to let him show me the prompt again.... [ PROBLEM 1 ]
After that xringd is still working.
Doing pon again will do nothing, but plog said: pppd [185]: tcsetattr:
Invalid argument. Exit (after that xringd is still working)   [ PROBLEM
2 ]
So i must put pon a 3-th time. This time pon works so at this moment im
conected to internet. (line busy, so xringd dont hear any rings...)
Poff. After that xringd doesnt work anymore   :-<   [ PROBLEM 3 ]


I think maybe if i can find what is making the problems 1, 2, and 3,
then xrind will work....





Some email ago, Brian said i should do this:

>There was a discussion on this over
>the last week or two.  In the /etc/ppp/ip-up.d directory create a shell

>script that calls '/etc/init.d/xringd stop > /dev/null' and in the
>/etc/ppp/ip-down.d directory create a shell script that run
>/etc/init.d/xringd start > /dev/null'.  It is necessary to restart the
>xringd deamon so it regains control of the modem, thus the stop and
>start.
>
>Hope that helps,
>
>Brian



so here are my files:

---->/etc/ppp/ip-down.d/xringdown:
/etc/init.d/xring start > /dev/null


---->/etc/ppp/ip-up.d/xringd:
/etc/init.d/xringd stop > /dev/null






==========>      How can i make xringd work with pon ??????????????????



Thanks for the help,

--
                         __________________________________________
                        /                             /
                       /      Phillip  Neumann       /
                      /     filsin@bigfoot.com      /
_____________________/_____________________________/




Reply to: