💾 Archived View for bbs.geminispace.org › u › gritty › 11294 captured on 2023-12-28 at 16:54:01. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-11-14)
-=-=-=-=-=-=-
Re: "Pi over WiFi as a server?"
@nono no worries, that's what we're here for
Oct 29 · 2 months ago
🚀 clseibold · Oct 29 at 19:49:
The biggest thing I would consider with running on smaller hardware like this is making sure the server has limitations in place in case of too much traffic or attacks: things like rate-limiting, low memory footprint, and proper idle timeouts. Really, every server should have this, but I feel like it is probably most important in limited hardware like this.
Hi @clseibold, thanks for the advice... Although, after reading gritty's tutorial, I think I might not be able to make this project a reality immediately after all...
I originally thought having access to the the WiFi password would be enough, but it seems like the process involves tinkering with my neighbour's router...
I'm sure he'd be OK with it, but he is even less knowledgeable in this field than I am... So I'm not sure he'd be able to show me the right settings on his "box"... And I wouldn't feel confortable messing with it.
I guess I'll have to establish a land line at home first.
Still, thank you guys for the help!
🚀 clseibold · Oct 29 at 21:23:
@Nono Ah, right. Yeah, it doesn't matter if it's on Wifi or ethernet (physical cable), you would still have to change settings on the router, actually. Basically, routers have a security feature that's like a firewall - they prevent connections to a specific port on a computer on the network unless you specifically tell it to allow this. That's what "port forwarding" is - you're forwarding a port on your computer to allow people from outside your network to access your computer via that port. Every server that's behind a router has to do this no matter what, because router's by default have this security feature.
@clseibold: Makes sense! But this means I'll have to wait for when I'm able to get my own connections and gear going...
Maybe this is for the best, as it gives me a bit more time to think, and polish the "editorial" aspect of a potential capsule...
Thanks again!
My capsule is hosted on a Pico W, connected to the wall with an old phone charger and to my router over 2.4 Ghz WiFi. I gave the Pico W a reserved IP address and forwarded port 1965 to it. Then, I made my capsule's domain an alias of a subdomain of duckdns.org, and made the Pico W update the subdomain IP address once it's online.
Hi @dimkr: Thanks! But does this mean I can skip the "messing with my neighnour's router" part? I f so, I'll give it a try...
Sorry if this question is trivial, but as I said I'm very new to all of this...
🚀 clseibold · Oct 30 at 14:53:
@Nono The port forwarding that @dimkr mentions has to be done on the router (technically there's UPnP that can do it, but that is usually disabled). It's the same with the reserved IP Address setting.
Changing the router settings is necessary because your router is what stands between your computer and the internet. So the router needs to know where to send connections from the internet. That's the other purpose of port forwarding: 1. Knowing where connections go, and 2. Security - only opening ports when the user needs them.
The reserved IP address is basically just a setting that makes sure your computer is the same IP address on the local network, so that it doesn't change over time.
@clseibold: OK thanks! I'll wait and do it in the most classical fashion eventuallly then.
You can use a wifi link but in the long run for stability I recommend to use a proper physical Ethernet cable if possible ask your friendly neighbour.
Wifi can be very unstable, not properly reconnect etc that can be very annoying. But as a test to play with it sure go for it :)
@ran-ford: Thanks, but the entire project s on hold, until I move :)
Pi over WiFi as a server? — Hi! I'm not super tech savvy, yet I'd like to try self-hosting my own Gemini capsule on my own Respberry Pi Zero 2 W in the near future... But both of my internet connections are wireless. My home doesn't have a land line, so I only have my mobile phone service with limited data, and the WiFi connection that my neighbour kindly shares with me... We also share meals and he stores his work stuff in my garage. So no, I'm not stealing his internet, hehe... My question...