Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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!!!
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 !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.