dialup problem

I have a toshiba satellite 2410 running openSuse 11.
I’m having problems with using integrated fax/data modem to establish a dialup connection. I know that the hardware is working well as this is a dual boot system with windowsXP and opensuse 11. dialup and sending faxes are working well under windows.

The issue is that I am not able to connect to my dialup host using kInternet. When kInternet is run, I can hear the dial tone and then modem handshaking tones. but ultimately the call disconnects. But when KInternet tries to dial again, I hear the dialtone and then a long continuous beep followed by repeated clicking noice that sounds like the modem repetitively connecting and disconnecting from the phone line until I tell Kinternet to hangup.

Any help is appreciated.

The following is a listing of the lspci command.

lspci

…<snipped>
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC’97 Audio Controller (rev 02)
00:1f.6 Modem: Intel Corporation 82801CA/CAM AC’97 Modem Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 420 Go] (rev a3)
…<snipped>

-In the kInternet configuration file /etc/sysconfig/network/ifcfg-modem0 is shown below:

BOOTPROTO=‘none’
DIALCOMMAND=‘ATDT’
DIALPREFIX=’*70,’
DIALPREFIXREGEX=’’
INIT1=’’
INIT2=’’
INIT3=’’
INIT8=‘ATM1’
INIT9=’’
MODEM_DEVICE=’/dev/ttySL0’
NAME=‘82801CA/CAM AC97 Modem Controller’
PPPD_OPTIONS=’’
PROVIDER=‘provider0’
SPEED=‘57600’
STARTMODE=‘manual’
UDI=’’
USERCONTROL=‘yes’

-Maybe useful info.

ls -l /dev/ttySL0

lrwxrwxrwx 1 root root 10 2008-11-26 07:36 /dev/ttySL0 -> /dev/pts/4

