LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   PPPOE connection noesn`t establish, modem hangup (https://www.linuxquestions.org/questions/linux-networking-3/pppoe-connection-noesn%60t-establish-modem-hangup-803490/)

AshotAr 04-22-2010 06:10 AM

PPPOE connection noesn`t establish, modem hangup
 
Hi all


Please help me to solve this problem, I`m trying to establish pppoe connection from Linux clinet to Win server. I get in ppp.log message

ppp-client[10700]: Plugin /etc/ppp-client/plugins/rp-pppoe.so loaded.
ppp-client[10700]: RP-PPPoE plugin version 3.5 compiled against pppd 2.4.2b1
ppp-client[10700]: pppd 2.4.2b1 started by root, uid 0
ppp-client[10700]: PADS: Service-Name: ''
ppp-client[10700]: PPP session is 98
ppp-client[10700]: using channel 133
ppp-client[10700]: Using interface ppp0
ppp-client[10700]: Connect: ppp0 <--> eth1
ppp-client[10700]: Couldn't increase MTU to 1500
ppp-client[10700]: Setting interface MTU: ifname = ppp0, SIOCSIFMTU = 1492
ppp-client[10700]: Couldn't increase MRU to 1500
ppp-client[10700]: sent [LCP ConfReq id=0x1 < mru 1400> < magic 0x55e5cb84>]
ppp-client[10700]: rcvd [LCP ConfReq id=0x0 < mru 1492> < auth 0xc227> < magic 0xf2473fb> < mrru 1614> < endpoint [local:35.92.f0.48.9e.43.4c.92.ad.ac.fa.b1.9f.a5.ac.a8.00.00.00.00]> < 17 04 00 30>]
ppp-client[10700]: sent [LCP ConfRej id=0x0 < mrru 1614> < 17 04 00 30>]
ppp-client[10700]: rcvd [LCP ConfAck id=0x1 < mru 1400> < magic 0x55e5cb84>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ppp-client[10700]: rcvd [LCP ConfReq id=0x1 < mru 1492> < auth 0xc227> < magic 0xf2473fb> < endpoint [local:35.92.f0.48.9e.43.4c.92.ad.ac.fa.b1.9f.a5.ac.a8.00.00.00.00]>]
ppp-client[10700]: sent [LCP ConfNak id=0x1 < auth chap MS-v2>]
ppp-client[10700]: rcvd [LCP ConfReq id=0x2 < mru 1492> < auth chap MS-v2> < magic 0xf2473fb> < endpoint [local:35.92.f0.48.9e.43.4c.92.ad.ac.fa.b1.9f.a5.ac.a8.00.00.00.00]>]
ppp-client[10700]: sent [LCP ConfAck id=0x2 < mru 1492> < auth chap MS-v2> < magic 0xf2473fb> < endpoint [local:35.92.f0.48.9e.43.4c.92.ad.ac.fa.b1.9f.a5.ac.a8.00.00.00.00]>]
ppp-client[10700]: remote negotiated = 1, his mru = 1492
ppp-client[10700]: local negotiated = 1, want mru = 1400, got mru = 1400
ppp-client[10700]: allowed mru = 1400
ppp-client[10700]: setting interface mtu to: 1400
ppp-client[10700]: Setting interface MTU: ifname = ppp0, SIOCSIFMTU = 1400
ppp-client[10700]: sent [LCP EchoReq id=0x0 magic=0x55e5cb84]
ppp-client[10700]: rcvd [CHAP Challenge id=0x0 <0e4646c91a88abf1388ff8ba95445f99>, name = "TESTSERVER"] 00 00 00 00 00 00 00
ppp-client[10700]: sent [CHAP Response id=0x0 <f76a4532ce4e801e76ebf7e646962a4d00000000000000004760671c5fcd2548c7cfcf958f185eb4777cf5b981febfbb00> , name = "pppoe1"]
ppp-client[10700]: rcvd [LCP EchoRep id=0x0 magic=0xf2473fb] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ppp-client[10700]: rcvd [CHAP Success id=0x0 "S=66E3EAC26B68F65E4D47C1E1047A0A7C70D24860"]
ppp-client[10700]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
ppp-client[10700]: rcvd [CCP ConfReq id=0x4 <mppe -H +M +S +L -D -C>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ppp-client[10700]: sent [CCP ConfReq id=0x1]
ppp-client[10700]: sent [CCP ConfRej id=0x4 <mppe -H +M +S +L -D -C>]
ppp-client[10700]: rcvd [IPCP ConfReq id=0x5 <compress VJ 0f 01> <addr 192.168.15.51>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ppp-client[10700]: sent [IPCP ConfRej id=0x5 <compress VJ 0f 01>]
ppp-client[10700]: rcvd [LCP TermReq id=0x6 0f 24 73 fb 00 3c cd 74 00 00 02 e6] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ppp-client[10700]: LCP terminated by peer (^O$sM-{^@<M-Mt^@^@^BM-f)
ppp-client[10700]: Couldn't increase MTU to 1500
ppp-client[10700]: Setting interface MTU: ifname = ppp0, SIOCSIFMTU = 1492
ppp-client[10700]: Couldn't increase MRU to 1500
ppp-client[10700]: sent [LCP TermAck id=0x6]
ppp-client[10700]: rcvd [IPCP ConfNak id=0x1 <addr 192.168.15.55> <ms-dns1 192.168.0.2> <ms-dns3 192.168.0.156>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ppp-client[10700]: Modem hangup
ppp-client[10700]: Connection terminated.
ppp-client[10700]: Exit.


As I see in this log server gets IP address to client but after connection terminates. Help to solve this problem

Thanks in advance
AshotAr

barunparichha 04-22-2010 07:48 AM

Have u set your user-id and passwd properly ?

AshotAr 04-22-2010 11:53 PM

Quote:

Originally Posted by barunparichha (Post 3943935)
Have u set your user-id and passwd properly ?

Of course yes, I tried to disable LCP checking from server, but it doesn`t help

AshotAr 04-27-2010 05:31 AM

I solve this problem partly

Now I can connect using CHAP authentication but not PAP
The server gives me PAP Authentication Field. I tested it with Linux server only changing username and password, it connect perfectly, but when I`m trying to connect with windows server it`s still gives authentication error.

Is there any advice?

AshotAr 04-27-2010 05:51 AM

In event viewer I see system event, where written UserName: pppoe1. You do not have permission to connect using the selected authentication protocol.

I put this user into administrators group but I give same error


All times are GMT -5. The time now is 08:48 AM.