Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4874

Staffroom, classroom and projects • Offline hotspot and local webserver

$
0
0
Hello. The schools that I am working at have very restrictive internet access. They dont have a blacklist, they have a whitelist that only allows a few dozen domains to be accessed. this is a pain for me aswell because i need to make sure i have everything local on my laptop before i head in to work. if i forgot anything, id have to just get it the next day. The only way around the network restrictions is via ethernet which depending on what room i am in, does not always exist. Anyways, this aint about me. The kids chromebooks are set up in such a way that once they shut them down its dumps everything they have worked on.

Any resources i need to bring in, i have to do via flash drive. at the end of each class the kids must then backup their changes to their own flash drive or save it in their google drive. this is chaos. Additionally if i want to distribute anything the kids have to pass around my flashdrives that i loaded before school. we all know that one of them is going to move the resources rather then copy HAHA.

What i want to make is little hotspot, from a raspberry pi02w. Students then can connect to this network. I do not want them to have internet access so this is not just a downstream router. It should be completely independent. From there they should be able to go to a local address and load a webpage. i want a local domain because kids will find a way to "triple check" the ip and still come to be and tell me they typed it right while showing my a page not found msg. I will additionally set up a git server and stuff like that. I can deal with this bit myself.

What i need help with is getting the pi02w set up at which point i can add services later. My current issue is when i follow some guides I get to the point where the pi wont disconnect from my home wifi and because only 1 lan device available this means it wont make a hotspot. However i can manually stop the networkmanager at which point i think dnsmasq takes over or something and will start the hotspot. However when i try to join from another device, it accepts the password but it wont assign the client device (of which ive tried multiple) an ip. after sometime the client disconnects. During this time i am unable to ssh.

From here i am unable to ssh into the pi anymore to change anything so I am left in the dark to reimage the sd card and try again with a different guide.

Does anyone here have a guide, or has an existing pi02w that i can just grab an iso from?

misc:
Im not on a time crush or anything so no rush.

i want to use the zero because of power limitations. sure a pi4 which i aslo have would allow me to use the ethernet to ssh from and the wifi exclusively for the hotspot, but even with dietpi it still uses more energy than the 0.

I know with the limited hardware the 0 provides it can only handle so many clients at once, this is ok because the kids finish their warm up at different speeds so they wont be all connecting all at once.

please dont just post the link to a guide, ive prob already seen it. do it yourself first please then get back to me with a functional example.

no i cant give you logs as ive already reimaged the drives. if you need it, ill try yet again and give you whatever journal files you want but it will take some time for my response

once again, for those who want me to run a cmd, for them: i am unable to do that once its running its hotspot because i can ssh to it.

thanks

Statistics: Posted by davidm8624 — Sat Jan 18, 2025 12:25 am



Viewing all articles
Browse latest Browse all 4874

Trending Articles