Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 28 |
Nodes: | 6 (0 / 6) |
Uptime: | 56:20:24 |
Calls: | 422 |
Files: | 1,025 |
Messages: | 90,789 |
Hi,
On Sun, Apr 27, 2025 at 11:24:25AM +0000, mailinglists.accustom994@aleeas.com wrote:
my issue is before installing debian I was able to ping me other
machine using `ping hostname.local`, but after installing debian
12 I am not able to do that.
Nowhere in your email have you shown to us or described to us what
actually happens when you try to ping one of your other machines.
We can't begin to help without you doing that. Once you've done that
there will likely be further questions, but that's where we start.
Thanks,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting
my issue is before installing debian I was able to ping me other
machine using ```ping hostname.local```, but after installing debian
12 I am not able to do that.
On 4/27/25 09:57, mailinglists.accustom994@aleeas.com wrote:
ping: [hostname].local: Name or service not known. where [hostname] is a placeholder.
Is [hostname].local in /etc/hosts or otherwise findable by DNS?
On 4/27/25 09:57, mailinglists.accustom994@aleeas.com wrote:
Hi,
Sorry I didn't mentioned output in my previous mail. This is output I get when I ping other machine:
ping: [hostname].local: Name or service not known. where [hostname] is a placeholder.
Is [hostname].local in /etc/hosts or otherwise findable by DNS?
On Sun, 27 Apr 2025 13:57:55 +0000
mailinglists.accustom994@aleeas.com wrote:
Sorry I didn't mentioned output in my previous mail. This is output I
get when I ping other machine:
ping: [hostname].local: Name or service not known. where [hostname]
is a placeholder.
No, no. Please show us *exactly* what you see, by copying from the
terminal [...]
Sorry I didn't mentioned output in my previous mail. This is output I
get when I ping other machine:
ping: [hostname].local: Name or service not known. where [hostname]
is a placeholder.
On Sun, Apr 27, 2025 at 09:30:43AM -0600, Charles Curley wrote:
On Sun, 27 Apr 2025 13:57:55 +0000
mailinglists.accustom994@aleeas.com wrote:
Sorry I didn't mentioned output in my previous mail. This is
output I get when I ping other machine:
ping: [hostname].local: Name or service not known. where
[hostname] is a placeholder.
No, no. Please show us *exactly* what you see, by copying from the
terminal [...]
I think by now it is quite probable that the OP is using mDNS and
that is not working. I'd suggest first checking whether there is
any link layer connectivity at all.
To the OP: please show us the output of the commands "ip addr show"
and "ip link show".
On Sun, Apr 27, 2025 at 09:30:43AM -0600, Charles Curley wrote:
On Sun, 27 Apr 2025 13:57:55 +0000
mailinglists.accustom994@aleeas.com wrote:
Sorry I didn't mentioned output in my previous mail. This is output I
get when I ping other machine:
ping: [hostname].local: Name or service not known. where [hostname]
is a placeholder.
No, no. Please show us exactly what you see, by copying from the
terminal [...]
I think by now it is quite probable that the OP is using mDNS and
that is not working. I'd suggest first checking whether there is
any link layer connectivity at all.
To the OP: please show us the output of the commands "ip addr show"
and "ip link show".
Cheers
--
t
Okay so I see why OP was saying so much about mdns and avahi. The
.local hostnames are meant to be autodiscovered, not present in hosts
file or DNS as such, and that's what the mdns4_minimal is for in /etc/nsswitch.conf.
No, [hostname].local is not in /etc/hosts, So does in ubuntu machine.
As far as I know avahi should be resolving these.
Hi,
Here are the output of the cmnds that tomas suggested.
Are you able to ping by IP address instead of host name?
Are you able to resolve the DNS name with dig? dig hostname.local
On Sun, Apr 27, 2025 at 3:33 PM wrote:
Hi,
Here are the output of the cmnds that tomas suggested.
... with all the good stuff elided
Hope that helps.
Not particularly.
Try this:
sudo apt install tshark
sudo tshark -f 'port 5353' -c 4 -N dnt &
ping -c 4 whatever.local
At least for me, it shows the mdns requests being sent and the answers received.
On Sun, Apr 27, 2025 at 04:28:48PM -0400, Lee wrote:
On Sun, Apr 27, 2025 at 3:33 PM wrote:
Hope that helps.
Not particularly.
Try this:
sudo apt install tshark
sudo tshark -f 'port 5353' -c 4 -N dnt &
ping -c 4 whatever.local
At least for me, it shows the mdns requests being sent and the answers received.
The good test again, now in two parts.
With minor changes and additional information.
Part one:
sudo apt install tshark
Part two:
sudo tshark -f 'port 5353 or icmp or arp' -N dnt &
ping -c 4 whatever.local
kill %1
Hi all,
I recently installed Debian on my old desktop, before this it was
running Ubuntu. So my issue is before installing debian I was able to
ping me other machine using ```ping hostname.local```, but after
installing debian 12 I am not able to do that. I am not expert in
computer so kindly help me. If you guys need more info then please ask
me as I don't know all the networking stuff.
On Monday, April 28th, tomas@tuxteam.de wrote:
While it is a good idea to have tshark, we already know that
the OP's machine
- is trying to resolve via mDNS
- that part is failing.
Yeah, Thanks for understanding. There are couple of connection like 0.0.0.0:mdns and [::]:mdns that I can see. I posted in this mailing list to know that whether are there some dependencies not satisfied or I have to check some conf files.
I should have been more clear, I guess. About redacted IPs and mac address, I am not sure I am comfortable posting my public IPs in a forum that is going to be archived. Don't get me wrong I willing to help you guys to help me. But I am not sure howknowing exact ips are helpful. If you guys can tell what you guys are looking for, or share relevant links so that I can lookup.
Do you have a firewall in any computer? mdns uses UDP port 5353 and that would need to be allowed for it to work.
I've generally found mdns to be fairly unreliable, works sometimes and sometimes doesn't. Still, better to have it even as a flaky backup DNS
than no DNS, if actual DNS has issues or is unreachable.
While it is a good idea to have tshark, we already know that
the OP's machine
- is trying to resolve via mDNS
- that part is failing.
... because:
- the interface link seems to be up and sees a connection
- They said pinging by IP works
So the next step would be to find out why mDNS is failing.
You don't fix a bike by heaping tools on it :)
Cheers
--
t
On Monday, April 28th, tomas@tuxteam.de <tomas_at_tuxteam_de_emhokkkkd@simplelogin.co> wrote:
That was my guess. By now I think it is irrelevant, since we
advanced to the mDNS issue. At some point, it'd been interesting
whether yours were IPv4 zeroconf "link-local" addresses, i.e.
in the 169.254.0.0/16 range: I'd bet they are :-)
ip -c a does 192.168.x.x, so
Note that posting such (local, non-routable) addresses is pretty
harmless, since they won't be seen beyond your gateway, and many
of us have some of those at home ;-)
Yeah IP4 was local address but IP6 were global.
That was my guess. By now I think it is irrelevant, since we
advanced to the mDNS issue. At some point, it'd been interesting
whether yours were IPv4 zeroconf "link-local" addresses, i.e.
in the 169.254.0.0/16 range: I'd bet they are :-)
Note that posting such (local, non-routable) addresses is pretty
harmless, since they won't be seen beyond your gateway, and many
of us have some of those at home ;-)
- is trying to resolve via mDNS
How do we know that? Has the OP sent you a private message showing
the mdns requests going out to the network?
If no then I would say we don't know if their machine is trying to do
mdns or not.
On 28/04/2025 20:31, tomas@tuxteam.de wrote:
On Mon, Apr 28, 2025 at 01:12:17PM +0000, mailinglists.accustom994@aleeas.com wrote:
On Monday, April 28th, tomas@tuxteam.de wrote:
At some point, it'd been interesting
whether yours were IPv4 zeroconf "link-local" addresses, i.e.
in the 169.254.0.0/16 range: I'd bet they are :-)
ip -c a does 192.168.x.x, so
I won ;-)
mDNS may work without link-local 192.168.x.y addresses. Perhaps 192.168.x.y addresses may be used without mDNS as well, e.g. with LLMNR. That is why I would consider avahi and avahi-autoipd as independent services. (Strictly speaking, we do not know whether these tools or other ones are responsible for multicast name resolution and assigning a link-local address.)
There is too much uncertainty in respect to network configuration. I am in doubts if 192.168.x.y address is assigned if e.g. DHCP client started by NetworkManager receives response fast enough.
On 28/04/2025 11:20, tomas@tuxteam.de wrote:
While it is a good idea to have tshark, we already *know* that...
the OP's machine
You don't fix a bike by heaping tools on it 🙂
tcpdump output for *mDNS* requests (not for ICMP) may be helpful.
In another branch of this thread "dig" was suggested. It sends DNS, not mDNS requests. mdns4_minimal depends however on a test DNS query. As to mDNS queries,
getent hosts h$RANDOM.local
Or perhaps even (untested since systemd-resolved is responsible for mDNS on my machine)
getent -s mdns4_minimal hosts h$RANDOM.local
I recommend to the topic starter to read docs (on mDNS in general and README files from packages in particular) and logs. It is a way when privacy is crucial. Severely stripped and redacted output of commands adds enough obstacles.