Jump to content

Recommended Posts

Posted

Hy everybody,

 

I have a fiber connexion at home.

for my work, i tried to connect my Bananapi to my ONT (Optical Network Termination).

My provider, Orange use pppoe with the vlan 832 for Internet.

 

So i have installed the Packages vlan,ppp,pppoe.

 

In /etc/modules i have added 8021q.

 

in /etc/network/interfaces :

auto eth0 eth0.832 ppp0
iface eth0 inet manual
iface eth0.832 inet manual
iface ppp0 inet ppp
provider ft_fibre

I have created /etc/ppp/peers/ft_fibre like this :

pty "/usr/sbin/pppoe -I eth0.832 -T 80 -m 1452"
noipdefault
hide-password
lcp-echo-interval 20
lcp-echo-failure 3
connect /bin/true
noauth
persist
mtu 1492
usepeerdns
defaultroute
noaccomp
default-asyncmap
plugin rp-pppoe.so eth0.832
user "fti/blabla"

instead "fti/blablabla" i have put the right username.

 

and for /etc/ppp/chap-secrets and /etc/ppp/pap-secrets i have added :

 

"fti/blabla" * "votrepassword"

with right username and password.

 

After a reboot, i launch my pppoe configuration like this :

pon ft_fibre

And it doesn't work.

 

I have these Errors :

 

Nov 20 22:16:42 localhost pppd[1131]: error sending pppoe packet: Network is down
Nov 20 22:16:52 localhost pppd[1131]: error sending pppoe packet: Network is down
Nov 20 22:17:02 localhost pppd[697]: Timeout waiting for PADO packets
Nov 20 22:17:02 localhost pppd[697]: Unable to complete PPPoE Discovery
Nov 20 22:17:07 localhost pppd[1156]: Plugin rp-pppoe.so loaded.
Nov 20 22:17:07 localhost pppd[1157]: pppd 2.4.6 started by root, uid 0
Nov 20 22:17:07 localhost pppd[1157]: error sending pppoe packet: Network is down
Nov 20 22:17:07 localhost pppd[1157]: error receiving pppoe packet: Network is down
root@bananapim2:~# ifup ppp0
ifup: interface ppp0 already configured
root@bananapim2:~# ifup eth0.83é
Ignoring unknown interface eth0.83é=eth0.83é.
root@bananapim2:~# ifup eth0.832
ifup: interface eth0.832 already configured
root@bananapim2:~# pon fibre
Plugin rp-pppoe.so loaded.
root@bananapim2:~# plog
Nov 20 22:17:32 localhost pppd[697]: error sending pppoe packet: Network is down
Nov 20 22:17:32 localhost pppd[697]: error receiving pppoe packet: Network is down
Nov 20 22:17:37 localhost pppd[697]: error sending pppoe packet: Network is down
Nov 20 22:17:39 localhost pppd[1164]: Plugin rp-pppoe.so loaded.
Nov 20 22:17:39 localhost pppd[1165]: pppd 2.4.6 started by root, uid 0
Nov 20 22:17:39 localhost pppd[1165]: error sending pppoe packet: Network is down
Nov 20 22:17:39 localhost pppd[1165]: error receiving pppoe packet: Network is down
Nov 20 22:17:42 localhost pppd[1131]: error sending pppoe packet: Network is down
Nov 20 22:17:42 localhost pppd[1131]: error receiving pppoe packet: Network is down
root@bananapim2:~# nano /etc/ppp/peerrs/fibre
root@bananapim2:~# nano /etc/ppp/peers/fibre
root@bananapim2:~# pon fibre
root@bananapim2:~# plog
Nov 20 22:18:09 localhost pppd[1172]: pppd 2.4.6 started by root, uid 0
Nov 20 22:18:09 localhost pppd[1172]: Serial connection established.
Nov 20 22:18:09 localhost pppd[1172]: Using interface ppp0
Nov 20 22:18:09 localhost pppd[1172]: Connect: ppp0 <--> /dev/pts/1
root@bananapim2:~# plog
Nov 20 22:18:09 localhost pppd[1172]: Serial connection established.
Nov 20 22:18:09 localhost pppd[1172]: Using interface ppp0
Nov 20 22:18:09 localhost pppd[1172]: Connect: ppp0 <--> /dev/pts/1
root@bananapim2:~# plog
Nov 20 22:18:14 localhost pppd[1165]: Timeout waiting for PADO packets
Nov 20 22:18:15 localhost pppd[1165]: Unable to complete PPPoE Discovery
Nov 20 22:18:17 localhost pppd[1131]: Timeout waiting for PADO packets
Nov 20 22:18:17 localhost pppd[1131]: Unable to complete PPPoE Discovery
root@bananapim2:~#

In my raspberry pi 2, it works.

Could womeone have an idea ? :)

thank you.

Posted

I would compare kernel configuration first. Perhaps something is missing in ours. When you find missing options, send a PR. In less than 24h you have a kernel in a beta repository with enabled options ... in case you don't have a build engine around.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines