| View previous topic :: View next topic |
| Author |
Message |
Alderon
Joined: 23 Jun 2011 Posts: 19
|
Posted: Sun Aug 12, 2012 3:34 pm Post subject: PPPoE not connecting !!! |
|
|
I 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. |
|
| Back to top |
|
 |
aemarx
Joined: 15 Jul 2010 Posts: 17
|
Posted: Sun Aug 12, 2012 11:42 pm Post subject: |
|
|
| have you try reset the modem? |
|
| Back to top |
|
 |
Alderon
Joined: 23 Jun 2011 Posts: 19
|
Posted: Tue Aug 14, 2012 9:06 pm Post subject: |
|
|
| I 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] |
|
| Back to top |
|
 |
iames
Joined: 24 Aug 2012 Posts: 1
|
Posted: Fri Aug 24, 2012 10:25 pm Post subject: |
|
|
I 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).
| Code: | 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. |
|
| Back to top |
|
 |
Alderon
Joined: 23 Jun 2011 Posts: 19
|
Posted: Sat Aug 25, 2012 11:10 am Post subject: |
|
|
| Thanks for your solution iames. It works great! |
|
| Back to top |
|
 |
pomidorov
Joined: 12 Nov 2010 Posts: 7 Location: Ukraine
|
Posted: Mon Aug 27, 2012 6:37 pm Post subject: |
|
|
| Thank you, iames. It's works! |
|
| Back to top |
|
 |
deepzero
Joined: 19 Apr 2012 Posts: 2
|
Posted: Wed Aug 29, 2012 4:10 pm Post subject: Solving |
|
|
Hi 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-secrets
Byez |
|
| Back to top |
|
 |
pomidorov
Joined: 12 Nov 2010 Posts: 7 Location: Ukraine
|
Posted: Sat Sep 08, 2012 5:12 pm Post subject: |
|
|
| Thank you deepzero! |
|
| Back to top |
|
 |
ztao
Joined: 01 Nov 2012 Posts: 7
|
Posted: Sat Nov 03, 2012 3:53 am Post subject: |
|
|
chmod 600 /etc/ppp/chap-secrets
chmod: failed to get attributes of `/etc/ppp/chap-secrets': No such file or directory |
|
| Back to top |
|
 |
|