Go Down

Topic: Ip number works but not http://arduino.local ? (Read 14318 times) previous topic - next topic

chrisnet

sonnyyu

I did
Code: [Select]

/etc/init.d/avahi-daemon  restart


But it still did not work

sonnyyu


chrisnet

I have followed your post and have uninstalled Bonjour and reinstalled
I have meet both conditions
Code: [Select]
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
Code: [Select]

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!

sonnyyu

Code: [Select]
ps |grep avahi-daemon

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

chrisnet

#19
Mar 02, 2014, 02:50 am Last Edit: Mar 02, 2014, 02:52 am by chrisnet Reason: 1
When I run "ps |grep avahi-daemon" I get

Code: [Select]

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

second time I got
Code: [Select]

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

sonnyyu

backup.

Code: [Select]
/usr/bin/reset-to-factory-anyway
reboot


at dos console:

Code: [Select]
ipconfig /flushdns
ping arduino.local







chrisnet

Did everything that was suggested
Code: [Select]

/usr/bin/reset-to-factory-anyway
reboot

Ping arduino.local

Code: [Select]

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

C:\Users\chris_000>ipconfig /flushdns

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.

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>

sonnyyu

at DOS console:

Code: [Select]
ipconfig /all

post result here.

Plan C: network packet sniffer.

sonnyyu

Code: [Select]
C:\Users\sonnyyu>ping arduino.local

Code: [Select]
Ping request could not find host arduino.local. Please check the name and try ag
ain.


If I turn off avahi-daemon

Code: [Select]
/etc/init.d/avahi-daemon  stop

turn off local dns cache:

Code: [Select]
ipconfig /release
ipconfig /renew
ipconfig /flushdns


reboot wifi router.

arduino.local [69.16.143.110]  is coming from wifi router's dns cache?


Chagrin

69.16.143.110 is coming from Time Warner Cable; it's the IP they return when their DNS should normally return NXDOMAIN.

chrisnet




at DOS console:

Code: [Select]
ipconfig /all

post result here.

Plan C: network packet sniffer.


Code: [Select]

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

C:\Users\chris_000>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : MadHatter
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : cinci.rr.com

Wireless LAN adapter Wi-Fi:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : lan
   Description . . . . . . . . . . . : Realtek RTL8191SE Wireless LAN 802.11n PC
I-E NIC
   Physical Address. . . . . . . . . : DC-85-DE-A9-C3-E8
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . : cinci.rr.com
   Description . . . . . . . . . . . : Broadcom NetLink (TM) Gigabit Ethernet
   Physical Address. . . . . . . . . : BC-5F-F4-74-04-E3
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::6ca3:ee2e:b876:48ef%3(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.138(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Thursday, February 27, 2014 6:54:08 PM
   Lease Expires . . . . . . . . . . : Monday, March 3, 2014 9:33:44 AM
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : 264003572
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1A-1F-17-68-BC-5F-F4-74-04-E3

   DNS Servers . . . . . . . . . . . : 209.18.47.61
                                       209.18.47.62
                                       192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.cinci.rr.com:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : cinci.rr.com
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 2:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:0:9d38:6abd:10b9:d4d:b579:4637(Prefe
rred)
   Link-local IPv6 Address . . . . . : fe80::10b9:d4d:b579:4637%6(Preferred)
   Default Gateway . . . . . . . . . : ::
   DHCPv6 IAID . . . . . . . . . . . : 100663296
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1A-1F-17-68-BC-5F-F4-74-04-E3

   NetBIOS over Tcpip. . . . . . . . : Disabled

C:\Users\chris_000>

chrisnet


69.16.143.110 is coming from Time Warner Cable; it's the IP they return when their DNS should normally return NXDOMAIN.


So what should I do?

chrisnet

If I unplug my internet cable modem and run at dos
Code: [Select]
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\chris_000>ping arduino.local

Pinging arduino.local [192.168.1.104] with 32 bytes of data:
Reply from 192.168.1.104: bytes=32 time=1ms TTL=64
Reply from 192.168.1.104: bytes=32 time=1ms TTL=64
Reply from 192.168.1.104: bytes=32 time=1ms TTL=64
Reply from 192.168.1.104: bytes=32 time=2ms TTL=64

Ping statistics for 192.168.1.104:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 2ms, Average = 1ms

C:\Users\chris_000>


everything works fine?  But the question would be Why?

sonnyyu

If I use same  DNS server setting as yours, then I got same problem as yours.

Code: [Select]
209.18.47.61
209.18.47.62
192.168.0.1


Code: [Select]
C:\Users\sonnyyu>ping arduino.local

Code: [Select]
Pinging arduino.local [198.105.251.210] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.


If I change DNS server setting to

Code: [Select]
DNS Servers . . . . . . . . . . . : 192.168.0.1
209.18.47.61
209.18.47.62


then every thing is fine.



sonnyyu


Go Up