Problema con Arduino yun

buongiorno
ieri mi e' arrivata la Yun ed ho effettuato la configurazione con la rete Wireless
Dopo un primo tentativo di accoppiare con Access Point portatile Onda PN51T (non riuscito a causa di un errore
"HT AP is missing WMM params or HT capability/operation in AssocResp")
ho accoppiato la Yun con HotSpot portatile di un telefono Android

tutto e' andato bene e dalla IDE di programmazione sono riuscito a scaricare lo sketch di esempio
dell'HttpClient..connesso sulla seriale virtuale la Yun dava messaggi di non riuscire a connettersi con l'host remoto
(che era attivo e di cui sono amministratore)
dopo di cio' si e' spento il led blu della connessione Wifi e non la Yun e' scomparsa dalla rete Wifi

attualmente la scheda e' programmabile da cavo Usb seriale (l'esempio blink viene caricato correttamente) ma non riesco
a far ripartire il modulo Wifi
Ho provato a premere il pulsante di reset del WiFi o di Linino ma non ho avuto nessun risultato

suggerimenti ???

grazie
Luca

Ciao Luca

Circa il problema con il tuo access point Onda PN51T: è un baco del kernel usato dalla yun. Altri utenti hanno avuto un problema simile [SOLVED] yet another wifi connection problem / Networking, Server, and Protection / Arch Linux Forums
Purtroppo non c'è una soluzione veloce se non usare un altro access point.

Circa il led wifi, quando la Yun si accende, il led blinka per 60 secondi durante i quali aspetta di vedere se la scheda riesce a connettersi al tuo wifi. Dopo 60 secondi, ci rinuncia e si riavvia tornando in modalità access point. E' per questo che l'hai vista scomparire

Circa il messaggio di errore di connessione, tutti gli sketch di esempio tranne quelli il cui nome comincia per "Console" (ConsoleAsciiTable etc) usano Serial e si aspettano che il tuo computer sia connesso alla Yun tramite cavo usb (e che la relativa porta seriale sia selezionata)
Fare il porting dell'esempio affinchè funzioni anche via wifi è semplice: dai un'occhiata all'esempio ConsoleAsciiTable. Di base devi sostituire Serial con Console.

Essendo questo un forum internazionale, per avvantaggiare tutti del supporto fornito qui, ti prego di scrivere in inglese i prossimi messaggi

Now the translation

Regarding the problem with your Onda PN51T access point: it's a bug in the kernel used by the Yun. Other users have a similar issue [SOLVED] yet another wifi connection problem / Networking, Server, and Protection / Arch Linux Forums
Unfortunately there is no workaround but to use another access point

Regarding the wifi led, when the yun powers up, wifi led blinks at most for 60 seconds, until a wifi connection is correctly established with your hotspot. If no connection is available in 60 seconds, the Yun reboots and gets back to Access point mode.

Regarding the connection error message: every sketch but the ones whose name starts with "Console" (ConsoleAsciiText etc) uses Serial and therefore expects you're connected to the Yun via USB (and the appropriate port is selected in the Port menu)
Porting the HTTPClient example so that it works via wifi is easy: take a look at ConsoleAsciiText. Basically you need to replace Serial with Console.

This means that if my wifi is not available for 60 seconds I get into a deadlock situation.
In other words If the wifi is unavailable for 60 seconds when my robot is rebooting my robot will never start again.
Can I configure yun not to do so? I understand the reasoning behind this. But for me I feel I have configured it .... If someone steals it I don't feel like helping them out to get it back on track 8)

Best regards
Jantje

Of course you can. Since you need to edit a file on the yun, I suggest you to connect to the yun with an SSH client or with some serial terminal software like cutecom or putty
Once you are in, edit /etc/rc.local and put a hash at the beginning of line "wifi-live-or-reset" so that it looks like
#wifi-live-or-reset

At next reboot, yun won't bother if wifi is up or down

thanks
done :smiley:

Thanks for the reply
Luca

I understand this.

However, is the Yun continue searching for the wireless network until it can connect to it? If the network is down for one hour, will it connect to it after this hour?

thanks in advance