EDPNET OpenWRT setup PPPoE
Geplaatst: 06 mei 2024, 22:52
Hi,
I am trying to set-up the PPPoE config for an old Orange TP-Link box that I flashed with OpenWRT.
usb0 is an LTE modem ( I cannot access the device other than route traffic to/from it).
I want one of the UTP ports to also be configured for the PPPoE/VLAN10 connection to EDPNet /Proxmus ONT box.
At some point in the future I intend to us the LTE usb0 in an HA config., but for the timebing I will just want to set up the WAN port for to EDPNet.
But my networking knowledge is utter rubbish.
Did anybody do this before?
My current /etc/config/networks file:
And I want to add something like this, but I am not sure how:
I do know what something0 is meant to be, or anything else TBH.
I am trying to set-up the PPPoE config for an old Orange TP-Link box that I flashed with OpenWRT.
usb0 is an LTE modem ( I cannot access the device other than route traffic to/from it).
I want one of the UTP ports to also be configured for the PPPoE/VLAN10 connection to EDPNet /Proxmus ONT box.
At some point in the future I intend to us the LTE usb0 in an HA config., but for the timebing I will just want to set up the WAN port for to EDPNet.
But my networking knowledge is utter rubbish.
Did anybody do this before?
My current /etc/config/networks file:
Code: Selecteer alles
# cat network
config interface 'loopback'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
option device 'lo'
config globals 'globals'
option ula_prefix 'fd82:1111:1111::/48'
config interface 'lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
option device 'br-lan'
config device 'lan_dev'
option name 'eth0.1'
option macaddr '11:11:11:11:11:41'
config interface 'wan'
option proto 'dhcp'
option device 'usb0'
config device 'wan_dev'
option name 'usb0'
option macaddr '11:11:11:11:11:42'
config interface 'wan6'
option proto 'dhcpv6'
option device 'usb0'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 6t'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0.1'
Code: Selecteer alles
# ip link show|sed -e 's/00:..:..:/00:11:11:11/g' -e 's/18:..:..:/00:11:11:11/g' # attempt to redact my MACs.
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:11:11:1100:00:00 brd 00:11:11:1100:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN qlen 1000
link/ether 00:11:11:11c4:45:41 brd ff:ff:ff:ff:ff:ff
4: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN qlen 1000
link/ether 00:11:11:11c4:45:42 brd ff:ff:ff:ff:ff:ff
5: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:11:11:1126:60:f0 brd ff:ff:ff:ff:ff:ff
7: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
link/ether 00:11:11:11c4:45:41 brd ff:ff:ff:ff:ff:ff
8: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
link/ether 00:11:11:11c4:45:41 brd ff:ff:ff:ff:ff:ff
9: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP qlen 1000
link/ether 00:11:11:1176:20:30 brd ff:ff:ff:ff:ff:ff
And I want to add something like this, but I am not sure how:
Code: Selecteer alles
config device something 0
option type '8021q'
option ifname 'eth0'
option vid '10'
option name 'fiber'
config interface 'wanfiber'
option proto 'pppoe'
option username 'blabla@EDPNET'
option password '..............'
option ipv6 '1'
option device 'fiber'