I'm running OpenWRT 21.02 on a Raspberry Pi 4, but I'm having some issues getting connected to the internet. Checked the logs and it shows that my PPPoE authentication is failing. For context, I have my lan interface automatically set up as br-lan and wan interface set up with my PPPoE credentials. The Pi is connected to the fiber ONT and is serving as the router (ONT is in bridged mode).
Am I missing something? Tried using the configs on some tutorials online, but it doesn't seem to be working for me.
On that tutorial already a USB to Ethernet dongle is used (eth1).
So how would you do that without USB to Ethernet dongle? As your config shows WAN and LAN both eth0, which can't be on router based OS like OpenWrt. It needs 2 different eth ports (or vlans, eth0.1 and eth0.2).
A raspberry only has 1 eth port (and a wlan port), are you using that? According your config, not.
Your WAN port should have another eth port, if you have one?
That's a good point, however, before I connect my USB to Ethernet adapter, I wanted to just use the router to get internet connection first, which I can verify with a ping. Currently, when I issue a ping, it tells me network unreachable.
What config should I be using instead?
I plan to use a USB to Ethernet adapter to connect the Pi to my computer. However, before I do that, I just want to verify that the Pi has internet connection and I can install some programs on it as well.
In this case, should I be configuring another device as eth1? How would I do this?
That's making the situation unreasonably hard on you, it's possible, but would require pretty much a complete reconfiguration of the network setup - which you'd have to change completely again, after installing the USB3-ethernet card again. Just don't do it, attach the USB3-ethernet card now (do a factory reset/ firstboot and keep it simple.
Ok sure. Would I need another router to first complete the initial setup in order to download the drivers? Or would I be able set up an internet connection using the Pi itself? Right now I don't have another router.
Additionally, connecting the Pi to my computer via the USB to Ethernet adapter works. So this means, I won't need to download additional drivers for the USB to Ethernet adapter?
The Pi recognized the adapter, but it doesn't have drivers. Checked by running ifconfig and I can't see another eth connection apart from eth0.
In this case, I'll need to configure the Pi to use the existing Ethernet port to connect to the internet first before downloading the drivers. Can this be done, and how should I configure my network if I want to do this? @anon50098793 any thoughts on this? Should be your area of expertise
Same thing as you are. Do you mind sharing your network config? If you're using the same setup as me, I can just adapt yours.
I've got my Pi connected to the modem (which is in bridge mode). I plan to connect the modem to the Pi via the Ethernet adapter. Then another Ethernet connection from the Pi to my PC using the built in Ethernet port.