๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ u โ€บ gritty โ€บ 11292 captured on 2023-11-04 at 15:10:33. Gemini links have been rewritten to link to archived content

View Raw

More Information

โžก๏ธ Next capture (2023-11-14)

-=-=-=-=-=-=-

Comment by ๐Ÿ€ gritty

Re: "Pi over WiFi as a server?"

In: s/self-hosted

โ€” Here's a HOWTO I made on self hosting.

๐Ÿ€ gritty

2023-10-29 ยท 6 days ago

10 Later Comments โ†“

๐Ÿ˜บ Nono

@gritty: Thanks for the info and the tutorial... I'll go get myself a Pi Zero as soon as possible then... I'll read your How-to...

But as I'm a total noob, I might still need to ask more questions on here in the future!

๐Ÿ€ gritty

@nono no worries, that's what we're here for

๐Ÿš€ clseibold

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.

๐Ÿ˜บ Nono

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

@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.

๐Ÿ˜บ Nono

@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!

๐Ÿ˜ˆ dimkr

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.

2023-10-30 ยท 6 days ago

๐Ÿ˜บ Nono

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...

2023-10-30 ยท 5 days ago

๐Ÿš€ clseibold

@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.

๐Ÿ˜บ Nono

@clseibold: OK thanks! I'll wait and do it in the most classical fashion eventuallly then.

Original Post

๐ŸŒ’ s/self-hosted

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...

๐Ÿ’ฌ Nono ยท 12 comments ยท 2023-10-29 ยท 6 days ago