Servers are awesome. They’re like huge hunks of metal and machinery that can perform duties like the big supercomputers they are.
I acquired a massive, old, and clunky Dell server from one of the UTW dudes, of which I have now named Big Bertha. She’s a feisty one, I tell ya.
Because I want to have her running 24/7 in my garage or closet, I had to get a WiFi adapter working so she could run without ethernet.
Through a post on the FreeBSD forums, I determined the driver that worked alongside the Edimax 7811Un adapter was
urtwn0. I believe you can also run these in the terminal if you’re still not sure, and it’ll return a driver:
For FreeBSD 10 and under:
ifconfig | grep -B3 -i wireless
For FreeBSD 11 and higher:
Once determined, it was a matter of putting some lines in config files.
/etc/wpa_supplicant.conf, put in:
Where myssid is the name of your network, and mypsk is the password.
urtwn0 is the replaced by the driver that works with your server.
Finally, put the code below in
And because I knew the edimax adapter used a Realtek chip, I added this to the same loader file:
After that, reboot your server OR run
service netif restart.
If everything works correctly, you should be able to
ping google.com or
ping 22.214.171.124 and get responses back.
p.s. I apologize for the lack of code blocks, I'm looking into plugins to get that working.