many thanks for Your suggestions. They're smart, but it still doesn't work... :(
eric wolzak wrote:
What is in your ip down script ?Both /etc/ppp/ip-up and /etc/ppp/ip-down scripts are similiar, they're run-parts from /etc/ppp/ip-up.d and /etc/ppp/ip-down.d directories respectvely. Those directories are empty on my system.
I cannot confirm the problem you have. I use 1.0 stable for a long time now.That's good news! It gives me a hope I'll make things better with mine box :)
I tried too:I just tried 1. getting the connection down with ifdown ppp0 ( it is the better way) 2. manually restart 3. pulling the ethernet cable out. --> lcp fails --Connection drop 4. Ethernet cable in --> connection builds up again. 5 same for poweroff dsl modem
1 and 2. bringing down and up manually works perfectly,
3 and 4. puling the eth cable gives disconect, and after puting it in results in: PADI, invalid packet, Failed to negotiate, error 25: Inappropriate ioctl for device and pppd exit.
5. poweroff dsl modem gave the same result as 3 and 4, but due to longer period of line negotiation I saw that even if modem is down things are gone the same way - with invalid packet! It must be something wrong with my system! Not my ISP or even ethernet segment. But what is wrong?!
Could You write me which version of pppd and pppoe plugin do You use? And If You be so kind, would You send me Your /etc/ppp/options, /etc/ppp/peers/provider and dsl-provider files?
Interesting in your log file is are following line.If there's any other way to go, write it to me and I'll do it Your way.
Jun 1 17:42:09 moritius pppd[1613]: Sending PADIyour broadcast on the line to get an Access Concentrator
Yes You're right - sid= from unrcognized packet is connection number from last session! Maybe should I set my pppd LCP protocol to passive mode only? Or should I set period between LCP packets or LCP counter greater? What do You think about it?Jun 1 17:42:09 moritius pppd[1613]: invalid packet Ether addr:
00:90:1a:40:xx:xx (PPPOE Discovery) PPPoE hdr: ver=0x1 type=0x1 code=0xd3 sid=0xe412 length=0x0023 (Unknown) PPPoE tag: type=0112 length=001f (Unknown) unrecognized data Now the PPPOE Discovery has a version 0x1 type 0x1 code 0xd3 ok but a session id sid=0xe412 this is wrong . It should be 00 as it is a try to get a new session with a new session number from the Access concentrator. If the link dies from LCP failure, your side might send a package with a message LCP failure I take the connection down. It could be possible that this package is mixed with the PADI.
I've got another strange error on pppd exit:Jun 1 17:42:09 moritius pppd[1613]: Failed to negotiate PPPoE connection:10 No child processes
Jun 1 17:42:09 moritius pppd[1613]: Exit.
this is something i wonder about too, pppd is normally not exited after a failed connection. My box tried once for a whole night it reconnects, impossible due to a cable problem. After reconnecting the cable, connection was there in a few seconds.
Jun 16 10:33:01 moritius pppd[4373]: Failed to negotiate PPPoE connection: 25 Inappropriate ioctl for device Jun 16 10:33:01 moritius pppd[4373]: Exit.
I think the matter of my problem is to find out why pppd is finishing!
My holdoff works but in the meantime I have changed its value from 10 to 30. I just tried both of above and nothings changed. ifup nad idown works perfectly.A Try ifup ppp0 . and ifdown ppp0 B remove holdoff 30 it doesn't seem to work, as you have only 10 seconds between the disconnect and the first PADI.
Thank You Eric for Your help, but I'm still in stuck. If anybody has any idea, please help. Sincerely, Moritius.
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
