This post is just a feature request/attempt at adding a wireless card/USB device and running your own WAP. The requirements include hostapd and a driver that’s already included in the kernel. I know realtek drivers can be a challenge to work with and not all are included in the kernel which means one would have to compile the module after each kernel upgrade.
- So the basics would be to add wlanX to the green zone.
- configure hostapd and set it up to start at boot
- Adjust firewall and services appropriately
I’ve done this now on a couple RPi2’s running ubuntu/webmin. Though I’ve noticed some relevant unresolved/known issues and have had to implement workarounds. The firewall part may be tricky as I found I had to create a bridged port between eth0 and wlan on RPi2 in order for traffic to flow. If the bridged port doesn’t exist, the client just connects and is unable to get to the network. All DIY’s and HowTo’s I’ve found indicate that firewall rules with forwards and nat masquerading was required (though not true on bridged ports). But I couldn’t get those firewall rules to work write, and if they did, the connected wireless device traffic would appear to come from the WAP and not the device itself. Something I don’t think should occur in a network that should be monitored and controlled.
If I have the time I’ll attempt this myself and write a HowTo for everyone up until this is officially included? I’m hoping it makes it to the list.