Custom Raspberry Pi Wi-Fi router
So, I've moved to a new place, and as a result of that move, I need to get a decent setup for networking. One that gives low latency for gaming as well as high bandwidth for big Linux image downloads for example.I have a Netgear router lying around which I could use, but I've also got some bits I've accumulated the last couple of years, like a Raspberry Pi mini-computer, a 10 metre Ethernet cable, USB Wi-Fi adapters and more.
So I opted to create my own access point, and thought that would be easy enough. Well it wasn't as easy as it should be, because the Realtek chipset has some old drivers, so I had to fiddle with patching the standard hostapd (access point app).
I ended up compiling the wpa Debian package to include the rtl871xdrv patch ( https://github.com/pritambaral/hostapd-rtl871xdrv ) and then set on to create an accesspoint using create_ap ( https://github.com/oblique/create_ap ).
The AP started up and was visible, but it wasn't possible to authenticate. So I tested things back and forth, and also considered making it an unencrypted access point with MAC address based access control, but luckily I got a response from Guan Xin on the hostap@lists.infradead.org mailing list hinting that I should turn off some capabilities to make it all work.
So I now have an access point running, and it seems to be running just fine, I get about 25 Mb/s downloading from the internet now. [Edit: That was 25 Mbit/s, not MB].
Here's how it looks:

It's maybe a bit overkill building my own router, but now I have full flexibility and control in how it should be setup, from QoS to firewalling to logging.
[Permalink] [By morphex] [Technology (Atom feed)] [22 Dec 13:25 Europe/Oslo]