Debugged rewrite on a real RasPi with a wifi device that we know works
already.

Signed-off-by: The Doctor <drwho@virtadpt.net>