41

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
[-] hendrik@palaver.p3x.de 2 points 4 months ago* (last edited 4 months ago)

That's a bit more elaborate then 'usual'. But not unheard of. I spoke to some people here on Lemmy who have put their cheap IoT devices on a separate Wifi. And guest networks are fairly common. IMHO those should be easier to set up on OpenWRT.

Regarding the cheap 'chinesium' smart devices: I hope you're aware of projects like Tasmota, ESPHome and OpenBeken... I'm not that much into making everything smart, but I also have some smart sockets, LED strips and stuff. I had some luck with the first devices I bought and after that I payed attention to just buy things where I could replace the firmware. So for me they all communicate with my own MQTT broker and Home Assistant directly, and there isn't any firmware on them any more that'd talk to the china cloud.

It's not that easy though. Some require opening and flashing via an USB to serial adapter. And lots of devices aren't supported by aftermarket firmwares at all. Especially the more elaborate ones.

[-] Mountain_Mike_420@lemmy.ml 2 points 4 months ago

Wow thanks. I’ll look into it. I bought a 4 pack of smart plugs for $25 and figured there had to be a catch. But 4 years later they are still working fine. Nothing I use them for is mission critical or high amperage but I’m happy.

I also have 4 levitation smart switches which I’m not as worried about them but still keep them on the vlan.

Besides those I have a cheap smart ir transmitter, and a google nest smart speaker. About to add 2 WiFi cameras to the vlan, so we will have to see how the performance works out.

[-] hendrik@palaver.p3x.de 2 points 4 months ago

Nice.

Cameras definitely need some more bandwidth. And their presence has a bigger impact on your privacy than the lightswitch. So you might as well do it right.... I agree.

Me and by brother-in-law also each bought one of the 4 packs of cheap smart plugs with power metering. He had 2 fail after some years. But I guess he was just a bit unlucky. In our experience they're pretty reliable overall. And the 2 failed safe(ly). They just stopped switching and didn't burn down. I'm not 100% convinced, I use a more expensive brand one to make my washing machine smart since it draws a lot of power. But I use the cheap ones for everything else.

I -myself- am a bit reluctant towards cameras and smart speakers that listen in to arbitrary things. But that's just personal preference.

[-] Mountain_Mike_420@lemmy.ml 1 points 4 months ago

Yeah totally agree with you on the smart speaker and camera bit. My google home mini resides in an upper cabinet in the kitchen. You have to yell in its direction to get it to hear you. We mostly just use it to add items to our shopping list. It also connects to a Bluetooth speaker system (that doesn’t have a mic) to play music through.

The cameras I’m getting are just for the outside of my house and I’m planning on getting the (rtp?) feed off of them and self hosting.

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

Selfhosted

40330 readers
203 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