Ip number works but not http://arduino.local ?

the only way that the Yun will work is to us the IP number! The issue is that I would like to not have to remember my ip number or if I take the Yun to a new location I don't want to have to find look it up so I want to use http://arduino.local but it never woks. Is this a router issue? or a Yun issue?

If I unplug my internet cable from my router it works! So I think its a router issue, can someone give me advice on what settings I should look at in the router?

Windows 8
cisco Linksys E3000 router
Thanks

It is up stream OS-Openwrt's problem, The nss-mdns is missing.

http://forum.arduino.cc/index.php?topic=202577.msg1516167#msg1516167

Download nss-mdns

Sorry, sonnyyu but I do not know how to install this package! The last time I installed anything I used the Arduino-Software install package from the control panel. But the "nss-mdns_0.10-1_ar71xx.ipk" is not in the available packages.

So If I put the package on the sd card how would I install it with putty ?
Thanks

Sonnyyu's answer will let your yun find other devices broadcasting zeroconf info. I think you want to find the yun with your Windows box, if so you need Apple's print services Download Bonjour Print Services for Windows v2.0.2

To answer you present question, you can install a package on your SD card with opkg install /mnt/sd/somepackage.ipk

that's what I did but I get this

root@Arduino:~#  pkg install /mnt/sd/nss-mdns_0.10-1_ar71xx.ipk
-ash: pkg: not found

Oh I forgot that I did a reset and need to install
opkg
Thanks

Ok now I can not log in to the Yun's control panel again!!! I guess I have to reset again what a pain! Is it me or should this thing just work out of the box like the set up file "http://arduino.cc/en/Guide/ArduinoYun#.UxEMPvmwL3s" say's?

Ok sorry for the rant I have been missing with this for days I will reset and try everything again.
If it was not for people helping, I would have just gave up and went to something else.
Thanks for you help.

I have installed "nss-mdns_0.10-1_ar71xx.ipk"
and I have uncomment the line /etc/avahi/avahi-daemon.conf

host-name=arduino
domain-name=local

But that did not work I still can not go to http://arduino.local I have to goto the ip address "192.168.1.103"
But like I said I can unplug the internet cable from the router and it works.

When I ping http://arduino.local I get this

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\chris_000>ping http://arduino.local
Ping request could not find host http://arduino.local. Please check the name and
 try again.

C:\Users\chris_000>
ping arduino.local
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\chris_000>ping arduino.local

Pinging arduino.local [69.16.143.110] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 69.16.143.110:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\Users\chris_000>

Here you can see that the IP is not right it should be 192.168.1.103

arduino.local is defined locally on the Yun (assuredly in /etc/hosts); Windows can't see that.

See http://support.microsoft.com/kb/101927 for how to create name -> IP associations. The entry will look like:

192.168.1.103 arduino.local

After saving the file, I'm not sure how long it takes Windows to refresh its resolutions -- need a Windows expert to chime in there.

@chrisnet
restart service of avahi-daemon:

/etc/init.d/avahi-daemon  restart

http://forum.arduino.cc/index.php?topic=202577.msg1516167#msg1516167

@Chagrin

Arduino's default is DHCP client, every time it could have new IP address.

To make your solution to work, following either condition have to meet:

  • Setup Arduino as static IP
  • If router support mac address IP address binding, then binding static IP with Arduino Mac address

Thank you that worked now I can use arduino.local
If anyone else is interested here is What I did:

go to c\Windows\System32\Drivers\ folder on a Windows computer
right click on folder etc and uncheck "Read-only" then "apply"

In the etc folder you will find file "Host"
right click on "host" choose "Properties"
go to the security's tab
Select edit to change permissions
in the "Group or user names" select the user that you are login as mine is "User (Chris\Users)"
Then in the "permissions for User" check box "Full Control" then -"OK"

Now open "host" with a text editor like wordpad
At the end of the file add
"your arduino IP address" arduino.local
mine is "192.168.1.103 arduino.local"
Save the file

Undo changes to permissions of host file (uncheck "full control and Write")

That's it it takes about a min for it to update then you can use "arduino.local"

sonnyyu:
@Chagrin

Arduino's default is DHCP client, every time it could have new IP address.

To make your solution to work, following either condition have to meet:

  • Setup Arduino as static IP
  • If router support mac address IP address binding, then binding static IP with Arduino Mac address

Yes that would be a problem every time that my router gives a new address I would have to do everything all over again!
Thanks what would be the downside of setting the Arduino as static IP?

sonnyyu

I did

/etc/init.d/avahi-daemon  restart

But it still did not work

Plan B:

http://forum.arduino.cc/index.php?topic=188101.msg1554795#msg1554795

I have followed your post and have uninstalled Bonjour and reinstalled
I have meet both conditions

Yun in IDE Port menu need to meet 2 conditions:
1. Yun Bonjour service is working.
2. Windows' UDP port 5353 is open.

And I can see _arduino._tcp (Arduino) in the Bonjour browser and here is the ping request

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\chris_000>ping arduino.local

Pinging arduino.local [69.16.143.110] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 69.16.143.110:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\Users\chris_000>

And I still can not use http://arduino.local
Is there a plan c or could something be wrong with my Yun?
Thanks again!

 ps |grep avahi-daemon
4708 nobody    2184 S    avahi-daemon: running [arduino.local]
 7085 root      1496 S    grep avahi-daemon

When I run "ps |grep avahi-daemon" I get

root@Arduino:~# ps |grep avahi-daemon
 1543 nobody    2172 S    avahi-daemon: running [Arduino.local]

second time I got

 531 root      1496 S    grep avahi-daemon
 1543 nobody    2172 S    avahi-daemon: running [Arduino.local]

Do I need to edit something? If so what? Thanks