The Thursday 2004-08-26 at 20:50 -0400, Andre Nuendel wrote:
pppd[0]: ATDT12674604014 pppd[0]: BUSY pppd[0]: --> The line is busy. Trying again.
It should hang up first, ie, send 'ath', I think :-? Did you notice if the modem did hang at this point?
The modem hangs up - at least that what I think it does. The busy signal stops and the LED turns off.
Ah, ok.
pppd[0]: --> Sending: ATDT12674604014 pppd[0]: --> Waiting for carrier. pppd[0]: ATDT12674604014
-and then it hangs forever without doing anything.
However, when I su to root and use WvDial by hand (after putting the phone #, username and password into /ect/wvdial.conf) it actually does the redialing.
Strange. Have you compared the output text on both cases?
What do you mean with output text?
The text printed to the terminal by wvdial, the one you pasted to the mail (as shown above), but when you connect being root. Is that output text the same in both cases, or are there differences?
Here is what the /var/log/messages says:
1. dialing by hand (cycles through until it gets a free line):
Aug 26 18:55:06 erle pppd[9551]: Plugin passwordfd.so loaded. Aug 26 18:55:06 erle pppd[9551]: pppd 2.4.1 started by root, uid 0 Aug 26 18:55:06 erle pppd[9551]: Removed stale lock on ttyS0 (pid 9518) Aug 26 18:55:19 erle pppd[9551]: Terminating on signal 15. Aug 26 18:55:22 erle pppd[9551]: Serial connection established. Aug 26 18:55:22 erle pppd[9551]: Using interface ppp0 Aug 26 18:55:22 erle pppd[9551]: Connect: ppp0 <--> /dev/ttyS0
And the log when you dial being a user, is it the same? Perhaps there is a difference. Also, it is possible to increase verbosity of the log. When using wvdial directly, insert this line: PPPD Option= debug
I figure KInternet does not realize that the modem hangs up on the busy signal - it still offers the `Hang-up' option, even though the modem has hung up.
Interesting. I think I have seen the behaviour you describe, but as my line is very seldom busy, I haven't investigated. -- Cheers, Carlos Robinson