I recently learned about LocalSend and was intrigued by how it functioned by only using the WiFi network of the devices. I did not know my LAN had these capabilities.
Now that I’ve learned about it, I am excited to know if there is anything else I can do with it. Perhaps there could be a way to send prank notifications to all the connected devices, create a private chat room, or have custom LAN parties.
I genuinely do not know anything about how WiFi or LAN in general works in this matter. Is it possible for me to build my own applications that make use of these features? If so, I would love to get a direction on what resources or guides I should be looking for. If not, I would still be happy to use similar pre-built applications.
If you live near a Starbucks, you can buy a cheap router, name its network “Starbucks Public Wifi”, make it public with no password, but also not connect it to anything.
People will connect, and get really really mad and Starbucks will be just as confused as the customers.
This is done in Hotels everyday to use Keyboard loggers and get your information.
Na, the staff are overworked enough. Don’t lump something they have no control over on their laps.
Check out Pihole. It’s a network filtering tool. It runs on a raspberry pi. You can access it via ssh (command line) or webgui (local LAN web interface.) You can leave the raspberry pi hooked up to your router headless (meaning not hooked up to a display). Pihole is fun to mess around with. You can block all sorts of bullshit, such as ads on smart tvs/devices and stuff like that. It won’t block youtube ads though since those are served from the main youtube domain. You need ublock origin for that. Same with Twitch. Everything else basically you can block though.
Maybe crosspost to !selfhosted@lemmy.world and/or !selfhosting@slrpnk.net since this is in the ballpark of what we talk about there.
Congrats on dipping your toes into networking! Don’t let it suck you in too much or you’ll end up with a career change.
Plenty of resources out there to learn from, just pick a project and try to implement it. Or just play around with netcat (just ‘nc’ nowadays).
Look into the TCP/IP stack (or the OSI model, both cover the core concepts) for an overview of how applications talk to each other. This will also help you understand how LocalSend probably works (my guess is broadcasting to your network and seeing what devices are listening on a certain port. Some LAN-enabled games work like this, others aren’t as magical and ask you to provide an address and a port).
You can buy a raspberry pi and have Pihole setup on it. It’ll act as your local dns server and block any ad domains for the whole household.
Damn does this mean I have to buy another raspberry pi or can the one running octoprint serve double duty?
I had done this for several years but recently I’m running into the issue where my home router won’t let me specify a DNS server that is on the same subnet. I dont have multiple networks running at home so I can’t make a Pihole work anymore.