After looking for alternatves to the suggested Router from Telekom (AVM FritzBox and HUawei Speedport), I've discovered the possibility of configuring my existing OpenWRT Router to act as gateway to the Telekom FTTH (Fiber To The Home) Magenta Zuhause package.
The WAN interface must be configured as follows (see your Telekom letter):
- Protocol: PPPoE
- PAP/CHAP username:
- Zugangsnummern with 12+ Digits/Chars: AnschlusskennungZugangsnummerMitbenutzernummer@t-online.de
- Zugangsnummern with less than 12 Digits/Chars: AnschlusskennungZugangsnummer#Mitbenutzernummer@t-online.de
- PAP/CHAP password: Zugangskenntwort
- VLAN: 7
It's important to know the following information, before attempting any connection:
- Anschlusskennung
- Zugangsnummer
- Mitbenutzernummer
- Zugangskenntwort
All the above information are typically sent by Telekom at home, when activating the Internet Access.
You need a OpenWRT-capable router (e.g. TP-Link Archer C7 works really well), see here for an exhaustive list of supported devices.
Make sure your Telekom Fiber Modem is working properly.
The Telekom PPPoE access requires the VLAN-ID to be set to 7. In order to do so, you have to configure the Router Ethernet interface that refers to WAN. The configuration panel can be found under the Menu entry Network->Switch (on OpenWRT 22.03 is Network -> Devices -> Add Device Config)
In this panel, you can see a table showing the VLAN(s) configured for your Router (typically 2) and they have some comboboxes with status tagged/untagged/off. One of the VLANs configured should be configured with the following information:
Port Status | CPU (eth0) | LAN1 | LAN2 | LAN3 | LAN4 | WAN |
---|---|---|---|---|---|---|
1 | tagged | untagged | untagged | untagged | untagged | off |
7 | tagged | off | off | off | off | tagged |
In case of Routers with multiple Ethernet interfaces (e.g. TP-Link Archer C7), the panel should look like this:
Port Status | CPU (eth0) | CPU (eth0) | LAN1 | LAN2 | LAN3 | LAN4 | WAN |
---|---|---|---|---|---|---|---|
1 | tagged | tagged | untagged | untagged | untagged | untagged | off |
7 | tagged | tagged | off | off | off | off | tagged |
In the Menu entry Network->Interfaces, select the WAN interface and set the following information in the General Setup tab:
- Protocol: PPPoE
- PAP/CHAP username: AnschlusskennungZugangsnummerMitbenutzernummer@t-online.de
- PAP/CHAP password: Zugangskenntwort
In the tab Physical Settings, select the interface Switch VLAN eth0.7 (the one corresponding to the VLAN-ID 7).
Beware: in case your "Zugangsnummer" has less than 12 digits, the PAP/CHAP username is in the form AnschlusskennungZugangsnummer#Mitbenutzernummer@t-online.de (see https://telekomhilft.telekom.de/t5/Telefonie-Internet/PPPOE-Einwahl-ueber-einen-Router-herstellen/ta-p/3654990 for further details)
Happy surfing!
hey @kebot thank you for your info! I tried to follow your steps for 22.03.3 but I get a "connection error" on the pppoe_telekom interface.
In your third screenshot you show the firewall settings for the "WAN" interface. Should that also be set in the created pppoe_telekom interface?
The physical wan interfaces are configured as "DHCP server" by default in the overview for me. Is that correct or should they be something else?
I also have a "bridge interface" that seems to connect all the normal LAN ports on my device. Does these somehow need to be connected to the vlan or the eth0/eth1 base device?
In general it would be cool if you could share more screenshots of all the things in the device/interface lists and screenhots of the configuration of the interfaces/devices (without the username/pass ofc)!
while trying random things I got a connection when I created the vlan device based on the wan port. Not sure if that is correct at all. It showed a plausible ip address in the routing overview, but I could not figure out how to get the normal lan ports to use that connection (if even possible)