I have an unused Raspberry Pi 4 (2GB model) lying around and I would like to install OpenWRT on it and use it as a router. I get Internet from DSL so I can’t hook it up on the Raspberry Pi directly, I need to plug an Ethernet cable coming from my actual router to the Pi.

I am no expert on networking, so please forgive me if I say something that is wrong. I want the WAN coming in from the router from the Pi’s Ethernet port, and the LAN coming out as Wi-Fi. I may also stick an additional Ethernet adapter to it in the future. I have tried doing this many times and have failed. So, could anyone explain to me how could I do this?

Also, what are VLANs, what are their uses and if I wanted one, how could I setup it in OpenWRT?

Thanks in advance.

  • VitabytesDev@feddit.nlOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 months ago

    While trying to set up the WLAN, I couldn’t connect to the AP, it said no internet access, and I couldn’t connect to the Pi, or ping any device from it.

    • hendrik@palaver.p3x.de
      link
      fedilink
      arrow-up
      1
      ·
      6 months ago

      Can’t you find something like a guide or walktrough? I can’t believe you’re the first person using a RasPi as an access point…

      I mean I would love to help. But it’s a bit difficult without seeing the situation. And “I can’t connect to anything” isn’t exactly detailed enough to lead me to any conclusions. There are a lot of moving parts in a router, the wifi itself, DHCP, routing, firewall, …