› Forums › Network Management › Signal a BUG › PPPoE not connecting !!!
- This topic is empty.
-
AuthorPosts
-
August 12, 2012 at 3:34 pm #43420
Alderon
ParticipantI use PPPoE with aDSL modem. It was working on zs1b16 without problems, but after upgrading to zs2rc1 PPPoE client is unable to connect to the server. PPPoE is not working also with new configured profile.
pppd log:
17:17:38 pppd 2.4.3 started by root, uid 0
17:17:38 Using interface ppp0
17:17:38 Connect: ppp0 <--> /dev/pts/0
17:18:09 LCP: timeout sending Config-Requests
17:18:09 Connection terminated.
17:18:09 Using interface ppp0
17:18:09 Connect: ppp0 <--> /dev/pts/1
17:18:14 Child process /usr/sbin/pppoe -p /tmp/pppoe-ppp0.pid.pppoe -I ETH02 -T 80 -U -m 1412 (pid 17047) terminated with signal 15
17:18:14 tcflush failed: Bad file descriptor
17:18:14 Exit.
17:18:19 pppd 2.4.3 started by root, uid 0
17:18:20 Using interface ppp0
17:18:20 Connect: ppp0 <--> /dev/pts/0
17:18:25 LCP terminated by peer
17:18:25 Modem hangup
17:18:25 Connection terminated.
17:18:25 Exit.
….17:27:56 pppd 2.4.3 started by root, uid 0
17:27:56 Using interface ppp0
17:27:56 Connect: ppp0 <--> /dev/pts/0
17:27:57 LCP terminated by peer
17:27:57 Modem hangup
17:27:57 Connection terminated.
17:27:57 Exit.This log was created after puting ppp0 intreface from down to up state.
August 12, 2012 at 11:42 pm #52422aemarx
Memberhave you try reset the modem?
August 14, 2012 at 9:06 pm #52423Alderon
ParticipantI tried reset, factory default and reconfigure modem, but without effect. But manualy configuring and starting pppoe client was working. Problem is probably in pppoe configuration script.[/url][/code]
August 24, 2012 at 10:25 pm #52424iames
MemberI am having the same issue. It seems no /etc/pap-secrets or /etc/chap-secrets file are created, so pppd is unable to login.
Adding the following piece of code to Pre-Boot Script solves the problem (quick and dirty fix).
echo ""iames" * "PASSWORD"" > /etc/ppp/pap-secrets
echo ""iames" * "PASSWORD"" > /etc/ppp/chap-secrets
chmod 600 /etc/ppp/chap-secrets /etc/ppp/pap-secrets
*NOTE: replace PASSWORD with your corresponding password.
August 25, 2012 at 11:10 am #52425Alderon
ParticipantThanks for your solution iames. It works great!
August 27, 2012 at 6:37 pm #52426pomidorov
MemberThank you, iames. It’s works!
August 29, 2012 at 4:10 pm #52427deepzero
MemberHi all Guys!
the problem there is no softlink at the /tmp/ppp-secrets in /etc/ppp directory.
I guess is a GUI issue.I’m posting my own work-aroud in Pre Boot:
ln -s /tmp/ppp-secrets /etc/ppp/pap-secrets
ln -s /tmp/ppp-secrets /etc/ppp/chap-secrets
chmod 600 /etc/ppp/chap-secrets
chmod 600 /etc/ppp/pap-secretsByez
September 8, 2012 at 5:12 pm #52428pomidorov
MemberThank you deepzero!
November 3, 2012 at 3:53 am #52429ztao
Memberchmod 600 /etc/ppp/chap-secrets
chmod: failed to get attributes of `/etc/ppp/chap-secrets’: No such file or directory -
AuthorPosts
- You must be logged in to reply to this topic.