Thanks, but that command only works if you haven't changed the wifi password away from the factory default. In my case I have a non-default wifi password, but need to be able to do a clean firmware upgrade while being able to connect to the wifi afterwards.