ls -l /dev/pts/*

crw–w---- 1 wt tty 136, 0 2008-11-26 14:12 /dev/pts/0
crw–w---- 1 root tty 136, 2 2008-11-26 07:36 /dev/pts/2
crw-rw---- 1 root uucp 136, 4 2008-11-26 13:59 /dev/pts/4

-Here’s the kInternet log when dialing was initiated.

SuSE Meta pppd (smpppd-ifcfg), Version 1.59_SVN16 on wt-maui.
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.60
pppd[0]: → Initializing modem.
pppd[0]: → Sending: ATM1
pppd[0]: ATM1
pppd[0]: OK
pppd[0]: → Modem initialized.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: ATDT
70,9999999999
pppd[0]: NO CARRIER
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: ATDT
70,9999999999
pppd[0]: → Timed out while dialing. Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
Status is: disconnecting
pppd[0]: Caught signal 15: Attempting to exit gracefully…
pppd[0]: → Disconnecting at Wed Nov 26 14:23:01 2008
pppd[0]: Connect script failed
Status is: disconnected
pppd[0] died: Connect script failed (exit code 8)

First off, I would double check your ISP’s phone number, and also your username and password.

Just off the top of my head, it sounds to me like you are dialing the wrong number.

From what I can see, you are dialing the number OK, but the other end is not “picking up” for some reason.

Also, it’s possible you may need different Init strings to connect to your ISP, though usually the default ones will usually work, at least in the US. If you are in a different country than the US, they MAY require other strings to connect, but this is just a shot in the dark.

I just looked at your Init strings and they look as though they got messed with somehow. Did you change them yourself for some reason?

When kInternet is run, I can hear the dial tone and then modem handshaking tones. but ultimately the call disconnects.

Hard to tell how far through the connection process you’re getting. I would check the dialled number first (via normal phone) to make sure a dialup server is actually answering.

One other thought I’ve had. When configuring via yast modem tool, you can set some connection parameters. Did you enable ‘Ignore Prompts’? This can be useful if the dialup server is slow or does not give any prompting.

I checked my dialup number and it is a modem that I contacted. When I’m dailing out using the KInternet, I can hear the dialtone, then the modem tones dealing with handshaking. After a while of that, it disconnects (I don’t know who initiated it though).

Regarding the init strings. I dont believe, I’ve modified it because this was configured a while back. If you could tell me what looked out of place, perhaps you could let me know.

Here are my init strings as displayed in the YAST Modem “wizard”:

http://img03.picoodle.com/img/img03/3/11/27/f_snapshot7m_75a3beb.jpg

Keep in mind though, that I’m using a broadband modem, so my baud rate may not be the same. But I believe that the init same strings are used regardless of whether it’s dial-up or a CDMA modem like mine (someone correct me if I’m wrong).

What I would do, if you have not done so already is go to YAST and install Kinternet. Make sure smpppd is enabled under YAST / System / Services, then run the modem “wizard” in YAST / Network Devices / Modems. Enter your password and stuff there, and then try connecting with Kinternet.

Kinterent should set up your init strings for you automatically when you run the modem wizard. When you start the program it appears in the lower right task bar.

If you are already using Kinternet or some other program, delete whatever setup you have when the wizard starts and rerun the wizard.

HTH.

I removed my configurations in Yast>modem and uninstalled smpppd and KInternet. (had to do this as something strange was going on when I modified something–starting KInternet was complain that smpppd was not loaded and I actually had to su root to load it manually)

Configured Yast>modem again. As this would automatically require me to install smpppd and KInternet.

Having done that. The new configuration for my setup in /etc/sysconfig/network/ifcfg-modem0 is shown below. When I initiated the dailing using KInternet, I head dail tone, a bit of modem handshaking, a very long beep, and then a disconnection. Following by what sound like a repetitive connect and disconnect from the phone line. You can see a repeat sequence in the log file.

BOOTPROTO=‘none’
DIALCOMMAND=‘ATDT’
DIALPREFIX=’*70,’
DIALPREFIXREGEX=’’
INIT1=‘ATZ’
INIT2=‘AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0’
INIT3=’’
INIT8=‘ATM1’
INIT9=’’
MODEM_DEVICE=’/dev/ttySL0’
NAME=‘Modem’
PPPD_OPTIONS=’’
PROVIDER=‘provider0’
SPEED=‘57600’
STARTMODE=‘manual’
UDI=’’
USERCONTROL=‘yes’

-the log from KInternet is shown below.

SuSE Meta pppd (smpppd-ifcfg), Version 1.59_SVN16 on wt-maui.
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.60
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: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: ATDT
70,9999999999
pppd[0]: → Timed out while dialing. Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
pppd[0]: → Sending: ATDT70,9999999999
pppd[0]: → Waiting for carrier.
pppd[0]: NO CARRIER
pppd[0]: ATDT
70,9999999999
pppd[0]: → No Carrier! Trying again.
Status is: disconnecting
pppd[0]: Caught signal 15: Attempting to exit gracefully…
pppd[0]: → Disconnecting at Thu Nov 27 19:20:00 2008
pppd[0]: Connect script failed
Status is: disconnected
pppd[0] died: Connect script failed (exit code 8)

You say you hear a dial tone, but do you hear the number being dialed? If not, that’s your problem.

I forgot to write that. I do hear the modem dialing out and connecting with the remote phone.

OK, so you have a dial tone, the modem dials out the correct number (please double check the number and make sure it’s the correct one for your ISP) and waits for the other end to pick up, but nothing happens.

This seem to be whats happening when you get the “no carrier” message.

So the question, as I see it is, why is your ISP not responding? To me this sounds like either a wrong number or the wrong init strings.

I don’t think it’s a bad username or password, because you have not even gotten to that step yet, and you’d get an error message indicating this if it did happen.

BTW I hope you did not just copy my init strings from the picture I posted, because I notice they are the same. When you run the modem wizard, it should generate the correct string automatically.

Also, what country are you in?

And is your ISP provider listed when you run the modem wizard or are you using custom settings? There are some setting you can play around with like “stupid mode”. You might try turning that on and seeing if it helps. Some people have had success with that.

Also, if you go to the terminal and enter man pppd you’ll get the manual for pppd and there is a ton of info about different options you can use to configure a dial up connection. Take a look at that.

Just to reiterate. Hardware-wise, all is working well. As this is a dual-boot system with WindowsXP and openSuse, dialup connection to the remote host is working well. This would imply that the hardware right up to the remote host is operating properly (which includes the modem connection to remote host).

I did re-check the phone number I used to reach the remote system and it is correct. It is the correct number and the other end is a modem responding.

Regarding the configuration information for kInternet. It was those generated by default when I configured KInternet by using standard default values.

I would like to forward you an audio recording of what I hear during the modem handshaking. Perhaps I could forward the audiofile to you for some insight. Would you be able to tell me how I can transfer it to you?

Thanks

Hi buzlite

For diagnostic purposes, try connecting via wvdial utility. It offers better configuration with problematic connections, modems etc.

Open a console, and su to root. Then do

wvconf

If all is well, it should detect your modem and write a configuration file called ‘/etc/wvdial.conf’. You can edit this as required. Adjust the phone number, set stupid mode, and disable carrier check if necessary. The wvdial.conf options are listed here.

Now you should be able to dial out with

wvdial

Check this guide out to get further info. Hope this helps.

Sorry, that should have been

wvdialconf