BUSY/Redial Kinternet/smpppd/wvdial problem
Kinternet is behaving strangely on my machine: Suse Pro 9.0, WvDial 1.42 I have several providers, all ask for the password, the problem occurs with all providers. Whenever I get a busy signal from my ISP, Kinternet tries to redial, but it does not. Here is an excerpt from the the log: SuSE Meta pppd (smpppd-ifcfg), Version 1.06 on erle. Status is: disconnected trying to connect to smpppd connect to smpppd Status is: disconnected Status is: connecting pppd[0]: Plugin passwordfd.so loaded. pppd[0]: --> WvDial: Internet dialer version 1.42 pppd[0]: --> Initializing modem. pppd[0]: --> Sending: ATZ pppd[0]: ATZ pppd[0]: OK pppd[0]: --> Sending: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 pppd[0]: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 pppd[0]: OK pppd[0]: --> Sending: ATM1 pppd[0]: ATM1 pppd[0]: OK pppd[0]: --> Modem initialized. pppd[0]: --> Sending: ATDT12674604014 pppd[0]: --> Waiting for carrier. pppd[0]: ATDT12674604014 pppd[0]: BUSY pppd[0]: --> The line is busy. Trying again. 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. I don't know what causes the problem - Kiternet, wvdial or smpppd. Any idea how to get Kinternet to do the redialing? Best, -andre
The Thursday 2004-08-26 at 16:21 -0400, Andre Nuendel wrote:
pppd[0]: --> Sending: ATM1 pppd[0]: ATM1 pppd[0]: OK pppd[0]: --> Modem initialized. pppd[0]: --> Sending: ATDT12674604014 pppd[0]: --> Waiting for carrier. 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?
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? -- Cheers, Carlos Robinson
On Fri, 27 Aug 2004, Carlos E. R. wrote:
The Thursday 2004-08-26 at 16:21 -0400, Andre Nuendel wrote:
pppd[0]: --> Sending: ATM1 pppd[0]: ATM1 pppd[0]: OK pppd[0]: --> Modem initialized. pppd[0]: --> Sending: ATDT12674604014 pppd[0]: --> Waiting for carrier. 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.
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?
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
2. Kinternet dialing:
Aug 26 20:24:41 erle pppd[12489]: Plugin passwordfd.so loaded.
Aug 26 20:24:41 erle pppd[12489]: pppd 2.4.1 started by root, uid 0
Aug 26 20:24:41 erle pppd[12489]: Removed stale lock on ttyS0 (pid 12456)
!!!
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
participants (2)
-
Andre Nuendel
-
Carlos E. R.