Hi,
This looks very interesting. Being able to reliable bring up the wireless (and shut it down afterwards) in combination with the Feedbooks downloader would be great.
Unfortunately I ran into a problem: I couldn't bring my wireless connection up.
I think it is because I use WPA encryption. I tried replacing the line:
export COMMAND="$WLAN_SCRIPT start '$1' enc $2"
with:
export COMMAND="$WLAN_SCRIPT start '$1' wpa $2"
but that did not seem to be enough.
My wireless does come up when I manually use:
wireless.sh start MySSID wpa MyPassPhrase
Furthermore my passphrase is shown correctly in the prefered_networks.txt line. (Though that file also contains some empty lines and a line containing "-1").
And my network is shown in the scanned_networks.txt file.
However, when I run the start_network.sh script the last_connection_status.txt file shows:
Starting Network
=====================
No Network Found
I could dig into the script myself, but I figure you know it better.
(Also I haven't setup ssh yet, so testing would be a pain.)
Oh, I do have a feature request:
Opening a small txt file takes ridiculous amount of time, so could you put the network status (connected to .../disconnected) in the name of a file or in a manifest.xml for the last_connection_status.txt file ?
That way it is possible to see the status directly in the content listener.
Thanks.
|