this post was submitted on 06 Jul 2024
41 points (97.7% liked)

Selfhosted

37927 readers
424 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] taaz@biglemmowski.win 6 points 1 week ago (8 children)

How did you fail?

VLANs (Virtual LANs) are for isolating devices from each other (while still being plugged to the "LAN" ports of the same router).

[–] VitabytesDev@feddit.nl 2 points 1 week ago (1 children)

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 1 points 1 week 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, ...

load more comments (6 replies)