> Thoughts, ideas what to put on there?
Porn, stale memes, inane political manifests, GOG games, viruses…
Malware, obviously. Think USB rubber ducky, but through a wireless network card. No physical access needed, completely automated.
I have exactly that wireless antenna, which I actually bought for my RPi.
Can you tell me what OS you use with it? I've always had a lot of trouble running my RPi because I have to plug it to the tv for output, which is too far from the router so I can't just plug the ethernet cable
Is there a PDF on how to build one of these things?
Also how does a user connect to it and use it?
Not a PDF, but rather a website: https://piratebox.cc/raspberry_pi:diy
Been done a hundred times in all different flavours (as part of ARG, as a data hub, etc)
What CBurner is doing it recorded here, Its mainly installing services and configuring them the behave correctly.
What antenna is it? I bought one that doesn't support AP mode.
I've done cburners config but I have yet to get one device to actually connect to the network. They all just time out while "obtaining ip" . I've been using mobile to test so perhaps the os does a DNS check and when it gets redirected it decides there is no network. Any way to subvert this?
Sounds like your DHCP server isn't binding to the wifi adapter.
Have you set the static IP before starting the AP? And made sure dhcpd is running?
Im using dnsmasq which is running. Do I need to use dhcpd as well?
Oh just reread the guide nevermind. Im slow
I have a bit of experience doing this on mobile. The tools are a little restrictive but you could build probably build a decent meshnet or something. Just use a web server like bitweb or something and iptables rules
iptables -A FORWARD -p udp --dport 53 -j ACCEPT
iptables -A FORWARD -p udp --sport 53 -j ACCEPT
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination IP here
iptables -P FORWARD DROP
Me again, so ive managed to get this working. My test devices connect to the network, but the page doesn't pop up in the way a captive portal would. When I navigate to an http site on the test device it does show lighttpd server but https just times out.
Im not using the lain.pem cert yet btw, that would probably allow https redirects right?
HTTPS times out because you probably have not enabled it or generated a cert for it.https://wiki.archlinux.org/index.php/Lighttpd#Enabling_https_via_SSL
Page loads up when you connect directly yea?
I enabled the cert and now https pages redirect if you bypass the warning. This is sufficient for me . However if its not unreasonable it would be awesome to be able to have a captive portal page pop up for users on mobile, that way garunteed people connecting to the ap will see it
with HSTS its the best you will get.
If you have the redirect likes in your lighttpd config add
url.redirect-code = 302
above it, causing a 302 redirect will make phones prompt for the login page.
deploying on of them would be quite a challenge, one I'm willing to accept
I just recently constructed my own battery powered pirate web server for toting around to places where I know a lot of people will be looking for an open wifi network. I've got it set to redirect all HTTP requests to the web server which is running an imageboard that I've customized the aesthetics of pretty heavily. I've not had many people bite yet, but I'm also one that naturally tends to avoid large crowds of people in the first place so… yeah. I've been thinking about having one of my friends carry it around instead so I don't have to shoulder all the social anxiety myself.