
On 13/03/13 11:15, Toby Corkindale wrote:
I spent ages last night getting wireless working on an embedded ARM device. The problem is that the first time wpa_supplicant runs, it can't see any SSIDs, and doesn't get anywhere. The second time it runs, it's all fine. My eventual solution was to create a script that runs wpa_supplicant, waits five seconds, kills it, then runs it again. So, so dirty.
I had a similar problem on an Orinoco card in an old Toshiba Portege (Lucent/Agere Hermes chipset), and had ended up with the same solution as you: a few pre-up stanzas in the network interfaces file to start up wpa_supplicant and kill it after a second. Not nice, but it worked every time. I got hold of a newer version of the the (closed) firmware for the card, but it didn't help. I also messed around with wpa_supplicant, but didn't find a cleaner way to get it to just initialize and exit. Glenn -- sks-keyservers.net 0xb1e82ec9228ac090