I'm currently making a few tests with my new Pi 4, to see if it could possibly be used as a router (in my particular use case), as well as a few other things.
Note that I have an Ethernet cable coming directly into my apartment from my ISP.
However, the Pi doesn't seem to be able to establish a connection through this cable. That's why I'm coming to you, in case someone can help me troubleshoot this.
So, at first, I flashed OpenWrt (to a USB thumb, as I didn't have an SD card reader available) and plugged the ISP Ethernet cable directly to the Pi. I managed to set the wlan0 access point as the only LAN device (used to connect to the web UI and SSH), and to configure the Ethernet port as WAN with PPPoE. I put the credentials given by my ISP. However, it doesn't connect, and I noticed that the LEDs of the Ethernet port were off.
Second experiment: I added a cheap router (TP-Link TL-WR844N) to connect to my ISP (still via PPPoE), and I linked that router to the Pi Ethernet port:
Code: Select all
----- ISP eth -----> TP-Link router WAN port TP-Link router LAN port <------ Ethernet ------> RPi eth port (WAN, DHCP)
Now, I'm able to access the Internet by connecting to the Pi's Wi-Fi access point.
Third experiment: Same as above, but with Raspberry Pi OS. And same results:
- ISP cable connected directly to the Pi --> no light on the Ethernet port.
- ISP to TP-Link router, and then LAN from router to Pi --> of course it works.
I'm not sure if it will help, but when I try to restart the interface in OpenWrt when connected diretly to the ISP cable, here is what I get:
Code: Select all
Tue Sep 14 15:22:45 2021 daemon.notice netifd: Interface 'wan' is disabled Tue Sep 14 15:22:45 2021 kern.warn kernel: [ 161.205702] bcmgenet: Skipping UMAC reset Tue Sep 14 15:22:45 2021 kern.info kernel: [ 161.210870] bcmgenet fd580000.ethernet: configuring instance for external RGMII Tue Sep 14 15:22:45 2021 kern.info kernel: [ 161.218705] bcmgenet fd580000.ethernet eth0: Link is Down Tue Sep 14 15:22:45 2021 kern.info kernel: [ 161.229765] device eth0 entered promiscuous mode Tue Sep 14 15:22:45 2021 daemon.notice netifd: Interface 'wan' is enabled
I have no idea on how to solve this, so if anyone has a potential solution or anything that could help troubleshooting this, it would be greatly appreciated.
Please let me know if you need additional information.
Thank you for your time!