LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Internet logon/wvdial (https://www.linuxquestions.org/questions/linux-software-2/internet-logon-wvdial-102611/)

Recirqie 10-10-2003 07:42 PM

Internet logon/wvdial
 
I have a Nokia PhoneCard 2.0 which is found and attached to ttyS17 by the system. however, when I try to run wvdial it won't log on. I have verified ID and password to be OK.

According to the ISP I should specify v110 to get 43.2k, but sticking with analog and 9600 I can't get through, see below. The wvdial.conf has two commands that I cannot find elsewhere:
ISDN and +FCLASS?

wvdial.conf:

[Modem0]
Modem = /dev/ttyS17
Baud = 57600
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = NOFLOW


[Dialer Defaults]
Modem = /dev/modem
Baud = 43200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT +CPIN = "xxxx"
ISDN = 0
Modem Type = Analog Modem
Phone = 91500920
Username = xxxxxx
Password = xxxxxx


From terminal window:

[root@localhost root]# wvdial
--> WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT +CPIN = "xxxx"
AT +CPIN = "xxxx"
OK
--> Modem initialized.
--> Sending: ATDT91500920
--> Waiting for carrier.
ATDT91500920
OK
--> Timed out while dialing. Trying again.
--> Sending: ATDT91500920
--> Waiting for carrier.
ATDT91500920
CARRIER
CONNECT 9600
--> Carrier detected. Waiting for prompt.
User Access Verification
Username:
--> Looks like a login prompt.
--> Sending: (my username)
User Access Verification
Username: (my username)
Password:
--> Looks like a password prompt.
--> Sending: (password)
User Access Verification
Username:
--> Looks like a login prompt.
--> Sending: (my_username here in the original file)
my_username
Password:
--> Looks like a password prompt.
--> Sending: (password)
User Access Verification
Username:
--> Looks like a login prompt.
--> Sending: (my username)
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Fri Oct 10 14:43:27 2003
--> pid of pppd: 9539
--> Disconnecting at Fri Oct 10 14:43:58 2003
--> The PPP daemon has died: PPP negotiation failed (exit code = 10)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 10)
[root@localhost root]#



Any ideas?

jailbait 10-11-2003 03:25 PM

Looking at your wvdial log, the sequence is what you get when you try to log on with an invalid password and/or logon id. The problem may be more subtle in that you have the correct logon ID and password but are transmitting them at a different speed than the ISP modem expects to receive.

If your modem and the ISP modem both have auto speed detect then use that. If not then you need to have a more detailed discussion with your ISP human as to exactly what speed your modem and the ISP modem should agree on.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

lachlan 10-12-2003 04:38 AM

Have a look at /etc/ppp/pap-secrets,your user name and password should be there.

Lachlan

Recirqie 10-12-2003 04:06 PM

The speed issue is probably the answer. The ISP expects to see ISDN v110 at 43.2k. And that I suppose is where the two mysterious commands come in, particularly the ISDN = 0. That should be something else, but what? Without the description of the command I'm pretty much stuck.

jailbait 10-12-2003 05:10 PM

"The ISP expects to see ISDN v110 at 43.2k."

Installing ISDN is more complicated than flipping ISDN=0 to ISDN=1 and I have never installed ISDN. Here is some SuSE help on installing ISDN:

http://www.busim.ee.boun.edu.tr/doc/...db_e/isdn.html

http://portal.suse.com/sdb/en/2002/0..._ta_yast2.html

You would probably be best off to search the Red Hat support site to find out how to install ISDN on Red Hat.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites


All times are GMT -5. The time now is 12:20 PM.