Skip to content

mdns/zeroconf: unable to reach .local domain from tessel board #226

@boneskull

Description

@boneskull

This affects my code as well, but here's what I get when I attempt to contact any .local device:

root@bloath:~# ping marvin.local
ping: bad address 'marvin.local'
root@bloath:~# ping lectroid.local
ping: bad address 'lectroid.local'
root@bloath:~# ping wight.local
ping: bad address 'wight.local'

(above: marvin.local is a Rasbian board, but I also have another Raspbian board, a Debian board, a OSMC board, and two macOS machines--all of which are unreachable from my t2, bloath)

bloath is not configured as an AP.
bloath is connected to a wifi network.
bloath is not connected via ethernet.

This is not a problem with any other device on my network, e.g.:

boneskull@lectroid ~                                                                           [23:00:00]
> $ ping marvin.local                                                                            ⬡ 7.7.2
PING marvin.local (10.0.0.33): 56 data bytes
64 bytes from 10.0.0.33: icmp_seq=0 ttl=64 time=56.921 ms
64 bytes from 10.0.0.33: icmp_seq=1 ttl=64 time=5.949 ms
64 bytes from 10.0.0.33: icmp_seq=2 ttl=64 time=8.996 ms

This behavior is exhibited after a t2 restore then subsequent t2 update. I haven't monkeyed with any settings.

ping is not the only service affected. As we can see, some devices are advertising ssh services:

root@bloath:~# dns-sd -B _ssh._tcp
Browsing for _ssh._tcp
DATE: ---Fri 10 Mar 2017---
 6:59:47.502  ...STARTING...
Timestamp     A/R    Flags  if Domain               Service Type         Instance Name
 6:59:47.665  Add        2  10 local.               _ssh._tcp.           wight
 6:59:47.767  Add        2  10 local.               _ssh._tcp.           lectroid
 6:59:48.689  Add        2  10 local.               _ssh._tcp.           marvin
 6:59:48.791  Add        2  10 local.               _ssh._tcp.           dp-5482031A

Yet, attempting to ssh to one of them results in:

root@bloath:~# ssh marvin.local

ssh: Exited: Error resolving 'marvin.local' port '22'. Name or service not known

Just so you know I'm actually on the network:

eth0      Link encap:Ethernet  HWaddr 02:A3:4D:B2:5A:96
          inet6 addr: fe80::a3:4dff:feb2:5a96/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1954 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:443268 (432.8 KiB)
          Interrupt:5

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2685 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2685 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:280216 (273.6 KiB)  TX bytes:280216 (273.6 KiB)

wlan0     Link encap:Ethernet  HWaddr 02:A3:4D:B2:5A:96
          inet addr:10.0.0.36  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::a3:4dff:feb2:5a96/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1256 errors:0 dropped:2 overruns:0 frame:0
          TX packets:437 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:201476 (196.7 KiB)  TX bytes:68201 (66.6 KiB)

...and touching marvin.local via IPv4...

root@bloath:/etc# ping 10.0.0.33
PING 10.0.0.33 (10.0.0.33): 56 data bytes
64 bytes from 10.0.0.33: seq=0 ttl=64 time=74.060 ms
64 bytes from 10.0.0.33: seq=1 ttl=64 time=6.200 ms
^C
--- 10.0.0.33 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 6.200/40.130/74.060 ms

and I can get to the internets too:

root@bloath:~# ping google.com
PING google.com (216.58.193.78): 56 data bytes
64 bytes from 216.58.193.78: seq=0 ttl=54 time=29.600 ms
64 bytes from 216.58.193.78: seq=1 ttl=54 time=30.479 ms
^C
--- google.com ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 29.600/30.039/30.479 ms

/tmp/resolv.conf.auto may be helpful:

# Interface wifi
nameserver 10.0.0.1
nameserver 10.0.0.1
search hsd1.or.comcast.net.

10.0.0.1 is an AirPort Extreme 802.11n (2nd Generation).

I've been looking thru the OpenWRT forums for similar issues, but haven't found anything promising. I've tried disabling dnsmasq and randomly fiddling with other settings, to no avail...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions