Arduino Yun problem with wifi ethernet

Hi,

I've recently bought an arduino yun, i have followed the arduino's guide in order to connect it to my wifi.
I managed to connect the yun and i was able to get to dariushyun.local (i changed the name of arduino.local) but the next day the yun didn't connect to the wifi and i wasn't able anymore to get to dariushyun.local, i tried the httpclient example but obviously it didn't work but the wifistatus example worked because it said that yun was connected to my wifi with a signal of 70%.
So i used the ethernet cable but sometimes it works other times doesn't.

Thank you in advance
Dariush

http://forum.arduino.cc/index.php?topic=188101.msg1554795#msg1554795
Sorry, long thread.

thank you for the answer, i have already read that thread but it didn't help me

I gave my Yun connected to my existing wifi router a fixed IP. I just use the IP. The "name" of the Yun never seems to work for me. If you can I would recommend using static IP or having the DHCP assign a static IP to the Yun. Then use the IP.

i tried even it by giving the 192.168.1.15 static ip buti it still doesn't work i really don't know how to fix this

Is the Yun in a metal box? Also, how far away is the Yun from the router? Might need external antenna.

wifistatus said that the signal was 60-70% so i think that the yun is close enough the router