LinuxQuestions.org
Visit Jeremy's Blog.
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 05-19-2005, 03:14 AM   #1
raypuddy
LQ Newbie
 
Registered: May 2005
Location: Napier New Zealand
Distribution: Xandros
Posts: 6

Rep: Reputation: 0
Unhappy dialup authentication failure


I am unable to connect to the ISP that has "@" in the user name. I have another ISP that I can use but wish to be able to use the dud one.

My User name is "raypuddy@netsurf.co.nz" (yes - the username is the full email address) with a password but I always get the error message "connection failure". The modem does all the dialing etc and the phone is connected but there seams to be an authentication problem. I have checked the username / password and this is all OK. I can connect to this ISP using windows XP but not with Linux.
I have tried using another computer with the Xandros linux operating system and the result is the same - connection failure.

The dialup log is below
----- Connection Start -----
> /bin/true
> /usr/sbin/pppd call ppp0
May 19 19:47:33 ray pppd[5139]: pppd 2.4.2 started by root, uid 0
May 19 19:47:33 ray pppd[5139]: Removed stale lock on tts_Winmodem0 (pid 4543)
May 19 19:47:33 ray pppd[5139]: Connect: ppp0 <--> /dev/tts/Winmodem0
May 19 19:47:33 ray pppd[5139]: Using interface ppp0
> /bin/true

I would appreciate any help you can give me.
 
Old 05-19-2005, 04:04 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Setup ppp to log the connection. A common problem is that ppp requires the peer to authorise itself to the connecting host which it will not do and this is prevented by using the "noauth" switch in ppp configuration. If you can get a log of what is happening it would be easier to solve the problem.
 
Old 05-20-2005, 02:53 AM   #3
raypuddy
LQ Newbie
 
Registered: May 2005
Location: Napier New Zealand
Distribution: Xandros
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for your suggestion but... How do I Setup ppp to log the connection ???
 
Old 05-20-2005, 03:51 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Firstly check /var/log/messages or /var/log/ppp.log. If you are checking messages then look for lines relating to ppp.
 
Old 05-21-2005, 02:08 AM   #5
raypuddy
LQ Newbie
 
Registered: May 2005
Location: Napier New Zealand
Distribution: Xandros
Posts: 6

Original Poster
Rep: Reputation: 0
I can find two files as follows

/var/log/ppp.info
/var/log/ppp.notice

both of these files are marked permission "inacessible" and I am unable to copy them or open and read them with Text Editor ??? I have administrator access but where to I invoke it to allow me to look at the files ?

There are other file names but they all show 0 data size.

Regards
 
Old 05-21-2005, 02:27 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You need to be root. Do su then give the root password. Then do cat /var/log/ppp.info | more

Last edited by TigerOC; 05-21-2005 at 07:27 AM.
 
Old 05-21-2005, 09:47 PM   #7
raypuddy
LQ Newbie
 
Registered: May 2005
Location: Napier New Zealand
Distribution: Xandros
Posts: 6

Original Poster
Rep: Reputation: 0
I have managed to get the content of the files as below:-

ppp.notice
ay 18 11:57:25 ray pppd[4519]: pppd 2.4.2 started by root, uid 0
May 18 11:57:25 ray pppd[4519]: Connect: ppp0 <--> /dev/tts/Winmodem0
May 18 12:01:29 ray pppd[5227]: pppd 2.4.2 started by root, uid 0
May 18 12:01:29 ray pppd[5227]: Removed stale lock on tts_Winmodem0 (pid 4519)
May 18 12:01:29 ray pppd[5227]: Connect: ppp0 <--> /dev/tts/Winmodem0
May 18 12:01:30 ray pppd[5227]: PAP authentication succeeded
May 18 12:01:30 ray pppd[5227]: local IP address 210.86.32.18
May 18 12:01:30 ray pppd[5227]: remote IP address 192.168.9.146
May 18 12:01:30 ray pppd[5227]: primary DNS address 202.27.158.40
May 18 12:01:30 ray pppd[5227]: secondary DNS address 202.27.156.72
May 18 12:30:07 ray pppd[5227]: Connection terminated.
May 19 19:44:14 ray pppd[4543]: pppd 2.4.2 started by root, uid 0
May 19 19:44:14 ray pppd[4543]: Connect: ppp0 <--> /dev/tts/Winmodem0
May 19 19:47:33 ray pppd[5139]: pppd 2.4.2 started by root, uid 0
May 19 19:47:33 ray pppd[5139]: Removed stale lock on tts_Winmodem0 (pid 4543)
May 19 19:47:33 ray pppd[5139]: Connect: ppp0 <--> /dev/tts/Winmodem0
May 19 19:49:39 ray pppd[5600]: pppd 2.4.2 started by root, uid 0
May 19 19:49:39 ray pppd[5600]: Removed stale lock on tts_Winmodem0 (pid 5139)
May 19 19:49:39 ray pppd[5600]: Connect: ppp0 <--> /dev/tts/Winmodem0
May 19 19:49:39 ray pppd[5600]: PAP authentication succeeded
May 19 19:49:39 ray pppd[5600]: local IP address 210.55.126.243
May 19 19:49:39 ray pppd[5600]: remote IP address 192.168.9.148
May 19 19:49:39 ray pppd[5600]: primary DNS address 202.27.158.40
May 19 19:49:39 ray pppd[5600]: secondary DNS address 202.27.156.72
May 19 19:50:33 ray pppd[5600]: Connection terminated.
May 19 19:53:45 ray pppd[6463]: pppd 2.4.2 started by root, uid 0
May 19 19:53:45 ray pppd[6463]: Connect: ppp0 <--> /dev/tts/Winmodem0
May 19 19:53:45 ray pppd[6463]: PAP authentication succeeded
May 19 19:53:45 ray pppd[6463]: local IP address 210.54.96.135
May 19 19:53:45 ray pppd[6463]: remote IP address 192.168.9.148
May 19 19:53:45 ray pppd[6463]: primary DNS address 202.27.158.40
May 19 19:53:45 ray pppd[6463]: secondary DNS address 202.27.156.72
May 19 20:15:51 ray pppd[6463]: Connection terminated.
May 21 19:00:02 ray pppd[7441]: pppd 2.4.2 started by root, uid 0
May 21 19:00:02 ray pppd[7441]: Connect: ppp0 <--> /dev/tts/Winmodem0
May 21 19:00:03 ray pppd[7441]: PAP authentication succeeded
May 21 19:00:03 ray pppd[7441]: local IP address 203.96.30.52
May 21 19:00:03 ray pppd[7441]: remote IP address 192.168.8.40
May 21 19:00:03 ray pppd[7441]: primary DNS address 203.96.16.35
May 21 19:00:03 ray pppd[7441]: secondary DNS address 203.96.16.36
May 21 19:10:51 ray pppd[7441]: Connection terminated.

ppp.info
May 18 11:57:25 ray pppd[4519]: Using interface ppp0
May 18 11:57:45 ray pppd[4519]: Terminating on signal 15.
May 18 11:57:46 ray last message repeated 9 times
May 18 12:01:29 ray pppd[5227]: Using interface ppp0
May 18 12:30:06 ray pppd[5227]: Terminating on signal 15.
May 18 12:30:07 ray last message repeated 5 times
May 18 12:30:07 ray pppd[5227]: Connect time 28.7 minutes.
May 18 12:30:07 ray pppd[5227]: Sent 360369 bytes, received 3321456 bytes.
May 18 12:30:07 ray pppd[5227]: Terminating on signal 15.
May 18 12:30:07 ray last message repeated 3 times
May 19 19:44:14 ray pppd[4543]: Using interface ppp0
May 19 19:44:35 ray pppd[4543]: Terminating on signal 15.
May 19 19:44:35 ray last message repeated 9 times
May 19 19:47:33 ray pppd[5139]: Using interface ppp0
May 19 19:47:50 ray pppd[5139]: Terminating on signal 15.
May 19 19:47:50 ray last message repeated 9 times
May 19 19:49:39 ray pppd[5600]: Using interface ppp0
May 19 19:50:33 ray pppd[5600]: Terminating on signal 15.
May 19 19:50:33 ray last message repeated 4 times
May 19 19:50:33 ray pppd[5600]: Connect time 0.9 minutes.
May 19 19:50:33 ray pppd[5600]: Sent 136 bytes, received 190 bytes.
May 19 19:50:33 ray pppd[5600]: Terminating on signal 15.
May 19 19:50:33 ray pppd[5600]: Exit.
May 19 19:53:45 ray pppd[6463]: Using interface ppp0
May 19 20:15:51 ray pppd[6463]: Terminating on signal 15.
May 19 20:15:51 ray last message repeated 4 times
May 19 20:15:51 ray pppd[6463]: Connect time 22.1 minutes.
May 19 20:15:51 ray pppd[6463]: Sent 194317 bytes, received 544760 bytes.
May 19 20:15:51 ray pppd[6463]: Terminating on signal 15.
May 19 20:15:51 ray pppd[6463]: Exit.
May 21 19:00:02 ray pppd[7441]: Using interface ppp0
May 21 19:10:51 ray pppd[7441]: Terminating on signal 15.
May 21 19:10:51 ray last message repeated 5 times
May 21 19:10:51 ray pppd[7441]: Connect time 10.9 minutes.
May 21 19:10:51 ray pppd[7441]: Sent 108697 bytes, received 339294 bytes.
May 21 19:10:51 ray pppd[7441]: Terminating on signal 15.
May 21 19:10:51 ray pppd[7441]: Terminating on signal 15.
May 21 19:10:51 ray pppd[7441]: Exit.
 
Old 05-22-2005, 01:51 AM   #8
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
From the ppp.info it seems you have connection for some time;

May 18 12:30:07 ray pppd[5227]: Connect time 28.7 minutes.
May 18 12:30:07 ray pppd[5227]: Sent 360369 bytes, received 3321456 bytes.

During this time have you tried using a browser?
 
Old 05-22-2005, 05:00 PM   #9
raypuddy
LQ Newbie
 
Registered: May 2005
Location: Napier New Zealand
Distribution: Xandros
Posts: 6

Original Poster
Rep: Reputation: 0
below a test this morning 23/05/05

I first used the problem connection (Netsurf) and got an error message "Connection failed".
I then used a connection (Actrix) that is ok and all went well. The result of that is the
ip addresses under ppp.notice. The connection is made and the system works prpoerly with (Axctix)

ppp.notice
ay 23 09:42:03 ray pppd[4635]: pppd 2.4.2 started by root, uid 0
May 23 09:42:03 ray pppd[4635]: Connect: ppp0 <--> /dev/tts/Winmodem0
May 23 09:42:33 ray pppd[4635]: Serial link appears to be disconnected.
May 23 09:44:55 ray pppd[5228]: pppd 2.4.2 started by root, uid 0
May 23 09:44:55 ray pppd[5228]: Removed stale lock on tts_Winmodem0 (pid 4635)
May 23 09:44:55 ray pppd[5228]: Connect: ppp0 <--> /dev/tts/Winmodem0
May 23 09:44:56 ray pppd[5228]: PAP authentication succeeded
May 23 09:44:56 ray pppd[5228]: local IP address 203.96.30.49
May 23 09:44:56 ray pppd[5228]: remote IP address 192.168.8.40
May 23 09:44:56 ray pppd[5228]: primary DNS address 203.96.16.35
May 23 09:44:56 ray pppd[5228]: secondary DNS address 203.96.16.36
May 23 09:46:16 ray pppd[5228]: Connection terminated.

ppp.info
May 23 09:42:03 ray pppd[4635]: Using interface ppp0
May 23 09:42:33 ray pppd[4635]: No response to 2 echo-requests
May 23 09:42:33 ray pppd[4635]: Terminating on signal 15.
May 23 09:42:33 ray last message repeated 9 times
May 23 09:44:55 ray pppd[5228]: Using interface ppp0
May 23 09:46:15 ray pppd[5228]: Terminating on signal 15.
May 23 09:46:16 ray last message repeated 6 times
May 23 09:46:16 ray pppd[5228]: Connect time 1.4 minutes.
May 23 09:46:16 ray pppd[5228]: Sent 6521 bytes, received 28309 bytes.
May 23 09:46:16 ray pppd[5228]: Terminating on signal 15.
May 23 09:46:16 ray pppd[5228]: Exit.
 
  


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
su root authentication failure exodist Linux - Software 9 08-06-2011 02:31 PM
dialup authentication Nodren Linux - Newbie 5 09-12-2004 05:13 PM
UT2004 Authentication failure darkaudti Linux - Games 9 08-31-2004 04:31 PM
authentication failure mendiratta Linux - Security 1 07-03-2004 03:20 AM
POP3 authentication failure J_Szucs Linux - Software 8 07-25-2003 07:14 AM

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

All times are GMT -5. The time now is 02:59 AM.

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