Fix broken parts in wireless setup

Turns out you can't run 'timeout' on a Bash function...