Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

bananapi m2(mainline) and pppoe

Featured Replies

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.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.