LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-02-2006, 04:52 PM   #1
jawq
LQ Newbie
 
Registered: Jun 2005
Location: U.S./Mississippi/
Distribution: Linux Mint 11
Posts: 17

Rep: Reputation: 0
Question Dial-Up Connection Authentication Problem


I've just recently installed FC5 to an older Dell (Pentium 3) and am having dial-up connection problems. First, I configured the kppp dialer and got my external modem recognized on ttyS0. It dialed up OK but then disconnected. It gave code 19 (failed to authenticate to the peer) as the problem. Thinking my user name, password or telephone nr. might be the problem, I edited the /etc/wvdial.conf file and used wvdial to connect at the terminal. Here is the response that I got:

[root@localhost jawq1]# wvdial
--> WvDial: Internet dialer version 1.54.0
--> 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
--> Modem initialized.
--> Sending: ATDT601 783-0030
--> Waiting for carrier.
ATDT601 783-0030
CONNECT 115200
--> Carrier detected. Waiting for prompt.
Level 3 Comm nas10.2la1 UQKT2
Username:/login:/Login:
--> Looks like a login prompt.
--> Sending: jawq09
jawq09
Password:
--> Looks like a password prompt.
--> Sending: (password)
Request Denied
Username:/login:/Login:
--> Looks like a login prompt.
--> Sending: jawq09
jawq09
Password:
--> Looks like a password prompt.
--> Sending: (password)
Request Denied
Username:/login:/Login:
--> Looks like a login prompt.
--> Sending: jawq09
jawq09
Password:
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Tue Aug 1 15:40:30 2006
--> pid of pppd: 2708
--> Using interface ppp0
--> pppd: Type
--> pppd: Type
--> pppd: Type
--> pppd: Type
--> pppd: Type
--> Disconnecting at Tue Aug 1 15:40:34 2006
--> The PPP daemon has died: Authentication error.
--> We failed to authenticate ourselves to the peer.
--> Maybe bad account or password? (exit code = 19)
--> man pppd explains pppd error codes in more detail.

So it looks to me as if I am reaching the ISP but being rejected. Can anyone give me some help? I really don't know what to do next.

-

Last edited by jawq; 08-02-2006 at 04:53 PM.
 
Old 08-02-2006, 10:18 PM   #2
alb1954
Member
 
Registered: Feb 2003
Location: Pittsboro, North Carolina
Distribution: Ubuntu,DSL
Posts: 95

Rep: Reputation: 15
Try pppconfig
 
Old 08-03-2006, 04:00 AM   #3
lazyFoot_theMighty
LQ Newbie
 
Registered: Jul 2006
Location: Canberra Australia
Posts: 28

Rep: Reputation: 16
maybe try going to /etc/ppp/config and if there is a line that says auth, comment it out with a #.
 
Old 08-03-2006, 06:49 AM   #4
jawq
LQ Newbie
 
Registered: Jun 2005
Location: U.S./Mississippi/
Distribution: Linux Mint 11
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you, alb1954 and lazyFoot_theMighty for responding. I tried using the 'pppconfig' command and got the 'no such file or directory' thing. I also tried using 'vi /etc/ppp/config'. That just brought up a 'New File'. The 'man pppd' pages didn't give me anything that I thought might help. I have several books on Linux, including Sams Red Hat Fedora 5 Unleashed that I use as references but they aren't helping me here. I also called the ISP and checked that the phone number, user ID and password were good. The TechSupp person told me that they supported Suse and Linspire but didn't support Red Hat Linux. Just what was that supposed to mean? When you configure your system and get as far as connecting to the ISP, don't all Linux distros work the same as far as authenticating? Sorry. If I'm doing something wrong here, you may have to "hold my hand and walk me through it". Thanks again for your response.
 
Old 08-05-2006, 11:29 PM   #5
alb1954
Member
 
Registered: Feb 2003
Location: Pittsboro, North Carolina
Distribution: Ubuntu,DSL
Posts: 95

Rep: Reputation: 15
What ISP are you using? Some won't work with Linux as they use their own software as part of the process. I used Fedora 2 and didn't have a problem connecting with my external modem and I believe I used the Network Connection GUI to configure and connect but that was with the gnome window manager. I have had nothing but trouble with kpp. You are using the kde window manager? Don't give up!!!
 
Old 08-06-2006, 06:38 AM   #6
sidesec
LQ Newbie
 
Registered: May 2005
Distribution: suse 9.1 Pro
Posts: 29

Rep: Reputation: 15
Not familiar with FC5, so "pap-secrets" may be in some other directory. Before you proceed, you may want to make copies of the original /etc/ppp/pap-secrets and /etc/wvdial.conf files using different names, just in case.


The isp's servers may be configured to handle "authentication" in a certain way. Two things you can try are:

1.) Open the /etc/ppp/pap-secrets file, and at the end of the file on an empty line (create a new line if necessary) enter the following (using your own name, isp, and password of course - and note the "space * space" between the address and password):

yourname@isp.whatever * yourisppassword



2.) Open the /etc/wvdial.conf file and check to see if the following line is present/completed. If not, then enter/complete it (you can use a new line at the bottom of the file - inserting a line may also work - note the spaces) . It prevents "connection loops" from occurring:

Stupid mode = 1



Not sure if a re-boot is required. Hope these help to solve the problem. Good luck !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dial-up connection problem,dialing but not connecting libbyz Debian 3 11-22-2005 07:49 PM
PROBLEM with Dial UP Connection matteom Linux - General 1 09-01-2004 12:05 PM
[OpenBSD 3.5] PPP Dial-up connection problem noir911 *BSD 0 07-28-2004 12:01 AM
Problem with dial-up connection under Linux DarkLight Linux - Networking 12 07-25-2004 07:01 PM
dial up connection problem jdevanand Linux - Networking 0 03-06-2002 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration