Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Networking > pppd troubleshooting

Forgot Password?
 Linux Networking   Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 05-14-2004   #1 (permalink)
Just Joined!
 
Join Date: May 2004
Location: Drémil-Lafage - France (31)
Posts: 2
pppd troubleshooting

Hey there,
I have a Linux box (Mdk 9.0) which used to be connected with DSL with a modem Sagem F@st 800. It worked perfectly.

I had to change ISP (it is now Wanadoo, who do not support Linux - how nice...). The modem is exactly the same. But it won't work.

I found the debug outputs from pppd in /var/log/daemons/info, and it seems that it connects for about 20 sec (I was able to ping some addresses on the net, and even once to connect to my ISP homepage !!)
and then it appears the modem hangs up. Then it keeps trying and trying again (sometimes authentication doesn't even succeed) until pppd dies.

Here's how I call pppd :
%pppd debug pty pppoa

I got the script pppoa from my previous ISP or with the modem drivers, and it worked perfectly.

I have no idea what's going on... Any hint is welcome, here's the output of pppd :

====================
May 14 14:59:46 aristote pppd[19385]: pppd 2.4.1 started by root, uid 0
May 14 14:59:46 aristote pppd[19385]: using channel 20
May 14 14:59:46 aristote pppd[19385]: Using interface ppp0
May 14 14:59:46 aristote pppd[19385]: Connect: ppp0 <--> /dev/pts/1
May 14 14:59:47 aristote pppd[19385]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x210b70ed>]
May 14 14:59:47 aristote pppd[19385]: rcvd [LCP ConfReq id=0xef <mru 1500> <auth chap MD5> <magic 0x5c9d15d4>] 20 01 40 01 00 00 00 01 03 00 00 00 00 00 00 04
May 14 14:59:47 aristote pppd[19385]: sent [LCP ConfNak id=0xef <auth pap>]
May 14 14:59:47 aristote pppd[19385]: rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0x210b70ed>] 06 5c 9d 15 d4 20 01 40 01 00 00 00 01 03 00 00
May 14 14:59:47 aristote pppd[19385]: rcvd [LCP ConfReq id=0xf0 <mru 1500> <auth pap> <magic 0x5c9d15d4>] d4 20 01 40 01 00 00 00 01 03 00 00 00 00 00 00
May 14 14:59:47 aristote pppd[19385]: sent [LCP ConfAck id=0xf0 <mru 1500> <auth pap> <magic 0x5c9d15d4>]
May 14 14:59:47 aristote pppd[19385]: sent [PAP AuthReq id=0x1 user="ISPlogin" password=<hidden>]
May 14 14:59:49 aristote pppd[19385]: rcvd [PAP AuthAck id=0x1 ""] 04 05 dc 03 04 c0 23 05 06 5c 9d 15 d4 d4 20 01
May 14 14:59:49 aristote pppd[19385]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
May 14 14:59:49 aristote pppd[19385]: rcvd [IPCP ConfReq id=0x29 <addr 81.49.4.1>] c0 23 05 06 5c 9d 15 d4 d4 20 01 40 01 00 00 00
May 14 14:59:49 aristote pppd[19385]: sent [IPCP ConfAck id=0x29 <addr 81.49.4.1>]
May 14 14:59:49 aristote pppd[19385]: rcvd [IPCP ConfNak id=0x1 <addr 81.49.4.115> <ms-dns1 80.10.246.130> <ms-dns3 80.10.246.3>] 01 00 00 00 01 03 00 00 00 00 00 00 04 1b 01 40
May 14 14:59:49 aristote pppd[19385]: sent [IPCP ConfReq id=0x2 <addr 81.49.4.115> <ms-dns1 80.10.246.130> <ms-dns3 80.10.246.3>]
May 14 14:59:49 aristote pppd[19385]: rcvd [IPCP ConfAck id=0x2 <addr 81.49.4.115> <ms-dns1 80.10.246.130> <ms-dns3 80.10.246.3>] 01 00 00 00 01 03 00 00 00 00 00 00 04 1b 01 40
May 14 14:59:49 aristote pppd[19385]: local IP address 81.49.4.115
May 14 14:59:49 aristote pppd[19385]: remote IP address 81.49.4.1
May 14 14:59:49 aristote pppd[19385]: primary DNS address 80.10.246.130
May 14 14:59:49 aristote pppd[19385]: secondary DNS address 80.10.246.3
May 14 14:59:49 aristote pppd[19385]: Script /etc/ppp/ip-up started (pid 19396)
May 14 14:59:49 aristote pppd[19385]: Script /etc/ppp/ip-up finished (pid 19396), status = 0x0
May 14 15:00:08 aristote pppd[19385]: Modem hangup
May 14 15:00:08 aristote pppd[19385]: Script /etc/ppp/ip-down started (pid 19403)
May 14 15:00:08 aristote pppd[19385]: Connection terminated.
May 14 15:00:08 aristote pppd[19385]: Connect time 0.4 minutes.
May 14 15:00:08 aristote pppd[19385]: Sent 1396 bytes, received 166 bytes.
May 14 15:00:08 aristote pppd[19385]: using channel 21
May 14 15:00:08 aristote pppd[19385]: Using interface ppp0
May 14 15:00:08 aristote pppd[19385]: Connect: ppp0 <--> /dev/pts/1
May 14 15:00:08 aristote pppd[19385]: rcvd [LCP ProtRej id=0xf1 00 81 00 00 40 00 40 11 3f fe c0 a8 3c 1e c0 a8 3c ff 02 77 02 77 00 6d dd 1c 33 30 30 65 20 33 ...] ef ff bf 2c 3f 00 40 00 00 00 00 00 00 00 00 00
May 14 15:00:08 aristote pppd[19385]: sent [LCP ConfReq id=0x2 <mru 1492> <magic 0xd55ed6be>]
May 14 15:00:08 aristote pppd[19385]: rcvd [LCP ConfReq id=0xf2 <mru 1500> <auth chap MD5> <magic 0x4a079159>] a8 3c ff 02 77 02 77 00 6d dd 1c 33 30 30 65 20
May 14 15:00:08 aristote pppd[19385]: sent [LCP ConfNak id=0xf2 <auth pap>]
May 14 15:00:08 aristote pppd[19385]: rcvd [LCP ConfAck id=0x2 <mru 1492> <magic 0xd55ed6be>] 06 4a 07 91 59 a8 3c ff 02 77 02 77 00 6d dd 1c
May 14 15:00:08 aristote pppd[19385]: Script /etc/ppp/ip-down finished (pid 19403), status = 0x0
May 14 15:00:08 aristote pppd[19385]: rcvd [LCP ConfReq id=0xf3 <mru 1500> <auth pap> <magic 0x4a079159>] 59 a8 3c ff 02 77 02 77 00 6d dd 1c 33 30 30 65
May 14 15:00:08 aristote pppd[19385]: sent [LCP ConfAck id=0xf3 <mru 1500> <auth pap> <magic 0x4a079159>]
May 14 15:00:08 aristote pppd[19385]: sent [PAP AuthReq id=0x2 user="ISPlogin" password=<hidden>]
May 14 15:00:09 aristote pppd[19385]: rcvd [PAP AuthNak id=0x2 "Authentication Failed."] 6d dd 1c 33 30 30 65 20 33 20 69 70 70 3a 2f 2f
May 14 15:00:09 aristote pppd[19385]: Remote message: Authentication Failed.
May 14 15:00:09 aristote pppd[19385]: sent [LCP TermReq id=0x3 "Failed to authenticate ourselves to peer"]
May 14 15:00:09 aristote pppd[19385]: rcvd [LCP TermReq id=0xf4] 16 41 75 74 68 65 6e 74 69 63 61 74 69 6f 6e 20
May 14 15:00:09 aristote pppd[19385]: sent [LCP TermAck id=0xf4]
May 14 15:00:09 aristote pppd[19385]: rcvd [LCP TermReq id=0xff] 16 41 75 74 68 65 6e 74 69 63 61 74 69 6f 6e 20
May 14 15:00:09 aristote pppd[19385]: sent [LCP TermAck id=0xff]
May 14 15:00:12 aristote pppd[19385]: sent [LCP TermReq id=0x4 "Failed to authenticate ourselves to peer"]
May 14 15:00:12 aristote pppd[19385]: rcvd [LCP TermReq id=0xff] 16 41 75 74 68 65 6e 74 69 63 61 74 69 6f 6e 20
May 14 15:00:12 aristote pppd[19385]: sent [LCP TermAck id=0xff]
May 14 15:00:15 aristote pppd[19385]: Connection terminated.
May 14 15:00:15 aristote pppd[19385]: using channel 22
May 14 15:00:15 aristote pppd[19385]: Using interface ppp0
May 14 15:00:15 aristote pppd[19385]: Connect: ppp0 <--> /dev/pts/3
May 14 15:00:15 aristote pppd[19385]: Script pppoa finished (pid 19407), status = 0x100
(...connection successfull...for 20 sec)
May 14 15:00:39 aristote pppd[19385]: using channel 23
(...authentication failed)
May 14 15:00:47 aristote pppd[19385]: using channel 24
(...connection successfull...for 20 sec)
May 14 15:01:10 aristote pppd[19385]: using channel 25
(and so forth up to : )
May 14 15:06:51 aristote pppd[19385]: using channel 48
May 14 15:06:51 aristote pppd[19385]: using channel 49
May 14 15:06:51 aristote pppd[19385]: using channel 50
May 14 15:06:51 aristote pppd[19385]: using channel 51
May 14 15:06:51 aristote pppd[19385]: using channel 52
May 14 15:06:51 aristote pppd[19385]: using channel 53
May 14 15:06:51 aristote pppd[19385]: using channel 54
May 14 15:06:51 aristote pppd[19385]: using channel 55
May 14 15:06:51 aristote pppd[19385]: using channel 56
May 14 15:06:51 aristote pppd[19385]: using channel 57
May 14 15:06:51 aristote pppd[19385]: Waiting for 11 child processes...
May 14 15:06:51 aristote pppd[19385]: script pppoa, pid 20144
May 14 15:06:51 aristote pppd[19385]: script pppoa, pid 20143
May 14 15:06:51 aristote pppd[19385]: script pppoa, pid 20142
May 14 15:06:51 aristote pppd[19385]: script pppoa, pid 20141
May 14 15:06:51 aristote pppd[19385]: script pppoa, pid 20140
May 14 15:06:51 aristote pppd[19385]: script pppoa, pid 20137
May 14 15:06:51 aristote pppd[19385]: script pppoa, pid 20135
May 14 15:06:51 aristote pppd[19385]: script pppoa, pid 20131
May 14 15:06:51 aristote pppd[19385]: script pppoa, pid 20123
May 14 15:06:51 aristote pppd[19385]: script pppoa, pid 20119
May 14 15:06:51 aristote pppd[19385]: script /etc/ppp/ip-down, pid 20115
May 14 15:06:51 aristote pppd[19385]: Script pppoa finished (pid 20143), status = 0x100
May 14 15:06:51 aristote pppd[19385]: Script pppoa finished (pid 20142), status = 0x100
May 14 15:06:51 aristote pppd[19385]: Script pppoa finished (pid 20141), status = 0x100
May 14 15:06:51 aristote pppd[19385]: Script pppoa finished (pid 20140), status = 0x100
May 14 15:06:51 aristote pppd[19385]: Script pppoa finished (pid 20137), status = 0x100
May 14 15:06:51 aristote pppd[19385]: Script pppoa finished (pid 20135), status = 0x100
May 14 15:06:51 aristote pppd[19385]: Script pppoa finished (pid 20131), status = 0x100
May 14 15:06:51 aristote pppd[19385]: Script pppoa finished (pid 20123), status = 0x100
May 14 15:06:51 aristote pppd[19385]: Script pppoa finished (pid 20119), status = 0x100
May 14 15:06:51 aristote pppd[19385]: Script /etc/ppp/ip-down finished (pid 20115), status = 0x0
May 14 15:06:51 aristote pppd[19385]: Script pppoa finished (pid 20144), status = 0x100
May 14 15:06:51 aristote pppd[19385]: Exit.
=======================================

Thanks
petitcolin is offline  


Reply With Quote
Old 05-14-2004   #2 (permalink)
Just Joined!
 
Join Date: May 2004
Location: U.K.
Posts: 8
ppd trouble shooting

Hello
It seems to be a problem with authentication, have you checked the script to make sure you are using your new Wanadoo login name and password correctly, it could possibly be using your old login name and password or you have not used the full user name correctly ie name@wandoo.xxx , also you might need to set it so it uses PAP and CHAP for authentication, also does your new ISP use a static IP address or is it assigned via DHCP when you login.
I cannot give more info as I do not use Mandrake but you should be able to glean all the details from the Windows setup details from your ISP.

Hope this points you in the right direction.
SuperDuper is offline   Reply With Quote
Old 05-17-2004   #3 (permalink)
Just Joined!
 
Join Date: May 2004
Location: Drémil-Lafage - France (31)
Posts: 2
pppoa or pppoe ?

I had already changed my login and password with those my new ISP gave me.
Anyway, I do get connected for about 20 secs, before "Modem hangup" (see first post)

Not knowing whether I should use pppoe or pppoa, I had only tried pppoa ; I gave a try at pppoe ; ain't working either...

Here's the output...

Output from /var/log/messages :

pppoa[4841]: read (AsyncReadFromPPP): Input/output error
etc/hotplug/net.agent: NET unregister event not supported
pppoa[4842]: read (AsyncReadFromPPP): Input/output error
pppoa[4843]: read (AsyncReadFromPPP): Input/output error
pppd[4789]: Couldn't create new ppp unit: Inappropriate ioctl for device

===============================================
Output from pppoe "adsl-connect" script

ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
ipchains: Protocol not available
Using interface ppp0
Connect: ppp0 <--> /dev/pts/5
LCP: timeout sending Config-Requests
Connection terminated.
Using interface ppp0
Connect: ppp0 <--> /dev/pts/6
pppoe: Timeout waiting for PADO packets

=============================================

It seems to work better with pppoa : at least I get connected, be it only 20 seconds...

Any idea welcome !
petitcolin is offline   Reply With Quote
Old 05-20-2004   #4 (permalink)
Just Joined!
 
Join Date: May 2004
Location: U.K.
Posts: 8
pppoa or ppoe

Hello petitcolin

Have you followed the text and installed the driver from Sagem because I do think that your modem is not correctly setup via the various scripts in your system:

http://www.sagem.com/web-modems/down...u_linux_en.txt

as for wether you use pppoA or pppoE is information you should get from your ISP.
SuperDuper is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 03:57 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2